summaryrefslogtreecommitdiff
path: root/examples/opiecore/onotifydemo/onotifydemo.h
Side-by-side diff
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 @@
+/* OPIE */
+#include <opie2/olistview.h>
+#include <opie2/odebug.h>
+#include <opie2/oapplication.h>
+#include <opie2/ofilenotify.h>
+
+class QButtonGroup;
+
+class DemoApp : public Opie::Core::OApplication
+{
+ Q_OBJECT
+public:
+ DemoApp( int argc, char** argv );
+
+public:
+ void addTrigger( bool multi = false );
+public slots:
+ void modifierClicked( int modifier );
+ void addSingle();
+ void addMulti();
+ void delTrigger();
+ void trigger();
+
+private:
+ Opie::Ui::OListView* l;
+ QButtonGroup* g1;
+ QButtonGroup* g2;
+ Opie::Core::OFileNotificationType m;
+};