summaryrefslogtreecommitdiff
path: root/examples/opiecore/onotifydemo/onotifydemo.h
Unidiff
Diffstat (limited to 'examples/opiecore/onotifydemo/onotifydemo.h') (more/less context) (ignore whitespace changes)
-rw-r--r--examples/opiecore/onotifydemo/onotifydemo.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/examples/opiecore/onotifydemo/onotifydemo.h b/examples/opiecore/onotifydemo/onotifydemo.h
new file mode 100644
index 0000000..c4e3456
--- a/dev/null
+++ b/examples/opiecore/onotifydemo/onotifydemo.h
@@ -0,0 +1,29 @@
1/* OPIE */
2#include <opie2/olistview.h>
3#include <opie2/odebug.h>
4#include <opie2/oapplication.h>
5#include <opie2/ofilenotify.h>
6
7class QButtonGroup;
8
9class DemoApp : public Opie::Core::OApplication
10{
11 Q_OBJECT
12public:
13 DemoApp( int argc, char** argv );
14
15public:
16 void addTrigger( bool multi = false );
17public slots:
18 void modifierClicked( int modifier );
19 void addSingle();
20 void addMulti();
21 void delTrigger();
22 void trigger();
23
24private:
25 Opie::Ui::OListView* l;
26 QButtonGroup* g1;
27 QButtonGroup* g2;
28 Opie::Core::OFileNotificationType m;
29};