author | harlekin <harlekin> | 2003-02-23 14:42:14 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2003-02-23 14:42:14 (UTC) |
commit | 15c2cf367bc38c17fb488e6d8be44c148ecfb1bf (patch) (unidiff) | |
tree | d151df2a4a21b49f57f93f79dbfc066d03dce606 | |
parent | 93d5fdc889cd724c1f2938497b6c6460a13be2ba (diff) | |
download | opie-15c2cf367bc38c17fb488e6d8be44c148ecfb1bf.zip opie-15c2cf367bc38c17fb488e6d8be44c148ecfb1bf.tar.gz opie-15c2cf367bc38c17fb488e6d8be44c148ecfb1bf.tar.bz2 |
got rid of not needed includes
6 files changed, 34 insertions, 12 deletions
diff --git a/core/pim/today/plugins/datebook/datebookplugin.cpp b/core/pim/today/plugins/datebook/datebookplugin.cpp index f095478..4e75a13 100644 --- a/core/pim/today/plugins/datebook/datebookplugin.cpp +++ b/core/pim/today/plugins/datebook/datebookplugin.cpp | |||
@@ -1,17 +1,17 @@ | |||
1 | 1 | ||
2 | /* | 2 | /* |
3 | * datebookplugin.cpp | 3 | * datebookplugin.cpp |
4 | * | 4 | * |
5 | * copyright : (c) 2002 by Maximilian Reiß | 5 | * copyright : (c) 2002,2003 by Maximilian Reiß |
6 | * email : harlekin@handhelds.org | 6 | * email : harlekin@handhelds.org |
7 | * | 7 | * |
8 | */ | 8 | */ |
9 | /*************************************************************************** | 9 | /*************************************************************************** |
10 | * * | 10 | * * |
11 | * This program is free software; you can redistribute it and/or modify * | 11 | * This program is free software; you can redistribute it and/or modify * |
12 | * it under the terms of the GNU General Public License as published by * | 12 | * it under the terms of the GNU General Public License as published by * |
13 | * the Free Software Foundation; either version 2 of the License, or * | 13 | * the Free Software Foundation; either version 2 of the License, or * |
14 | * (at your option) any later version. * | 14 | * (at your option) any later version. * |
15 | * * | 15 | * * |
16 | ***************************************************************************/ | 16 | ***************************************************************************/ |
17 | 17 | ||
diff --git a/core/pim/today/plugins/datebook/datebookplugin.h b/core/pim/today/plugins/datebook/datebookplugin.h index eb7a401..db899e8 100644 --- a/core/pim/today/plugins/datebook/datebookplugin.h +++ b/core/pim/today/plugins/datebook/datebookplugin.h | |||
@@ -1,34 +1,32 @@ | |||
1 | /* | 1 | /* |
2 | * datebookplugin.h | 2 | * datebookplugin.h |
3 | * | 3 | * |
4 | * copyright : (c) 2002 by Maximilian Reiß | 4 | * copyright : (c) 2002,2003 by Maximilian Reiß |
5 | * email : harlekin@handhelds.org | 5 | * email : harlekin@handhelds.org |
6 | * | 6 | * |
7 | */ | 7 | */ |
8 | /*************************************************************************** | 8 | /*************************************************************************** |
9 | * * | 9 | * * |
10 | * This program is free software; you can redistribute it and/or modify * | 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 * | 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 DATEBOOK_PLUGIN_H | 17 | #ifndef DATEBOOK_PLUGIN_H |
18 | #define DATEBOOK_PLUGIN_H | 18 | #define DATEBOOK_PLUGIN_H |
19 | 19 | ||
20 | #include <qstring.h> | ||
21 | #include <qguardedptr.h> | 20 | #include <qguardedptr.h> |
22 | #include <qwidget.h> | ||
23 | 21 | ||
24 | #include <opie/oclickablelabel.h> | 22 | #include <opie/oclickablelabel.h> |
25 | #include <opie/todayplugininterface.h> | 23 | #include <opie/todayplugininterface.h> |
26 | 24 | ||
27 | #include "datebookpluginwidget.h" | 25 | #include "datebookpluginwidget.h" |
28 | 26 | ||
29 | class DatebookPlugin : public TodayPluginObject { | 27 | class DatebookPlugin : public TodayPluginObject { |
30 | 28 | ||
31 | public: | 29 | public: |
32 | DatebookPlugin(); | 30 | DatebookPlugin(); |
33 | ~DatebookPlugin(); | 31 | ~DatebookPlugin(); |
34 | 32 | ||
diff --git a/core/pim/today/plugins/datebook/datebookpluginconfig.cpp b/core/pim/today/plugins/datebook/datebookpluginconfig.cpp index 0fc38de..dc6dee9 100644 --- a/core/pim/today/plugins/datebook/datebookpluginconfig.cpp +++ b/core/pim/today/plugins/datebook/datebookpluginconfig.cpp | |||
@@ -1,20 +1,34 @@ | |||
1 | /* | ||
2 | * datebookpluginconfig.cpp | ||
3 | * | ||
4 | * copyright : (c) 2002,2003 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 | ***************************************************************************/ | ||
1 | 16 | ||
2 | 17 | ||
3 | #include "datebookpluginconfig.h" | 18 | #include "datebookpluginconfig.h" |
4 | 19 | ||
5 | #include <qpe/config.h> | 20 | #include <qpe/config.h> |
6 | 21 | ||
7 | #include <qlayout.h> | 22 | #include <qlayout.h> |
8 | #include <qtoolbutton.h> | ||
9 | #include <qlabel.h> | 23 | #include <qlabel.h> |
10 | #include <qhbox.h> | 24 | #include <qhbox.h> |
11 | #include <qwhatsthis.h> | 25 | #include <qwhatsthis.h> |
12 | #include <qvbox.h> | 26 | #include <qvbox.h> |
13 | 27 | ||
14 | DatebookPluginConfig::DatebookPluginConfig( QWidget* parent, const char* name) | 28 | DatebookPluginConfig::DatebookPluginConfig( QWidget* parent, const char* name) |
15 | : TodayConfigWidget( parent, name ) { | 29 | : TodayConfigWidget( parent, name ) { |
16 | 30 | ||
17 | QVBoxLayout * layout = new QVBoxLayout( this ); | 31 | QVBoxLayout * layout = new QVBoxLayout( this ); |
18 | layout->setMargin( 20 ); | 32 | layout->setMargin( 20 ); |
19 | 33 | ||
20 | QHBox *box1 = new QHBox( this ); | 34 | QHBox *box1 = new QHBox( this ); |
diff --git a/core/pim/today/plugins/datebook/datebookpluginconfig.h b/core/pim/today/plugins/datebook/datebookpluginconfig.h index 6c32ae9..be00aad 100644 --- a/core/pim/today/plugins/datebook/datebookpluginconfig.h +++ b/core/pim/today/plugins/datebook/datebookpluginconfig.h | |||
@@ -1,12 +1,27 @@ | |||
1 | /* | ||
2 | * datebookpluginconfig.h | ||
3 | * | ||
4 | * copyright : (c) 2002,2003 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 | ***************************************************************************/ | ||
1 | 16 | ||
2 | #ifndef DATEBOOK_PLUGIN_CONFIG_H | 17 | #ifndef DATEBOOK_PLUGIN_CONFIG_H |
3 | #define DATEBOOK_PLUGIN_CONFIG_H | 18 | #define DATEBOOK_PLUGIN_CONFIG_H |
4 | 19 | ||
5 | 20 | ||
6 | #include <qcheckbox.h> | 21 | #include <qcheckbox.h> |
7 | #include <qspinbox.h> | 22 | #include <qspinbox.h> |
8 | 23 | ||
9 | #include <opie/todayconfigwidget.h> | 24 | #include <opie/todayconfigwidget.h> |
10 | 25 | ||
11 | class DatebookPluginConfig : public TodayConfigWidget { | 26 | class DatebookPluginConfig : public TodayConfigWidget { |
12 | 27 | ||
diff --git a/core/pim/today/plugins/datebook/datebookpluginwidget.cpp b/core/pim/today/plugins/datebook/datebookpluginwidget.cpp index 97fb77e..896d41d 100644 --- a/core/pim/today/plugins/datebook/datebookpluginwidget.cpp +++ b/core/pim/today/plugins/datebook/datebookpluginwidget.cpp | |||
@@ -1,40 +1,37 @@ | |||
1 | /* | 1 | /* |
2 | * datebookpluginwidget.cpp | 2 | * datebookpluginwidget.cpp |
3 | * | 3 | * |
4 | * copyright : (c) 2002 by Maximilian Reiß | 4 | * copyright : (c) 2002,2003 by Maximilian Reiß |
5 | * email : harlekin@handhelds.org | 5 | * email : harlekin@handhelds.org |
6 | * | 6 | * |
7 | */ | 7 | */ |
8 | /*************************************************************************** | 8 | /*************************************************************************** |
9 | * * | 9 | * * |
10 | * This program is free software; you can redistribute it and/or modify * | 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 * | 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 | 17 | ||
18 | #include "datebookpluginwidget.h" | 18 | #include "datebookpluginwidget.h" |
19 | 19 | ||
20 | #include <qpe/timestring.h> | 20 | #include <qpe/timestring.h> |
21 | #include <qpe/config.h> | 21 | #include <qpe/config.h> |
22 | 22 | ||
23 | #include <qdatetime.h> | 23 | #include <qdatetime.h> |
24 | #include <qlabel.h> | 24 | #include <qlabel.h> |
25 | #include <qlayout.h> | ||
26 | #include <qtl.h> | 25 | #include <qtl.h> |
27 | #include <qscrollview.h> | ||
28 | #include <qtimer.h> | ||
29 | 26 | ||
30 | DatebookPluginWidget::DatebookPluginWidget( QWidget *parent, const char* name ) | 27 | DatebookPluginWidget::DatebookPluginWidget( QWidget *parent, const char* name ) |
31 | : QWidget(parent, name ) { | 28 | : QWidget(parent, name ) { |
32 | 29 | ||
33 | db = 0l; | 30 | db = 0l; |
34 | m_layoutDates = 0l; | 31 | m_layoutDates = 0l; |
35 | 32 | ||
36 | if ( db ) { | 33 | if ( db ) { |
37 | delete db; | 34 | delete db; |
38 | } | 35 | } |
39 | db = new DateBookDB; | 36 | db = new DateBookDB; |
40 | 37 | ||
diff --git a/core/pim/today/plugins/datebook/datebookpluginwidget.h b/core/pim/today/plugins/datebook/datebookpluginwidget.h index e10f059..35d43cd 100644 --- a/core/pim/today/plugins/datebook/datebookpluginwidget.h +++ b/core/pim/today/plugins/datebook/datebookpluginwidget.h | |||
@@ -1,33 +1,31 @@ | |||
1 | /* | 1 | /* |
2 | * datebookpluginwidget.h | 2 | * datebookpluginwidget.h |
3 | * | 3 | * |
4 | * copyright : (c) 2002 by Maximilian Reiß | 4 | * copyright : (c) 2002,2003 by Maximilian Reiß |
5 | * email : harlekin@handhelds.org | 5 | * email : harlekin@handhelds.org |
6 | * | 6 | * |
7 | */ | 7 | */ |
8 | /*************************************************************************** | 8 | /*************************************************************************** |
9 | * * | 9 | * * |
10 | * This program is free software; you can redistribute it and/or modify * | 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 * | 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 DATEBOOK_PLUGIN_WIDGET_H | 17 | #ifndef DATEBOOK_PLUGIN_WIDGET_H |
18 | #define DATEBOOK_PLUGIN_WIDGET_H | 18 | #define DATEBOOK_PLUGIN_WIDGET_H |
19 | 19 | ||
20 | #include <qstring.h> | ||
21 | #include <qwidget.h> | ||
22 | #include <qlayout.h> | 20 | #include <qlayout.h> |
23 | #include <qguardedptr.h> | 21 | #include <qguardedptr.h> |
24 | #include <qlist.h> | 22 | #include <qlist.h> |
25 | 23 | ||
26 | #include <qpe/datebookdb.h> | 24 | #include <qpe/datebookdb.h> |
27 | #include <opie/oclickablelabel.h> | 25 | #include <opie/oclickablelabel.h> |
28 | 26 | ||
29 | #include "datebookevent.h" | 27 | #include "datebookevent.h" |
30 | 28 | ||
31 | class DatebookPluginWidget : public QWidget { | 29 | class DatebookPluginWidget : public QWidget { |
32 | 30 | ||
33 | Q_OBJECT | 31 | Q_OBJECT |