summaryrefslogtreecommitdiff
path: root/libopie2/examples/opieui/owidgetstack_example/owidgetstack_example.h
Unidiff
Diffstat (limited to 'libopie2/examples/opieui/owidgetstack_example/owidgetstack_example.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/examples/opieui/owidgetstack_example/owidgetstack_example.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/libopie2/examples/opieui/owidgetstack_example/owidgetstack_example.h b/libopie2/examples/opieui/owidgetstack_example/owidgetstack_example.h
new file mode 100644
index 0000000..aea85cb
--- a/dev/null
+++ b/libopie2/examples/opieui/owidgetstack_example/owidgetstack_example.h
@@ -0,0 +1,28 @@
1/*
2 * You may use, modify and distribute this example without any limitation
3 */
4
5#ifndef O_STACK_EXAMPLE_SIMPLE_H
6#define O_STACK_EXAMPLE_SIMPLE_H
7
8#include <qmainwindow.h>
9#include <opie2/owidgetstack.h>
10
11using namespace Opie;
12
13class StackExample : public QMainWindow {
14 Q_OBJECT
15public:
16 StackExample( QWidget* paren, const char* name, WFlags fl );
17 ~StackExample();
18 static QString appName() { return QString::fromLatin1("owidgetstack-example"); }
19
20protected:
21 void closeEvent( QCloseEvent* e );
22private:
23 OWidgetStack* m_stack;
24 QWidget* m_main;
25
26};
27
28#endif