diff -r 7516d6d86cf5 -r ed14f46c0e55 src/hbcore/gui/hbtoolbar.h --- a/src/hbcore/gui/hbtoolbar.h Mon Oct 04 17:49:30 2010 +0300 +++ b/src/hbcore/gui/hbtoolbar.h Mon Oct 18 18:23:13 2010 +0300 @@ -64,6 +64,8 @@ void setOrientation(Qt::Orientation orientation); protected: + friend class HbView; + HbToolBar( HbToolBarPrivate &dd, QGraphicsItem *parent = 0 ); QVariant itemChange( GraphicsItemChange change, const QVariant &value );