Diffstat (limited to 'libopie/big-screen/example/owidgetstack_example.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie/big-screen/example/owidgetstack_example.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/libopie/big-screen/example/owidgetstack_example.h b/libopie/big-screen/example/owidgetstack_example.h new file mode 100644 index 0000000..7977b48 --- a/dev/null +++ b/libopie/big-screen/example/owidgetstack_example.h @@ -0,0 +1,27 @@ +/* + * You may use, modify and distribute this example without any limitation + */ + +#ifndef O_STACK_EXAMPLE_SIMPLE_H +#define O_STACK_EXAMPLE_SIMPLE_H + +#include <qmainwindow.h> + + +class OWidgetStack; +class StackExample : public QMainWindow { + Q_OBJECT +public: + StackExample( QWidget* paren, const char* name, WFlags fl ); + ~StackExample(); + static QString appName() { return QString::fromLatin1("owidgetstack-example"); } + +protected: + void closeEvent( QCloseEvent* e ); +private: + OWidgetStack* m_stack; + QWidget* m_main; + +}; + +#endif |