summaryrefslogtreecommitdiffstats
path: root/examples/widgets/symbianvibration/mainwindow.h
diff options
context:
space:
mode:
authorDavid Boddie <david.boddie@nokia.com>2011-05-11 17:35:46 +0200
committerDavid Boddie <david.boddie@nokia.com>2011-05-23 14:24:07 +0200
commit0cbcc61ef35b9bce1d65d048853c79004b755b87 (patch)
tree0e10f00827d9d3b84862e371d163f1b2774ee996 /examples/widgets/symbianvibration/mainwindow.h
parent0748751c9f097d9d866605306bbdd4b96e2a5c4e (diff)
Squashed commit of changes from the 4.8-temp branch.
Diffstat (limited to 'examples/widgets/symbianvibration/mainwindow.h')
-rw-r--r--examples/widgets/symbianvibration/mainwindow.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/examples/widgets/symbianvibration/mainwindow.h b/examples/widgets/symbianvibration/mainwindow.h
new file mode 100644
index 0000000000..cc77f7bd29
--- /dev/null
+++ b/examples/widgets/symbianvibration/mainwindow.h
@@ -0,0 +1,23 @@
+#ifndef MAINWINDOW_H
+#define MAINWINDOW_H
+
+#include <QtGui/QMainWindow>
+class XQVibra;
+
+//! [0]
+class MainWindow : public QMainWindow
+{
+ Q_OBJECT
+
+public:
+ MainWindow(QWidget *parent = 0);
+
+private slots:
+ void vibrate();
+
+private:
+ XQVibra *vibra;
+};
+//! [0]
+
+#endif // MAINWINDOW_H