author | harlekin <harlekin> | 2004-02-03 22:25:41 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2004-02-03 22:25:41 (UTC) |
commit | 8a796b594669c54a34b2e416ff0d931aaa3cc76d (patch) (unidiff) | |
tree | 9e8465a881932a2c3da9ca9018bb2fcbc346b163 /examples/todayplugin/examplepluginwidget.h | |
parent | ca3580f98de6e68cc595234859691df997b60a98 (diff) | |
download | opie-8a796b594669c54a34b2e416ff0d931aaa3cc76d.zip opie-8a796b594669c54a34b2e416ff0d931aaa3cc76d.tar.gz opie-8a796b594669c54a34b2e416ff0d931aaa3cc76d.tar.bz2 |
today example plugin
Diffstat (limited to 'examples/todayplugin/examplepluginwidget.h') (more/less context) (show whitespace changes)
-rw-r--r-- | examples/todayplugin/examplepluginwidget.h | 44 |
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 @@ | |||
1 | /* | ||
2 | * examplepluginwidget.h | ||
3 | * | ||
4 | * copyright : (c) 2004 by Maximilian Reiß | ||
5 | * email : harlekin@handhelds.org | ||
6 | * | ||
7 | */ | ||
8 | /*************************************************************************** | ||
9 | * * | ||
10 | * This program is free software; you can redistribute it and/or modify * | ||
11 | * it under the terms of the GNU General Public License as published by * | ||
12 | * the Free Software Foundation; either version 2 of the License, or * | ||
13 | * (at your option) any later version. * | ||
14 | * * | ||
15 | ***************************************************************************/ | ||
16 | |||
17 | #ifndef EXAMPLE_PLUGIN_WIDGET_H | ||
18 | #define EXAMPLE_PLUGIN_WIDGET_H | ||
19 | |||
20 | #include <qlayout.h> | ||
21 | |||
22 | #include <opie/oclickablelabel.h> | ||
23 | |||
24 | class ExamplePluginWidget : public QWidget { | ||
25 | |||
26 | Q_OBJECT | ||
27 | |||
28 | public: | ||
29 | ExamplePluginWidget( QWidget *parent, const char *name ); | ||
30 | ~ExamplePluginWidget(); | ||
31 | |||
32 | void refresh(); | ||
33 | |||
34 | private slots: | ||
35 | void slotClicked(); | ||
36 | |||
37 | private: | ||
38 | OClickableLabel* m_exampleLabel; | ||
39 | QHBoxLayout* m_layout; | ||
40 | void readConfig(); | ||
41 | void getInfo(); | ||
42 | }; | ||
43 | |||
44 | #endif | ||