summaryrefslogtreecommitdiff
path: root/noncore/todayplugins/fortune
Unidiff
Diffstat (limited to 'noncore/todayplugins/fortune') (more/less context) (show whitespace changes)
-rw-r--r--noncore/todayplugins/fortune/fortuneplugin.cpp2
-rw-r--r--noncore/todayplugins/fortune/fortuneplugin.h3
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
@@ -47,25 +47,25 @@ QWidget* FortunePlugin::widget( QWidget *wid )
47{ 47{
48 return new FortunePluginWidget( wid, "Fortune" ); 48 return new FortunePluginWidget( wid, "Fortune" );
49} 49}
50 50
51QString FortunePlugin::pixmapNameConfig() const 51QString FortunePlugin::pixmapNameConfig() const
52{ 52{
53 return "Fortune"; 53 return "Fortune";
54} 54}
55 55
56TodayConfigWidget* FortunePlugin::configWidget( QWidget* /*wid*/ ) 56TodayConfigWidget* 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
62QString FortunePlugin::appName() const 62QString FortunePlugin::appName() const
63{ 63{
64 return "fortune"; 64 return "fortune";
65} 65}
66 66
67 67
68bool FortunePlugin::excludeFromRefresh() const 68bool FortunePlugin::excludeFromRefresh() const
69{ 69{
70 return false; 70 return false;
71} 71}
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
@@ -11,27 +11,24 @@
11 * it under the terms of the GNU General Public License as published by * 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 * 12 * the Free Software Foundation; either version 2 of the License, or *
13 * (at your option) any later version. * 13 * (at your option) any later version. *
14 * * 14 * *
15 ***************************************************************************/ 15 ***************************************************************************/
16 16
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
26class FortunePlugin : public TodayPluginObject 23class FortunePlugin : public TodayPluginObject
27{ 24{
28 25
29public: 26public:
30 FortunePlugin(); 27 FortunePlugin();
31 ~FortunePlugin(); 28 ~FortunePlugin();
32 29
33 QString pluginName() const; 30 QString pluginName() const;
34 double versionNumber() const; 31 double versionNumber() const;
35 QString pixmapNameWidget() const; 32 QString pixmapNameWidget() const;
36 QWidget* widget( QWidget * ); 33 QWidget* widget( QWidget * );
37 QString pixmapNameConfig() const; 34 QString pixmapNameConfig() const;