summaryrefslogtreecommitdiff
path: root/examples/todayplugin/examplepluginwidget.h
Side-by-side diff
Diffstat (limited to 'examples/todayplugin/examplepluginwidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r--examples/todayplugin/examplepluginwidget.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/examples/todayplugin/examplepluginwidget.h b/examples/todayplugin/examplepluginwidget.h
new file mode 100644
index 0000000..c94d2cf
--- a/dev/null
+++ b/examples/todayplugin/examplepluginwidget.h
@@ -0,0 +1,44 @@
+/*
+ * examplepluginwidget.h
+ *
+ * copyright : (c) 2004 by Maximilian Reiß
+ * email : harlekin@handhelds.org
+ *
+ */
+/***************************************************************************
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ ***************************************************************************/
+
+#ifndef EXAMPLE_PLUGIN_WIDGET_H
+#define EXAMPLE_PLUGIN_WIDGET_H
+
+#include <qlayout.h>
+
+#include <opie/oclickablelabel.h>
+
+class ExamplePluginWidget : public QWidget {
+
+ Q_OBJECT
+
+public:
+ ExamplePluginWidget( QWidget *parent, const char *name );
+ ~ExamplePluginWidget();
+
+ void refresh();
+
+private slots:
+ void slotClicked();
+
+private:
+ OClickableLabel* m_exampleLabel;
+ QHBoxLayout* m_layout;
+ void readConfig();
+ void getInfo();
+};
+
+#endif