author | zecke <zecke> | 2004-09-12 20:28:36 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-09-12 20:28:36 (UTC) |
commit | 90aaa298cc69522e88e1f81ade7d5259131b1544 (patch) (unidiff) | |
tree | 86bdb0a2bb94938754ba94f2ded9dc6ec5fb5207 /noncore/todayplugins | |
parent | 00952f16786dcd069820e45df83a00b6c477893b (diff) | |
download | opie-90aaa298cc69522e88e1f81ade7d5259131b1544.zip opie-90aaa298cc69522e88e1f81ade7d5259131b1544.tar.gz opie-90aaa298cc69522e88e1f81ade7d5259131b1544.tar.bz2 |
Follow the defined Ownership and have a maybe not needed
sanity check
-rw-r--r-- | noncore/todayplugins/fortune/fortuneplugin.cpp | 2 | ||||
-rw-r--r-- | noncore/todayplugins/fortune/fortuneplugin.h | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/noncore/todayplugins/fortune/fortuneplugin.cpp b/noncore/todayplugins/fortune/fortuneplugin.cpp index 69d2c45..4461219 100644 --- a/noncore/todayplugins/fortune/fortuneplugin.cpp +++ b/noncore/todayplugins/fortune/fortuneplugin.cpp | |||
@@ -53,13 +53,13 @@ QString FortunePlugin::pixmapNameConfig() const | |||
53 | return "Fortune"; | 53 | return "Fortune"; |
54 | } | 54 | } |
55 | 55 | ||
56 | TodayConfigWidget* FortunePlugin::configWidget( QWidget* /*wid*/ ) | 56 | TodayConfigWidget* FortunePlugin::configWidget( QWidget* /*wid*/ ) |
57 | { | 57 | { |
58 | // return new FortunePluginConfig( wid , "Fortune" ); | 58 | // return new FortunePluginConfig( wid , "Fortune" ); |
59 | return NULL; | 59 | return 0l; |
60 | } | 60 | } |
61 | 61 | ||
62 | QString FortunePlugin::appName() const | 62 | QString FortunePlugin::appName() const |
63 | { | 63 | { |
64 | return "fortune"; | 64 | return "fortune"; |
65 | } | 65 | } |
diff --git a/noncore/todayplugins/fortune/fortuneplugin.h b/noncore/todayplugins/fortune/fortuneplugin.h index 9b590ad..91bd981 100644 --- a/noncore/todayplugins/fortune/fortuneplugin.h +++ b/noncore/todayplugins/fortune/fortuneplugin.h | |||
@@ -17,15 +17,12 @@ | |||
17 | #ifndef FORTUNE_PLUGIN_H | 17 | #ifndef FORTUNE_PLUGIN_H |
18 | #define FORTUNE_PLUGIN_H | 18 | #define FORTUNE_PLUGIN_H |
19 | 19 | ||
20 | #include <opie2/oclickablelabel.h> | 20 | #include <opie2/oclickablelabel.h> |
21 | #include <opie2/todayplugininterface.h> | 21 | #include <opie2/todayplugininterface.h> |
22 | 22 | ||
23 | #include <qstring.h> | ||
24 | #include <qwidget.h> | ||
25 | |||
26 | class FortunePlugin : public TodayPluginObject | 23 | class FortunePlugin : public TodayPluginObject |
27 | { | 24 | { |
28 | 25 | ||
29 | public: | 26 | public: |
30 | FortunePlugin(); | 27 | FortunePlugin(); |
31 | ~FortunePlugin(); | 28 | ~FortunePlugin(); |