summaryrefslogtreecommitdiff
path: root/noncore/todayplugins/fortune/fortuneplugin.cpp
authorkergoth <kergoth>2002-11-04 00:32:59 (UTC)
committer kergoth <kergoth>2002-11-04 00:32:59 (UTC)
commitdc44b0babe9ffa7b29cc6269596703bab8edf6ab (patch) (unidiff)
treed1a3e10c58737597832b3d34e4fe3173f307c324 /noncore/todayplugins/fortune/fortuneplugin.cpp
parent829eeff0374389891aa88b12fcafffb55f480797 (diff)
downloadopie-dc44b0babe9ffa7b29cc6269596703bab8edf6ab.zip
opie-dc44b0babe9ffa7b29cc6269596703bab8edf6ab.tar.gz
opie-dc44b0babe9ffa7b29cc6269596703bab8edf6ab.tar.bz2
fortune plugin, though it doesnt like me
Diffstat (limited to 'noncore/todayplugins/fortune/fortuneplugin.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/todayplugins/fortune/fortuneplugin.cpp71
1 files changed, 71 insertions, 0 deletions
diff --git a/noncore/todayplugins/fortune/fortuneplugin.cpp b/noncore/todayplugins/fortune/fortuneplugin.cpp
new file mode 100644
index 0000000..9751e6f
--- a/dev/null
+++ b/noncore/todayplugins/fortune/fortuneplugin.cpp
@@ -0,0 +1,71 @@
1/*
2 * fortuneplugin.cpp
3 *
4 * copyright : (c) 2002 by Chris Larson
5 * email : kergoth@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
18
19#include "fortuneplugin.h"
20#include "fortunepluginwidget.h"
21
22
23FortunePlugin::FortunePlugin()
24{
25}
26
27FortunePlugin::~FortunePlugin()
28{
29}
30
31QString FortunePlugin::pluginName() const
32{
33 return QObject::tr( "Fortune plugin" );
34}
35
36double FortunePlugin::versionNumber() const
37{
38 return 0.1;
39}
40
41QString FortunePlugin::pixmapNameWidget() const
42{
43 return "Fortune";
44}
45
46QWidget* FortunePlugin::widget( QWidget *wid )
47{
48 return new FortunePluginWidget( wid, "Fortune" );
49}
50
51QString FortunePlugin::pixmapNameConfig() const
52{
53 return "Fortune";
54}
55
56TodayConfigWidget* FortunePlugin::configWidget( QWidget* wid )
57{
58// return new FortunePluginConfig( wid , "Fortune" );
59 return NULL;
60}
61
62QString FortunePlugin::appName() const
63{
64 return "fortune";
65}
66
67
68bool FortunePlugin::excludeFromRefresh() const
69{
70 return false;
71}