--- a/videocollection/tsrc/stubs/inc/hbmessagebox.h Fri Jul 23 11:10:06 2010 +0300
+++ b/videocollection/tsrc/stubs/inc/hbmessagebox.h Fri Aug 06 09:43:48 2010 +0300
@@ -30,8 +30,12 @@
class HbMessageBox : public QObject
{
Q_OBJECT
+
+ Q_FLAGS(StandardButton StandardButtons)
+ Q_ENUMS(MessageBoxType StandardButton)
public:
+
enum MessageBoxType {
MessageTypeInformation,
MessageTypeQuestion,
@@ -56,7 +60,7 @@
};
Q_DECLARE_FLAGS(StandardButtons, StandardButton)
-
+
HbMessageBox(MessageBoxType type = MessageTypeInformation, QGraphicsItem *parent = 0);
HbMessageBox(const QString &text, MessageBoxType type = MessageTypeInformation, QGraphicsItem *parent = 0);
~HbMessageBox();
@@ -111,4 +115,6 @@
};
+Q_DECLARE_OPERATORS_FOR_FLAGS(HbMessageBox::StandardButtons)
+
#endif // HBMESSAGEBOX_H