src/hbcore/gui/hbtoolbar.h
changeset 2 06ff229162e9
parent 1 f7ac710697a9
child 5 627c4a0fd0e7
equal deleted inserted replaced
1:f7ac710697a9 2:06ff229162e9
    37 
    37 
    38 class HB_CORE_EXPORT HbToolBar : public HbWidget
    38 class HB_CORE_EXPORT HbToolBar : public HbWidget
    39 {
    39 {
    40     Q_OBJECT
    40     Q_OBJECT
    41 
    41 
    42     Q_PROPERTY( Qt::Orientation orientation READ orientation WRITE setOrientation RESET unsetOrientation )
    42     Q_PROPERTY( Qt::Orientation orientation READ orientation WRITE setOrientation)
    43 
    43 
    44 public:
    44 public:
    45     explicit HbToolBar( QGraphicsItem *parent = 0 );
    45     explicit HbToolBar( QGraphicsItem *parent = 0 );
    46     virtual ~HbToolBar();
    46     virtual ~HbToolBar();
    47 
    47 
    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 public slots:
    63 public slots:
    64     void setOrientation(Qt::Orientation orientation);
    64     void setOrientation(Qt::Orientation orientation);
    65     void unsetOrientation();
       
    66 
    65 
    67 protected:
    66 protected:
    68     HbToolBar( HbToolBarPrivate &dd, QGraphicsItem *parent = 0 );
    67     HbToolBar( HbToolBarPrivate &dd, QGraphicsItem *parent = 0 );
    69 
    68 
    70     QVariant itemChange( GraphicsItemChange change, const QVariant &value );
    69     QVariant itemChange( GraphicsItemChange change, const QVariant &value );