src/hbcore/gui/hbtoolbar.h
changeset 5 627c4a0fd0e7
parent 2 06ff229162e9
child 6 c3690ec91ef8
equal deleted inserted replaced
3:11d3954df52a 5:627c4a0fd0e7
    58 
    58 
    59     void updatePrimitives();
    59     void updatePrimitives();
    60     enum { Type = Hb::ItemType_ToolBar };
    60     enum { Type = Hb::ItemType_ToolBar };
    61     int type() const { return Type; }
    61     int type() const { return Type; }
    62 
    62 
       
    63     QRectF boundingRect() const;
       
    64 
    63 public slots:
    65 public slots:
    64     void setOrientation(Qt::Orientation orientation);
    66     void setOrientation(Qt::Orientation orientation);
    65 
    67 
    66 protected:
    68 protected:
    67     HbToolBar( HbToolBarPrivate &dd, QGraphicsItem *parent = 0 );
    69     HbToolBar( HbToolBarPrivate &dd, QGraphicsItem *parent = 0 );
    70     void gestureEvent(QGestureEvent *event);
    72     void gestureEvent(QGestureEvent *event);
    71     void changeEvent( QEvent *event );
    73     void changeEvent( QEvent *event );
    72     void resizeEvent( QGraphicsSceneResizeEvent *event );
    74     void resizeEvent( QGraphicsSceneResizeEvent *event );
    73     void hideEvent(QHideEvent *event);
    75     void hideEvent(QHideEvent *event);
    74     bool event( QEvent *event );
    76     bool event( QEvent *event );
       
    77     virtual void polish(HbStyleParameters &params);
    75 
    78 
    76 private:
    79 private:
    77     Q_DECLARE_PRIVATE_D( d_ptr, HbToolBar )
    80     Q_DECLARE_PRIVATE_D( d_ptr, HbToolBar )
    78     Q_DISABLE_COPY(HbToolBar)
    81     Q_DISABLE_COPY(HbToolBar)
    79 
    82