author | mickeyl <mickeyl> | 2004-01-15 15:50:38 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-01-15 15:50:38 (UTC) |
commit | 53fa609d585216173c834cd1f22678a087394cde (patch) (unidiff) | |
tree | 750759ec9a94326fc68e3ae573350c47b7aa52fe /libopie2/examples/opieui/owidgetstack_example/owidgetstack_example.h | |
parent | 84bb8c9046007fe2adfaa016aded88b961c65e62 (diff) | |
download | opie-53fa609d585216173c834cd1f22678a087394cde.zip opie-53fa609d585216173c834cd1f22678a087394cde.tar.gz opie-53fa609d585216173c834cd1f22678a087394cde.tar.bz2 |
- add oapplicationfactory to opiecore
- add big screen examples
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.h | 28 |
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 | |||
11 | using namespace Opie; | ||
12 | |||
13 | class StackExample : public QMainWindow { | ||
14 | Q_OBJECT | ||
15 | public: | ||
16 | StackExample( QWidget* paren, const char* name, WFlags fl ); | ||
17 | ~StackExample(); | ||
18 | static QString appName() { return QString::fromLatin1("owidgetstack-example"); } | ||
19 | |||
20 | protected: | ||
21 | void closeEvent( QCloseEvent* e ); | ||
22 | private: | ||
23 | OWidgetStack* m_stack; | ||
24 | QWidget* m_main; | ||
25 | |||
26 | }; | ||
27 | |||
28 | #endif | ||