src/hbcore/gui/hbmenu.h
changeset 30 80e4d18b72f5
parent 5 627c4a0fd0e7
equal deleted inserted replaced
28:b7da29130b0e 30:80e4d18b72f5
    75 
    75 
    76     enum { Type = Hb::ItemType_Menu };
    76     enum { Type = Hb::ItemType_Menu };
    77     int type() const { return Type; }
    77     int type() const { return Type; }
    78     QPainterPath shape() const;
    78     QPainterPath shape() const;
    79 
    79 
       
    80     void setPreferredPos(const QPointF& position,
       
    81                           HbPopup::Placement placement = HbPopup::BottomEdgeCenter);
       
    82 
    80 public slots:
    83 public slots:
    81     void open(QObject *receiver = 0, const char *member = 0);
    84     void open(QObject *receiver = 0, const char *member = 0);
    82 
    85 
    83 signals:
    86 signals:
    84     void triggered(HbAction *action);
    87     void triggered(HbAction *action);