aboutsummaryrefslogtreecommitdiff
path: root/demos/widgetsgallery/multipleselectiondialogspage.h
diff options
context:
space:
mode:
Diffstat (limited to 'demos/widgetsgallery/multipleselectiondialogspage.h')
-rw-r--r--demos/widgetsgallery/multipleselectiondialogspage.h55
1 files changed, 55 insertions, 0 deletions
diff --git a/demos/widgetsgallery/multipleselectiondialogspage.h b/demos/widgetsgallery/multipleselectiondialogspage.h
new file mode 100644
index 00000000..46745da6
--- /dev/null
+++ b/demos/widgetsgallery/multipleselectiondialogspage.h
@@ -0,0 +1,55 @@
+/***************************************************************************
+**
+** 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 MULTIPLESELECTIONDIALOGSPAGE_H
+#define MULTIPLESELECTIONDIALOGSPAGE_H
+
+#include "templatepage.h"
+
+#include <QModelIndex>
+#include <QPointer>
+
+class MDialog;
+class MList;
+
+class MultipleSelectionDialogsPage : public TemplatePage
+{
+ Q_OBJECT
+
+public:
+ MultipleSelectionDialogsPage();
+
+ QString timedemoTitle();
+
+ void createContent();
+ void populateLayout();
+
+ void openQuestionDialog();
+
+private Q_SLOTS:
+ void itemClicked(const QModelIndex &index);
+
+private:
+ MLinearLayoutPolicy *policy;
+ MList *list;
+
+ QPointer<MDialog> dialog;
+};
+
+#endif // MULTIPLESELECTIONDIALOGSPAGE_H