From 555b999359a5aad999eaaf48632ce85f25125b85 Mon Sep 17 00:00:00 2001 From: mickeyl Date: Sat, 29 Jan 2005 14:18:51 +0000 Subject: examples appear here --- (limited to 'examples/opieui/owidgetstack_example/owidgetstack_example.h') diff --git a/examples/opieui/owidgetstack_example/owidgetstack_example.h b/examples/opieui/owidgetstack_example/owidgetstack_example.h new file mode 100644 index 0000000..c9b70cb --- a/dev/null +++ b/examples/opieui/owidgetstack_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 +#include + + +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: + Opie::Ui::OWidgetStack* m_stack; + QWidget* m_main; + +}; + +#endif -- cgit v0.9.0.2