summaryrefslogtreecommitdiff
path: root/libopie2/examples/opieui/owidgetstack_example/owidgetstack_example.h
blob: aea85cbfbb921f99b127fb9a519152191d511538 (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
28
/*
 * 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>

using namespace Opie;

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