author | harlekin <harlekin> | 2002-09-17 09:36:43 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-09-17 09:36:43 (UTC) |
commit | 03abe825f26678c34142e14f93cabd8f097d5bea (patch) (unidiff) | |
tree | 39ea534ae903bf7699237dc8d19c4f34d955c0bf /core/pim/today/plugins/datebook | |
parent | 537aee09b7df89a166debf5ffd14286cbb636898 (diff) | |
download | opie-03abe825f26678c34142e14f93cabd8f097d5bea.zip opie-03abe825f26678c34142e14f93cabd8f097d5bea.tar.gz opie-03abe825f26678c34142e14f93cabd8f097d5bea.tar.bz2 |
some changes
Diffstat (limited to 'core/pim/today/plugins/datebook') (more/less context) (ignore whitespace changes)
4 files changed, 6 insertions, 12 deletions
diff --git a/core/pim/today/plugins/datebook/datebookplugin.cpp b/core/pim/today/plugins/datebook/datebookplugin.cpp index d2a73df..9800e61 100644 --- a/core/pim/today/plugins/datebook/datebookplugin.cpp +++ b/core/pim/today/plugins/datebook/datebookplugin.cpp | |||
@@ -18,17 +18,12 @@ | |||
18 | 18 | ||
19 | #include "datebookevent.h" | 19 | #include "datebookevent.h" |
20 | #include "datebookplugin.h" | 20 | #include "datebookplugin.h" |
21 | #include "datebookpluginwidget.h" | 21 | #include "datebookpluginwidget.h" |
22 | #include "datebookpluginconfig.h" | 22 | #include "datebookpluginconfig.h" |
23 | 23 | ||
24 | #include "../../configwidget.h" | ||
25 | |||
26 | #include <qpe/timestring.h> | ||
27 | #include <qpe/config.h> | ||
28 | |||
29 | 24 | ||
30 | DatebookPlugin::DatebookPlugin() { | 25 | DatebookPlugin::DatebookPlugin() { |
31 | } | 26 | } |
32 | 27 | ||
33 | DatebookPlugin::~DatebookPlugin() { | 28 | DatebookPlugin::~DatebookPlugin() { |
34 | } | 29 | } |
@@ -67,7 +62,8 @@ int DatebookPlugin::minHeight() const { | |||
67 | 62 | ||
68 | int DatebookPlugin::maxHeight() const { | 63 | int DatebookPlugin::maxHeight() const { |
69 | return 100; | 64 | return 100; |
70 | } | 65 | } |
71 | 66 | ||
72 | 67 | ||
73 | 68 | int main() { | |
69 | } | ||
diff --git a/core/pim/today/plugins/datebook/datebookplugin.h b/core/pim/today/plugins/datebook/datebookplugin.h index f2c4446..61dc9f3 100644 --- a/core/pim/today/plugins/datebook/datebookplugin.h +++ b/core/pim/today/plugins/datebook/datebookplugin.h | |||
@@ -17,13 +17,12 @@ | |||
17 | #ifndef DATEBOOK_PLUGIN_H | 17 | #ifndef DATEBOOK_PLUGIN_H |
18 | #define DATEBOOK_PLUGIN_H | 18 | #define DATEBOOK_PLUGIN_H |
19 | 19 | ||
20 | #include <qstring.h> | 20 | #include <qstring.h> |
21 | #include <qwidget.h> | 21 | #include <qwidget.h> |
22 | 22 | ||
23 | #include <qpe/datebookdb.h> | ||
24 | #include <opie/oclickablelabel.h> | 23 | #include <opie/oclickablelabel.h> |
25 | 24 | ||
26 | #include "../../todayplugininterface.h" | 25 | #include "../../todayplugininterface.h" |
27 | 26 | ||
28 | class DatebookPlugin : public TodayPluginObject { | 27 | class DatebookPlugin : public TodayPluginObject { |
29 | 28 | ||
diff --git a/core/pim/today/plugins/datebook/datebookpluginconfig.cpp b/core/pim/today/plugins/datebook/datebookpluginconfig.cpp index 7482f5e..51be40e 100644 --- a/core/pim/today/plugins/datebook/datebookpluginconfig.cpp +++ b/core/pim/today/plugins/datebook/datebookpluginconfig.cpp | |||
@@ -1,21 +1,20 @@ | |||
1 | 1 | ||
2 | 2 | ||
3 | #include "datebookpluginconfig.h" | 3 | #include "datebookpluginconfig.h" |
4 | 4 | ||
5 | |||
6 | #include <qpe/config.h> | 5 | #include <qpe/config.h> |
7 | 6 | ||
8 | #include <qlayout.h> | 7 | #include <qlayout.h> |
9 | #include <qtoolbutton.h> | 8 | #include <qtoolbutton.h> |
10 | #include <qlabel.h> | 9 | #include <qlabel.h> |
11 | #include <qhbox.h> | 10 | #include <qhbox.h> |
12 | #include <qvbox.h> | 11 | #include <qvbox.h> |
13 | 12 | ||
14 | DatebookPluginConfig::DatebookPluginConfig( QWidget* parent, const char* name) | 13 | DatebookPluginConfig::DatebookPluginConfig( QWidget* parent, const char* name) |
15 | : ConfigWidget( parent, name ) { | 14 | : ConfigWidget( parent, name ) { |
16 | 15 | ||
17 | QVBoxLayout * layout = new QVBoxLayout( this ); | 16 | QVBoxLayout * layout = new QVBoxLayout( this ); |
18 | 17 | ||
19 | QHBox *box1 = new QHBox( this ); | 18 | QHBox *box1 = new QHBox( this ); |
20 | QLabel* TextLabel4 = new QLabel( box1, "TextLabel4" ); | 19 | QLabel* TextLabel4 = new QLabel( box1, "TextLabel4" ); |
21 | TextLabel4->setText( tr( "Show location" ) ); | 20 | TextLabel4->setText( tr( "Show location" ) ); |
diff --git a/core/pim/today/plugins/datebook/datebookpluginconfig.h b/core/pim/today/plugins/datebook/datebookpluginconfig.h index 33d3c4e..9505a2d 100644 --- a/core/pim/today/plugins/datebook/datebookpluginconfig.h +++ b/core/pim/today/plugins/datebook/datebookpluginconfig.h | |||
@@ -1,23 +1,23 @@ | |||
1 | 1 | ||
2 | #ifndef DATEBOOK_PLUGIN_CONFIG_H | 2 | #ifndef DATEBOOK_PLUGIN_CONFIG_H |
3 | #define DATEBOOK_PLUGIN_CONFIG_H | 3 | #define DATEBOOK_PLUGIN_CONFIG_H |
4 | 4 | ||
5 | #include <qwidget.h> | 5 | //#include <qwidget.h> |
6 | #include <qcheckbox.h> | 6 | #include <qcheckbox.h> |
7 | #include <qspinbox.h> | 7 | #include <qspinbox.h> |
8 | 8 | ||
9 | #include "../../configwidget.h" | 9 | #include "../../configwidget.h" |
10 | 10 | ||
11 | class DatebookPluginConfig : public ConfigWidget { | 11 | class DatebookPluginConfig : public ConfigWidget { |
12 | 12 | ||
13 | Q_OBJECT | 13 | |
14 | 14 | ||
15 | public: | 15 | public: |
16 | DatebookPluginConfig( QWidget *parent, const char *name ); | 16 | DatebookPluginConfig( QWidget *parent, const char *name ); |
17 | ~DatebookPluginConfig(); | 17 | ~DatebookPluginConfig(); |
18 | 18 | ||
19 | void writeConfig(); | 19 | void writeConfig(); |
20 | private: | 20 | private: |
21 | /** | 21 | /** |
22 | * if changed then save | 22 | * if changed then save |
23 | */ | 23 | */ |