summaryrefslogtreecommitdiff
path: root/examples/opieui/owidgetstack_example/owidgetstack_example.h
blob: c9b70cb449733dca0d7783cf5bd019b9bd4c5327 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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>
#include <opie2/owidgetstack.h>


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