src/hbwidgets/popups/hbmessagebox.h
changeset 21 4633027730f5
parent 6 c3690ec91ef8
child 23 e6ad4ef83b23
equal deleted inserted replaced
7:923ff622b8b9 21:4633027730f5
    97                             const QString &primaryButtonText = tr("Yes"),
    97                             const QString &primaryButtonText = tr("Yes"),
    98                             const QString &secondaryButtonText = tr("No"),
    98                             const QString &secondaryButtonText = tr("No"),
    99                             QGraphicsWidget *headWidget = 0,
    99                             QGraphicsWidget *headWidget = 0,
   100                             QGraphicsScene *scene = 0,
   100                             QGraphicsScene *scene = 0,
   101                             QGraphicsItem *parent = 0 );
   101                             QGraphicsItem *parent = 0 );
   102 	 
   102      
   103     static void information(const QString &informationText,
   103     static void information(const QString &informationText,
   104                             QObject *receiver = 0,
   104                             QObject *receiver = 0,
   105                             const char *member = 0,
   105                             const char *member = 0,
   106                             QGraphicsWidget *headWidget = 0,
   106                             QGraphicsWidget *headWidget = 0,
   107                             QGraphicsScene *scene = 0,
   107                             QGraphicsScene *scene = 0,
   119                             const char *member,
   119                             const char *member,
   120                             HbMessageBox::StandardButtons buttons,
   120                             HbMessageBox::StandardButtons buttons,
   121                             QGraphicsWidget *headingWidget = 0,
   121                             QGraphicsWidget *headingWidget = 0,
   122                             QGraphicsScene *scene = 0,
   122                             QGraphicsScene *scene = 0,
   123                             QGraphicsItem *parent = 0);
   123                             QGraphicsItem *parent = 0);
   124 	 
   124      
   125     static void information(const QString &informationText,
   125     static void information(const QString &informationText,
   126                             QObject *receiver,
   126                             QObject *receiver,
   127                             const char *member,
   127                             const char *member,
   128                             HbMessageBox::StandardButtons buttons ,
   128                             HbMessageBox::StandardButtons buttons ,
   129                             QGraphicsWidget *headingWidget=0,
   129                             QGraphicsWidget *headingWidget=0,
   147 
   147 
   148 private:
   148 private:
   149     Q_PRIVATE_SLOT(d_func(), void _q_buttonClicked())
   149     Q_PRIVATE_SLOT(d_func(), void _q_buttonClicked())
   150     Q_DECLARE_PRIVATE_D(d_ptr, HbMessageBox)
   150     Q_DECLARE_PRIVATE_D(d_ptr, HbMessageBox)
   151     Q_DISABLE_COPY(HbMessageBox)    
   151     Q_DISABLE_COPY(HbMessageBox)    
   152 	
   152     
   153 };
   153 };
   154 Q_DECLARE_OPERATORS_FOR_FLAGS(HbMessageBox::StandardButtons)
   154 Q_DECLARE_OPERATORS_FOR_FLAGS(HbMessageBox::StandardButtons)
   155 
   155 
   156 #endif // HB_MESSAGEBOX_H
   156 #endif // HB_MESSAGEBOX_H
   157 
   157