aboutsummaryrefslogtreecommitdiff
path: root/demos/widgetsgallery/bubblepage.h
diff options
context:
space:
mode:
authorJörgen Scheibengruber <jorgen.scheibengruber@nokia.com>2010-06-02 17:27:26 +0300
committerJörgen Scheibengruber <jorgen.scheibengruber@nokia.com>2010-06-02 17:27:26 +0300
commit74cd4f40bd629ab2782f518234ebf3bceecd0f22 (patch)
tree523d11e3c998d7efa7e2c5e0123855413b14fb35 /demos/widgetsgallery/bubblepage.h
parent86322ab7fa72e32f8830b7cb23dfb5c1de988f58 (diff)
parentdd9a00977c21f19291b5ff2f87a39e1f5a8df77d (diff)
Merge branch 'master' of gitorious.org:maemo-6-ui-framework/libdui0.20.14-1
Diffstat (limited to 'demos/widgetsgallery/bubblepage.h')
-rw-r--r--demos/widgetsgallery/bubblepage.h51
1 files changed, 51 insertions, 0 deletions
diff --git a/demos/widgetsgallery/bubblepage.h b/demos/widgetsgallery/bubblepage.h
new file mode 100644
index 00000000..ee8f3851
--- /dev/null
+++ b/demos/widgetsgallery/bubblepage.h
@@ -0,0 +1,51 @@
+/***************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (directui@nokia.com)
+**
+** This file is part of libmeegotouch.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at directui@nokia.com.
+**
+** This library is free software; you can redistribute it and/or
+** modify it under the terms of the GNU Lesser General Public
+** License version 2.1 as published by the Free Software Foundation
+** and appearing in the file LICENSE.LGPL included in the packaging
+** of this file.
+**
+****************************************************************************/
+
+#ifndef BUBBLEPAGE_H
+#define BUBBLEPAGE_H
+
+#include "templatepage.h"
+
+#include <QPointer>
+
+class MMessageBox;
+
+class BubblePage: public TemplatePage
+{
+ Q_OBJECT
+
+public:
+ BubblePage();
+ virtual ~BubblePage();
+
+ virtual void createContent();
+ virtual QString timedemoTitle();
+
+protected Q_SLOTS:
+ void bubbleLinkActivated(QString url);
+ void speechBubbleClicked();
+
+protected:
+ void retranslateUi();
+
+private:
+ QPointer<MMessageBox> messageBox;
+};
+
+#endif