author | chicken <chicken> | 2004-03-01 18:52:44 (UTC) |
---|---|---|
committer | chicken <chicken> | 2004-03-01 18:52:44 (UTC) |
commit | 54a73e15350ea3cc4886a81572cef6e7876be26a (patch) (unidiff) | |
tree | c76d739875a0b90d69394f1894e30b8345c7b23c | |
parent | 707d84768f4a3b4ada7435ba4c7451feaa11666c (diff) | |
download | opie-54a73e15350ea3cc4886a81572cef6e7876be26a.zip opie-54a73e15350ea3cc4886a81572cef6e7876be26a.tar.gz opie-54a73e15350ea3cc4886a81572cef6e7876be26a.tar.bz2 |
fix includes
27 files changed, 1 insertions, 130 deletions
diff --git a/noncore/applets/autorotateapplet/autorotate.cpp b/noncore/applets/autorotateapplet/autorotate.cpp index e7891c8..5152904 100644 --- a/noncore/applets/autorotateapplet/autorotate.cpp +++ b/noncore/applets/autorotateapplet/autorotate.cpp | |||
@@ -16,21 +16,13 @@ | |||
16 | #include <opie2/odevice.h> | 16 | #include <opie2/odevice.h> |
17 | #include <qpe/applnk.h> | 17 | #include <qpe/applnk.h> |
18 | #include <qpe/config.h> | 18 | #include <qpe/config.h> |
19 | #include <qpe/resource.h> | 19 | #include <qpe/resource.h> |
20 | 20 | ||
21 | /* QT */ | 21 | /* QT */ |
22 | #include <qapplication.h> | ||
23 | #include <qfile.h> | ||
24 | #include <qcopchannel_qws.h> | ||
25 | #include <qmessagebox.h> | ||
26 | #include <qpainter.h> | 22 | #include <qpainter.h> |
27 | #include <qpixmap.h> | ||
28 | #include <qimage.h> | ||
29 | #include <qtimer.h> | ||
30 | #include <qtextstream.h> | ||
31 | 23 | ||
32 | using namespace Opie; | 24 | using namespace Opie; |
33 | 25 | ||
34 | AutoRotate::AutoRotate(QWidget * parent):QWidget(parent) | 26 | AutoRotate::AutoRotate(QWidget * parent):QWidget(parent) |
35 | { | 27 | { |
36 | setFixedWidth( AppLnk::smallIconSize() ); | 28 | setFixedWidth( AppLnk::smallIconSize() ); |
diff --git a/noncore/applets/memoryapplet/swapfile.cpp b/noncore/applets/memoryapplet/swapfile.cpp index 06746a7..7483592 100644 --- a/noncore/applets/memoryapplet/swapfile.cpp +++ b/noncore/applets/memoryapplet/swapfile.cpp | |||
@@ -19,14 +19,12 @@ | |||
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | 20 | ||
21 | #include "swapfile.h" | 21 | #include "swapfile.h" |
22 | 22 | ||
23 | #include <qlabel.h> | 23 | #include <qlabel.h> |
24 | #include <qtimer.h> | 24 | #include <qtimer.h> |
25 | #include <qfile.h> | ||
26 | #include <qtextstream.h> | ||
27 | #include <qlayout.h> | 25 | #include <qlayout.h> |
28 | #include <qpushbutton.h> | 26 | #include <qpushbutton.h> |
29 | #include <qhbuttongroup.h> | 27 | #include <qhbuttongroup.h> |
30 | #include <qradiobutton.h> | 28 | #include <qradiobutton.h> |
31 | #include <qlineedit.h> | 29 | #include <qlineedit.h> |
32 | #include <qprogressbar.h> | 30 | #include <qprogressbar.h> |
@@ -34,14 +32,12 @@ | |||
34 | #include <qvgroupbox.h> | 32 | #include <qvgroupbox.h> |
35 | #include <qhbox.h> | 33 | #include <qhbox.h> |
36 | #include <qmessagebox.h> | 34 | #include <qmessagebox.h> |
37 | #include <stdio.h> | 35 | #include <stdio.h> |
38 | #include <stdlib.h> | 36 | #include <stdlib.h> |
39 | #include <string.h> | 37 | #include <string.h> |
40 | #include <qfile.h> | ||
41 | #include <qtextstream.h> | ||
42 | 38 | ||
43 | #include <qcopchannel_qws.h> | 39 | #include <qcopchannel_qws.h> |
44 | #include <qpe/resource.h> | 40 | #include <qpe/resource.h> |
45 | 41 | ||
46 | #include <unistd.h> | 42 | #include <unistd.h> |
47 | #include <fcntl.h> | 43 | #include <fcntl.h> |
diff --git a/noncore/applets/networkapplet/networkapplet.cpp b/noncore/applets/networkapplet/networkapplet.cpp index 9a08568..955ed2e 100644 --- a/noncore/applets/networkapplet/networkapplet.cpp +++ b/noncore/applets/networkapplet/networkapplet.cpp | |||
@@ -32,25 +32,19 @@ | |||
32 | 32 | ||
33 | /* OPIE */ | 33 | /* OPIE */ |
34 | #include <opie2/odebug.h> | 34 | #include <opie2/odebug.h> |
35 | #include <opie2/onetwork.h> | 35 | #include <opie2/onetwork.h> |
36 | #include <opie2/otaskbarapplet.h> | 36 | #include <opie2/otaskbarapplet.h> |
37 | #include <qpe/applnk.h> | 37 | #include <qpe/applnk.h> |
38 | #include <qpe/qlibrary.h> | ||
39 | #include <qpe/resource.h> | 38 | #include <qpe/resource.h> |
40 | #include <qpainter.h> | 39 | #include <qpainter.h> |
41 | 40 | ||
42 | /* QT */ | 41 | /* QT */ |
43 | #include <qhostaddress.h> | ||
44 | #include <qimage.h> | ||
45 | #include <qlabel.h> | 42 | #include <qlabel.h> |
46 | #include <qlayout.h> | 43 | #include <qlayout.h> |
47 | #include <qlineedit.h> | ||
48 | #include <qobjectlist.h> | 44 | #include <qobjectlist.h> |
49 | #include <qpushbutton.h> | ||
50 | #include <qtoolbutton.h> | ||
51 | 45 | ||
52 | #include <assert.h> | 46 | #include <assert.h> |
53 | 47 | ||
54 | IfaceUpDownButton::IfaceUpDownButton( QWidget* parent, const char* name ) | 48 | IfaceUpDownButton::IfaceUpDownButton( QWidget* parent, const char* name ) |
55 | :QToolButton( parent, name ) | 49 | :QToolButton( parent, name ) |
56 | { | 50 | { |
diff --git a/noncore/applets/notesapplet/notes.cpp b/noncore/applets/notesapplet/notes.cpp index e2b0c2a..7b8bdd9 100644 --- a/noncore/applets/notesapplet/notes.cpp +++ b/noncore/applets/notesapplet/notes.cpp | |||
@@ -17,20 +17,17 @@ | |||
17 | 17 | ||
18 | #include <qapplication.h> | 18 | #include <qapplication.h> |
19 | #include <stdlib.h> | 19 | #include <stdlib.h> |
20 | #include <qstringlist.h> | 20 | #include <qstringlist.h> |
21 | 21 | ||
22 | #include <qpe/filemanager.h> | 22 | #include <qpe/filemanager.h> |
23 | #include <qpe/resource.h> | ||
24 | #include <qpe/qpeapplication.h> | 23 | #include <qpe/qpeapplication.h> |
25 | #include <qpe/timestring.h> | 24 | #include <qpe/timestring.h> |
26 | #include <qpe/resource.h> | ||
27 | #include <qpe/config.h> | ||
28 | #include <qpe/applnk.h> | 25 | #include <qpe/applnk.h> |
29 | #include <qpe/config.h> | ||
30 | #include <qpe/ir.h> | 26 | #include <qpe/ir.h> |
27 | #include <qpe/config.h> | ||
31 | 28 | ||
32 | // #include <qsocket.h> | 29 | // #include <qsocket.h> |
33 | // #include <qclipboard.h> | 30 | // #include <qclipboard.h> |
34 | #include <qmultilineedit.h> | 31 | #include <qmultilineedit.h> |
35 | #include <qlistbox.h> | 32 | #include <qlistbox.h> |
36 | #include <qpopupmenu.h> | 33 | #include <qpopupmenu.h> |
diff --git a/noncore/applets/wirelessapplet/advancedconfig.cpp b/noncore/applets/wirelessapplet/advancedconfig.cpp index 97b008d..aba0fee 100644 --- a/noncore/applets/wirelessapplet/advancedconfig.cpp +++ b/noncore/applets/wirelessapplet/advancedconfig.cpp | |||
@@ -13,13 +13,12 @@ | |||
13 | ** | 13 | ** |
14 | **********************************************************************/ | 14 | **********************************************************************/ |
15 | 15 | ||
16 | #include "advancedconfig.h" | 16 | #include "advancedconfig.h" |
17 | 17 | ||
18 | #include <qpe/config.h> | 18 | #include <qpe/config.h> |
19 | #include <qwidget.h> | ||
20 | #include <qcheckbox.h> | 19 | #include <qcheckbox.h> |
21 | 20 | ||
22 | AdvancedConfig::AdvancedConfig( QWidget* parent, const char* name, bool modal, WFlags fl ) | 21 | AdvancedConfig::AdvancedConfig( QWidget* parent, const char* name, bool modal, WFlags fl ) |
23 | : AdvancedConfigBase( parent, name, modal, fl ) | 22 | : AdvancedConfigBase( parent, name, modal, fl ) |
24 | { | 23 | { |
25 | Config cfg( "qpe" ); | 24 | Config cfg( "qpe" ); |
diff --git a/noncore/applets/wirelessapplet/wireless.cpp b/noncore/applets/wirelessapplet/wireless.cpp index cee789c..9ce6618 100644 --- a/noncore/applets/wirelessapplet/wireless.cpp +++ b/noncore/applets/wirelessapplet/wireless.cpp | |||
@@ -22,27 +22,22 @@ | |||
22 | #include "connect5.xpm" | 22 | #include "connect5.xpm" |
23 | #include "nowireless.xpm" | 23 | #include "nowireless.xpm" |
24 | 24 | ||
25 | /* OPIE */ | 25 | /* OPIE */ |
26 | #include <opie2/onetwork.h> | 26 | #include <opie2/onetwork.h> |
27 | #include <opie2/otaskbarapplet.h> | 27 | #include <opie2/otaskbarapplet.h> |
28 | #include <qpe/qpeapplication.h> | ||
29 | #include <qpe/config.h> | 28 | #include <qpe/config.h> |
30 | 29 | ||
31 | /* QT */ | 30 | /* QT */ |
32 | #include <qpoint.h> | ||
33 | #include <qradiobutton.h> | 31 | #include <qradiobutton.h> |
34 | #include <qpushbutton.h> | 32 | #include <qpushbutton.h> |
35 | #include <qpainter.h> | 33 | #include <qpainter.h> |
36 | #include <qlabel.h> | 34 | #include <qlabel.h> |
37 | #include <qslider.h> | 35 | #include <qslider.h> |
38 | #include <qbuttongroup.h> | 36 | #include <qbuttongroup.h> |
39 | #include <qlayout.h> | 37 | #include <qlayout.h> |
40 | #include <qframe.h> | ||
41 | #include <qpixmap.h> | ||
42 | #include <qstring.h> | ||
43 | #include <qfile.h> | 38 | #include <qfile.h> |
44 | #include <qtextstream.h> | 39 | #include <qtextstream.h> |
45 | 40 | ||
46 | /* STD */ | 41 | /* STD */ |
47 | #include <sys/types.h> | 42 | #include <sys/types.h> |
48 | #include <signal.h> | 43 | #include <signal.h> |
diff --git a/noncore/apps/advancedfm/advancedfm.cpp b/noncore/apps/advancedfm/advancedfm.cpp index 5148172..c44d387 100644 --- a/noncore/apps/advancedfm/advancedfm.cpp +++ b/noncore/apps/advancedfm/advancedfm.cpp | |||
@@ -9,35 +9,25 @@ | |||
9 | * the Free Software Foundation; either version 2 of the License, or * | 9 | * the Free Software Foundation; either version 2 of the License, or * |
10 | * (at your option) any later version. * | 10 | * (at your option) any later version. * |
11 | ***************************************************************************/ | 11 | ***************************************************************************/ |
12 | #define DEVELOPERS_VERSION | 12 | #define DEVELOPERS_VERSION |
13 | #include "advancedfm.h" | 13 | #include "advancedfm.h" |
14 | 14 | ||
15 | #include <qpe/filemanager.h> | ||
16 | #include <qpe/qcopenvelope_qws.h> | ||
17 | #include <qpe/qpeapplication.h> | 15 | #include <qpe/qpeapplication.h> |
18 | #include <qpe/config.h> | 16 | #include <qpe/config.h> |
19 | #include <qpe/mimetype.h> | 17 | #include <qpe/mimetype.h> |
20 | #include <qpe/applnk.h> | 18 | #include <qpe/applnk.h> |
21 | #include <qpe/ir.h> | ||
22 | #include <qpe/resource.h> | 19 | #include <qpe/resource.h> |
23 | #include <qpe/menubutton.h> | 20 | #include <qpe/menubutton.h> |
24 | 21 | ||
25 | #include <qdatetime.h> | ||
26 | #include <qfile.h> | ||
27 | #include <qcombobox.h> | 22 | #include <qcombobox.h> |
28 | #include <qpopupmenu.h> | 23 | #include <qpopupmenu.h> |
29 | #include <qlistview.h> | 24 | #include <qlistview.h> |
30 | #include <qlabel.h> | ||
31 | #include <qwidget.h> | ||
32 | #include <qlayout.h> | ||
33 | #include <qimage.h> | ||
34 | #include <qmessagebox.h> | 25 | #include <qmessagebox.h> |
35 | #include <qlineedit.h> | 26 | #include <qlineedit.h> |
36 | 27 | ||
37 | #include <qpe/qpemessagebox.h> | ||
38 | 28 | ||
39 | #include <sys/stat.h> | 29 | #include <sys/stat.h> |
40 | #include <time.h> | 30 | #include <time.h> |
41 | #include <dirent.h> | 31 | #include <dirent.h> |
42 | #include <fcntl.h> | 32 | #include <fcntl.h> |
43 | #include <sys/vfs.h> | 33 | #include <sys/vfs.h> |
diff --git a/noncore/apps/advancedfm/advancedfmMenu.cpp b/noncore/apps/advancedfm/advancedfmMenu.cpp index 18bbd43..9ad1146 100644 --- a/noncore/apps/advancedfm/advancedfmMenu.cpp +++ b/noncore/apps/advancedfm/advancedfmMenu.cpp | |||
@@ -12,29 +12,18 @@ | |||
12 | #include "advancedfm.h" | 12 | #include "advancedfm.h" |
13 | #include "output.h" | 13 | #include "output.h" |
14 | #include "filePermissions.h" | 14 | #include "filePermissions.h" |
15 | 15 | ||
16 | #include <qpe/lnkproperties.h> | 16 | #include <qpe/lnkproperties.h> |
17 | #include <qpe/qpeapplication.h> | 17 | #include <qpe/qpeapplication.h> |
18 | #include <qpe/resource.h> | ||
19 | #include <qpe/qcopenvelope_qws.h> | ||
20 | #include <qpe/applnk.h> | 18 | #include <qpe/applnk.h> |
21 | #include <qpe/ir.h> | ||
22 | 19 | ||
23 | #include <qmessagebox.h> | 20 | #include <qmessagebox.h> |
24 | #include <qmultilineedit.h> | ||
25 | 21 | ||
26 | #include <qstring.h> | ||
27 | 22 | ||
28 | #include <qlayout.h> | ||
29 | #include <qpixmap.h> | ||
30 | #include <qcombobox.h> | ||
31 | #include <qpopupmenu.h> | 23 | #include <qpopupmenu.h> |
32 | #include <qtabwidget.h> | ||
33 | #include <qtoolbutton.h> | ||
34 | #include <qlineedit.h> | ||
35 | #include <qlistview.h> | 24 | #include <qlistview.h> |
36 | 25 | ||
37 | #include <errno.h> | 26 | #include <errno.h> |
38 | #include <stdlib.h> | 27 | #include <stdlib.h> |
39 | #include <unistd.h> | 28 | #include <unistd.h> |
40 | #include <sys/stat.h> | 29 | #include <sys/stat.h> |
diff --git a/noncore/apps/checkbook/cfg.cpp b/noncore/apps/checkbook/cfg.cpp index 0d5d9ed..24fa4cb 100644 --- a/noncore/apps/checkbook/cfg.cpp +++ b/noncore/apps/checkbook/cfg.cpp | |||
@@ -25,16 +25,13 @@ | |||
25 | Boston, MA 02111-1307, USA. | 25 | Boston, MA 02111-1307, USA. |
26 | 26 | ||
27 | */ | 27 | */ |
28 | 28 | ||
29 | #include <stdio.h> | 29 | #include <stdio.h> |
30 | 30 | ||
31 | #include <qstring.h> | ||
32 | #include <qstringlist.h> | ||
33 | #include <qwidget.h> | 31 | #include <qwidget.h> |
34 | #include <qpe/resource.h> | ||
35 | #include <qpe/config.h> | 32 | #include <qpe/config.h> |
36 | 33 | ||
37 | #include "cfg.h" | 34 | #include "cfg.h" |
38 | 35 | ||
39 | // --- Cfg -------------------------------------------------------------------- | 36 | // --- Cfg -------------------------------------------------------------------- |
40 | Cfg::Cfg() | 37 | Cfg::Cfg() |
diff --git a/noncore/apps/checkbook/checkbook.cpp b/noncore/apps/checkbook/checkbook.cpp index 4ca764f..26b2533 100644 --- a/noncore/apps/checkbook/checkbook.cpp +++ b/noncore/apps/checkbook/checkbook.cpp | |||
@@ -30,13 +30,12 @@ | |||
30 | #include "cbinfo.h" | 30 | #include "cbinfo.h" |
31 | #include "transaction.h" | 31 | #include "transaction.h" |
32 | #include "traninfo.h" | 32 | #include "traninfo.h" |
33 | #include "graph.h" | 33 | #include "graph.h" |
34 | #include "graphinfo.h" | 34 | #include "graphinfo.h" |
35 | #include "password.h" | 35 | #include "password.h" |
36 | #include "mainwindow.h" | ||
37 | #include "cfg.h" | 36 | #include "cfg.h" |
38 | 37 | ||
39 | #include <qpe/qpeapplication.h> | 38 | #include <qpe/qpeapplication.h> |
40 | #include <qpe/qpemessagebox.h> | 39 | #include <qpe/qpemessagebox.h> |
41 | #include <qpe/resource.h> | 40 | #include <qpe/resource.h> |
42 | 41 | ||
diff --git a/noncore/apps/checkbook/configuration.cpp b/noncore/apps/checkbook/configuration.cpp index dfae446..872d9b2 100644 --- a/noncore/apps/checkbook/configuration.cpp +++ b/noncore/apps/checkbook/configuration.cpp | |||
@@ -24,25 +24,21 @@ | |||
24 | 59 Temple Place - Suite 330, | 24 | 59 Temple Place - Suite 330, |
25 | Boston, MA 02111-1307, USA. | 25 | Boston, MA 02111-1307, USA. |
26 | 26 | ||
27 | */ | 27 | */ |
28 | 28 | ||
29 | #include "configuration.h" | 29 | #include "configuration.h" |
30 | #include "mainwindow.h" | ||
31 | #include "listedit.h" | 30 | #include "listedit.h" |
32 | #include "tabledef.h" | ||
33 | 31 | ||
34 | #include <qcheckbox.h> | 32 | #include <qcheckbox.h> |
35 | #include <qlabel.h> | 33 | #include <qlabel.h> |
36 | #include <qlayout.h> | 34 | #include <qlayout.h> |
37 | #include <qlineedit.h> | 35 | #include <qlineedit.h> |
38 | #include <qwhatsthis.h> | 36 | #include <qwhatsthis.h> |
39 | #include <qlistview.h> | 37 | #include <qlistview.h> |
40 | #include <qpushbutton.h> | ||
41 | #include <qtabwidget.h> | 38 | #include <qtabwidget.h> |
42 | #include <qpe/resource.h> | ||
43 | 39 | ||
44 | Configuration::Configuration( QWidget *parent, Cfg &cfg ) | 40 | Configuration::Configuration( QWidget *parent, Cfg &cfg ) |
45 | : QDialog( parent, 0, TRUE, WStyle_ContextHelp ) | 41 | : QDialog( parent, 0, TRUE, WStyle_ContextHelp ) |
46 | { | 42 | { |
47 | setCaption( tr( "Configure Checkbook" ) ); | 43 | setCaption( tr( "Configure Checkbook" ) ); |
48 | 44 | ||
diff --git a/noncore/apps/checkbook/mainwindow.cpp b/noncore/apps/checkbook/mainwindow.cpp index 60aea42..d0fac3b 100644 --- a/noncore/apps/checkbook/mainwindow.cpp +++ b/noncore/apps/checkbook/mainwindow.cpp | |||
@@ -28,26 +28,22 @@ | |||
28 | 28 | ||
29 | #include "mainwindow.h" | 29 | #include "mainwindow.h" |
30 | #include "cbinfo.h" | 30 | #include "cbinfo.h" |
31 | #include "configuration.h" | 31 | #include "configuration.h" |
32 | #include "password.h" | 32 | #include "password.h" |
33 | #include "checkbook.h" | 33 | #include "checkbook.h" |
34 | #include "listedit.h" | ||
35 | 34 | ||
36 | #include <qpe/config.h> | 35 | #include <qpe/config.h> |
37 | #include <qpe/global.h> | ||
38 | #include <qpe/qpeapplication.h> | 36 | #include <qpe/qpeapplication.h> |
39 | #include <qpe/qpemessagebox.h> | 37 | #include <qpe/qpemessagebox.h> |
40 | #include <qpe/qpetoolbar.h> | 38 | #include <qpe/qpetoolbar.h> |
41 | #include <qpe/resource.h> | 39 | #include <qpe/resource.h> |
42 | 40 | ||
43 | #include <qmenubar.h> | 41 | #include <qmenubar.h> |
44 | #include <qaction.h> | 42 | #include <qaction.h> |
45 | #include <qcheckbox.h> | ||
46 | #include <qdir.h> | 43 | #include <qdir.h> |
47 | #include <qlineedit.h> | ||
48 | #include <qwhatsthis.h> | 44 | #include <qwhatsthis.h> |
49 | 45 | ||
50 | 46 | ||
51 | MainWindow::MainWindow( QWidget* parent, const char* name, WFlags /*fl*/ ) | 47 | MainWindow::MainWindow( QWidget* parent, const char* name, WFlags /*fl*/ ) |
52 | : QMainWindow( parent, name, WStyle_ContextHelp ) | 48 | : QMainWindow( parent, name, WStyle_ContextHelp ) |
53 | { | 49 | { |
diff --git a/noncore/apps/checkbook/tabledef.cpp b/noncore/apps/checkbook/tabledef.cpp index 13edded..9a42308 100644 --- a/noncore/apps/checkbook/tabledef.cpp +++ b/noncore/apps/checkbook/tabledef.cpp | |||
@@ -25,14 +25,12 @@ | |||
25 | Boston, MA 02111-1307, USA. | 25 | Boston, MA 02111-1307, USA. |
26 | 26 | ||
27 | */ | 27 | */ |
28 | 28 | ||
29 | #include "tabledef.h" | 29 | #include "tabledef.h" |
30 | 30 | ||
31 | #include <qstring.h> | ||
32 | #include <qpe/resource.h> | ||
33 | 31 | ||
34 | // --- ColumnDef -------------------------------------------------------------- | 32 | // --- ColumnDef -------------------------------------------------------------- |
35 | ColumnDef::ColumnDef(const char *sName, ColumnType type, const char *sNewValue) | 33 | ColumnDef::ColumnDef(const char *sName, ColumnType type, const char *sNewValue) |
36 | { | 34 | { |
37 | _sName=sName; | 35 | _sName=sName; |
38 | _type=type; | 36 | _type=type; |
diff --git a/noncore/apps/checkbook/transaction.cpp b/noncore/apps/checkbook/transaction.cpp index 9379da0..a72a48b 100644 --- a/noncore/apps/checkbook/transaction.cpp +++ b/noncore/apps/checkbook/transaction.cpp | |||
@@ -29,13 +29,12 @@ | |||
29 | #include "transaction.h" | 29 | #include "transaction.h" |
30 | #include "traninfo.h" | 30 | #include "traninfo.h" |
31 | #include "cfg.h" | 31 | #include "cfg.h" |
32 | #include "checkbook.h" | 32 | #include "checkbook.h" |
33 | 33 | ||
34 | #include <qpe/datebookmonth.h> | 34 | #include <qpe/datebookmonth.h> |
35 | #include <qpe/resource.h> | ||
36 | 35 | ||
37 | #include <qbuttongroup.h> | 36 | #include <qbuttongroup.h> |
38 | #include <qcombobox.h> | 37 | #include <qcombobox.h> |
39 | #include <qlabel.h> | 38 | #include <qlabel.h> |
40 | #include <qlayout.h> | 39 | #include <qlayout.h> |
41 | #include <qlineedit.h> | 40 | #include <qlineedit.h> |
diff --git a/noncore/apps/confedit/editwidget.cpp b/noncore/apps/confedit/editwidget.cpp index f7dc408..21f69c7 100644 --- a/noncore/apps/confedit/editwidget.cpp +++ b/noncore/apps/confedit/editwidget.cpp | |||
@@ -1,19 +1,11 @@ | |||
1 | #include "editwidget.h" | 1 | #include "editwidget.h" |
2 | 2 | ||
3 | #include <qlabel.h> | 3 | #include <qlabel.h> |
4 | #include <qlineedit.h> | 4 | #include <qlineedit.h> |
5 | #include <qpushbutton.h> | ||
6 | #include <qlayout.h> | 5 | #include <qlayout.h> |
7 | #include <qvariant.h> | ||
8 | #include <qtooltip.h> | ||
9 | #include <qwhatsthis.h> | ||
10 | #include <qtimer.h> | ||
11 | #include <qpopupmenu.h> | ||
12 | #include <qaction.h> | ||
13 | #include "listviewitemconfigentry.h" | ||
14 | 6 | ||
15 | EditWidget::EditWidget( QWidget* parent, const char* name, WFlags fl ) | 7 | EditWidget::EditWidget( QWidget* parent, const char* name, WFlags fl ) |
16 | : QWidget( parent, name, fl ) | 8 | : QWidget( parent, name, fl ) |
17 | { | 9 | { |
18 | 10 | ||
19 | EditWidgetLayout = new QGridLayout( this ); | 11 | EditWidgetLayout = new QGridLayout( this ); |
diff --git a/noncore/apps/confedit/listviewitemconffile.cpp b/noncore/apps/confedit/listviewitemconffile.cpp index ce6504c..1ff2c44 100644 --- a/noncore/apps/confedit/listviewitemconffile.cpp +++ b/noncore/apps/confedit/listviewitemconffile.cpp | |||
@@ -8,13 +8,12 @@ | |||
8 | ***************************************************************************/ | 8 | ***************************************************************************/ |
9 | // (c) 2002 Patrick S. Vogt <tille@handhelds.org> | 9 | // (c) 2002 Patrick S. Vogt <tille@handhelds.org> |
10 | 10 | ||
11 | #include "listviewitemconffile.h" | 11 | #include "listviewitemconffile.h" |
12 | #include <qmessagebox.h> | 12 | #include <qmessagebox.h> |
13 | #include <qtextstream.h> | 13 | #include <qtextstream.h> |
14 | #include <qstring.h> | ||
15 | #include "listviewitemconfigentry.h" | 14 | #include "listviewitemconfigentry.h" |
16 | 15 | ||
17 | #define tr QObject::tr | 16 | #define tr QObject::tr |
18 | 17 | ||
19 | ListViewItemConfFile::ListViewItemConfFile(QFileInfo *file, QListView *parent) | 18 | ListViewItemConfFile::ListViewItemConfFile(QFileInfo *file, QListView *parent) |
20 | : ListViewItemConf(parent), _valid(false) | 19 | : ListViewItemConf(parent), _valid(false) |
diff --git a/noncore/apps/confedit/listviewitemconfigentry.cpp b/noncore/apps/confedit/listviewitemconfigentry.cpp index 5ef9f61..0970125 100644 --- a/noncore/apps/confedit/listviewitemconfigentry.cpp +++ b/noncore/apps/confedit/listviewitemconfigentry.cpp | |||
@@ -6,13 +6,12 @@ | |||
6 | * (at your option) any later version. * | 6 | * (at your option) any later version. * |
7 | * * | 7 | * * |
8 | ***************************************************************************/ | 8 | ***************************************************************************/ |
9 | // (c) 2002 Patrick S. Vogtp <tille@handhelds.org> | 9 | // (c) 2002 Patrick S. Vogtp <tille@handhelds.org> |
10 | 10 | ||
11 | #include "listviewitemconfigentry.h" | 11 | #include "listviewitemconfigentry.h" |
12 | #include "listviewitemconffile.h" | ||
13 | #include <qtextstream.h> | 12 | #include <qtextstream.h> |
14 | 13 | ||
15 | ListViewItemConfigEntry::ListViewItemConfigEntry(ListViewItemConfFile *parent, QString group, QString key) | 14 | ListViewItemConfigEntry::ListViewItemConfigEntry(ListViewItemConfFile *parent, QString group, QString key) |
16 | : ListViewItemConf(parent) | 15 | : ListViewItemConf(parent) |
17 | { | 16 | { |
18 | _fileItem = parent; | 17 | _fileItem = parent; |
diff --git a/noncore/apps/confedit/mainwindow.cpp b/noncore/apps/confedit/mainwindow.cpp index 4fe45ba..5f7ad50 100644 --- a/noncore/apps/confedit/mainwindow.cpp +++ b/noncore/apps/confedit/mainwindow.cpp | |||
@@ -9,26 +9,17 @@ | |||
9 | 9 | ||
10 | // (c) 2002 Patrick S. Vogt <tille@handhelds.org> | 10 | // (c) 2002 Patrick S. Vogt <tille@handhelds.org> |
11 | 11 | ||
12 | 12 | ||
13 | #include "mainwindow.h" | 13 | #include "mainwindow.h" |
14 | 14 | ||
15 | #include <qaction.h> | ||
16 | #include <qmessagebox.h> | ||
17 | #include <qpopupmenu.h> | ||
18 | #include <qtoolbutton.h> | ||
19 | #include <qstring.h> | ||
20 | #include <qlabel.h> | 15 | #include <qlabel.h> |
21 | #include <qfile.h> | ||
22 | #include <qpushbutton.h> | ||
23 | #include <qlayout.h> | 16 | #include <qlayout.h> |
24 | #include <qlineedit.h> | 17 | #include <qlineedit.h> |
25 | #include <qcursor.h> | ||
26 | 18 | ||
27 | #include "listviewconfdir.h" | 19 | #include "listviewconfdir.h" |
28 | #include "listviewitemconf.h" | ||
29 | #include "listviewitemconfigentry.h" | 20 | #include "listviewitemconfigentry.h" |
30 | 21 | ||
31 | 22 | ||
32 | MainWindow::MainWindow( QWidget *parent, const char *name, WFlags f ) : | 23 | MainWindow::MainWindow( QWidget *parent, const char *name, WFlags f ) : |
33 | QMainWindow( parent, name, f ), _currentItem(0), _fileItem(0) | 24 | QMainWindow( parent, name, f ), _currentItem(0), _fileItem(0) |
34 | { | 25 | { |
diff --git a/noncore/apps/keyz-cfg/main.cpp b/noncore/apps/keyz-cfg/main.cpp index 264db20..55cc23e 100644 --- a/noncore/apps/keyz-cfg/main.cpp +++ b/noncore/apps/keyz-cfg/main.cpp | |||
@@ -1,12 +1,10 @@ | |||
1 | #include <stdio.h> | 1 | #include <stdio.h> |
2 | #include <qpe/qpeapplication.h> | 2 | #include <qpe/qpeapplication.h> |
3 | #include <qpe/qcopenvelope_qws.h> | ||
4 | #include <qmainwindow.h> | 3 | #include <qmainwindow.h> |
5 | 4 | ||
6 | #include "cfgfile.h" | ||
7 | #include "cfgdlg.h" | 5 | #include "cfgdlg.h" |
8 | 6 | ||
9 | int main( int argc, char **argv ) { | 7 | int main( int argc, char **argv ) { |
10 | QPEApplication app(argc, argv); | 8 | QPEApplication app(argc, argv); |
11 | CfgFile cfile; | 9 | CfgFile cfile; |
12 | CfgParser cp; | 10 | CfgParser cp; |
diff --git a/noncore/apps/keyz-cfg/zkb.cpp b/noncore/apps/keyz-cfg/zkb.cpp index abe1f5f..f315d4b 100644 --- a/noncore/apps/keyz-cfg/zkb.cpp +++ b/noncore/apps/keyz-cfg/zkb.cpp | |||
@@ -1,7 +1,6 @@ | |||
1 | #include <qnamespace.h> | ||
2 | #include "zkb.h" | 1 | #include "zkb.h" |
3 | #include <stdio.h> | 2 | #include <stdio.h> |
4 | 3 | ||
5 | // Implementation of Action class | 4 | // Implementation of Action class |
6 | Action::Action():state(0), keycode(0), unicode(0), flags(0) { | 5 | Action::Action():state(0), keycode(0), unicode(0), flags(0) { |
7 | } | 6 | } |
diff --git a/noncore/apps/keyz-cfg/zkbnames.cpp b/noncore/apps/keyz-cfg/zkbnames.cpp index c20a114..b2180ba 100644 --- a/noncore/apps/keyz-cfg/zkbnames.cpp +++ b/noncore/apps/keyz-cfg/zkbnames.cpp | |||
@@ -1,8 +1,7 @@ | |||
1 | #include <qmap.h> | 1 | #include <qmap.h> |
2 | #include <qstring.h> | ||
3 | 2 | ||
4 | #include "zkbnames.h" | 3 | #include "zkbnames.h" |
5 | 4 | ||
6 | QString Null_String((const char*) 0); | 5 | QString Null_String((const char*) 0); |
7 | 6 | ||
8 | // Implementation of KeyNames | 7 | // Implementation of KeyNames |
diff --git a/noncore/apps/opie-bartender/bac.cpp b/noncore/apps/opie-bartender/bac.cpp index ac8a83e..c97a253 100644 --- a/noncore/apps/opie-bartender/bac.cpp +++ b/noncore/apps/opie-bartender/bac.cpp | |||
@@ -14,15 +14,12 @@ | |||
14 | #include <qcombobox.h> | 14 | #include <qcombobox.h> |
15 | #include <qlabel.h> | 15 | #include <qlabel.h> |
16 | #include <qlcdnumber.h> | 16 | #include <qlcdnumber.h> |
17 | #include <qpushbutton.h> | 17 | #include <qpushbutton.h> |
18 | #include <qspinbox.h> | 18 | #include <qspinbox.h> |
19 | #include <qlayout.h> | 19 | #include <qlayout.h> |
20 | #include <qvariant.h> | ||
21 | #include <qtooltip.h> | ||
22 | #include <qwhatsthis.h> | ||
23 | BacDialog::BacDialog( QWidget* parent, const char* name, bool modal, WFlags fl ) | 20 | BacDialog::BacDialog( QWidget* parent, const char* name, bool modal, WFlags fl ) |
24 | : QDialog( parent, name, modal, fl ) | 21 | : QDialog( parent, name, modal, fl ) |
25 | { | 22 | { |
26 | if ( !name ) | 23 | if ( !name ) |
27 | setName( "BacDialog" ); | 24 | setName( "BacDialog" ); |
28 | setCaption( tr( "Blood Alcohol Estimator" ) ); | 25 | setCaption( tr( "Blood Alcohol Estimator" ) ); |
diff --git a/noncore/apps/opie-bartender/bartender.cpp b/noncore/apps/opie-bartender/bartender.cpp index 740478f..3c010e9 100644 --- a/noncore/apps/opie-bartender/bartender.cpp +++ b/noncore/apps/opie-bartender/bartender.cpp | |||
@@ -8,45 +8,34 @@ | |||
8 | * it under the terms of the GNU General Public License as published by * | 8 | * it under the terms of the GNU General Public License as published by * |
9 | * the Free Software Foundation; either version 2 of the License, or * | 9 | * the Free Software Foundation; either version 2 of the License, or * |
10 | * (at your option) any later version. * | 10 | * (at your option) any later version. * |
11 | ***************************************************************************/ | 11 | ***************************************************************************/ |
12 | 12 | ||
13 | #include "bartender.h" | 13 | #include "bartender.h" |
14 | #include "newdrinks.h" | ||
15 | #include "showdrinks.h" | 14 | #include "showdrinks.h" |
16 | #include "inputDialog.h" | 15 | #include "inputDialog.h" |
17 | #include "searchresults.h" | 16 | #include "searchresults.h" |
18 | #include "bac.h" | 17 | #include "bac.h" |
19 | 18 | ||
20 | #include <qpe/qpetoolbar.h> | 19 | #include <qpe/qpetoolbar.h> |
21 | #include <qmenubar.h> | 20 | #include <qmenubar.h> |
22 | //#include <opie2/colorpopupmenu.h> | 21 | //#include <opie2/colorpopupmenu.h> |
23 | #include <qpe/qpeapplication.h> | 22 | #include <qpe/qpeapplication.h> |
24 | #include <qpe/resource.h> | 23 | #include <qpe/resource.h> |
25 | 24 | ||
26 | #include <qcstring.h> | ||
27 | #include <qlineedit.h> | 25 | #include <qlineedit.h> |
28 | #include <qdir.h> | 26 | #include <qdir.h> |
29 | #include <qpushbutton.h> | 27 | #include <qpushbutton.h> |
30 | #include <qlistbox.h> | 28 | #include <qlistbox.h> |
31 | #include <qstringlist.h> | ||
32 | #include <qmultilineedit.h> | 29 | #include <qmultilineedit.h> |
33 | #include <qmessagebox.h> | 30 | #include <qmessagebox.h> |
34 | #include <qfile.h> | ||
35 | #include <qtextstream.h> | 31 | #include <qtextstream.h> |
36 | #include <qfile.h> | ||
37 | #include <qaction.h> | 32 | #include <qaction.h> |
38 | #include <qheader.h> | 33 | #include <qheader.h> |
39 | #include <qlistview.h> | 34 | #include <qlistview.h> |
40 | #include <qwidget.h> | ||
41 | #include <qlayout.h> | 35 | #include <qlayout.h> |
42 | #include <qvariant.h> | ||
43 | #include <qtooltip.h> | ||
44 | #include <qwhatsthis.h> | ||
45 | #include <qimage.h> | ||
46 | #include <qpixmap.h> | ||
47 | 36 | ||
48 | #include <fcntl.h> | 37 | #include <fcntl.h> |
49 | #include <unistd.h> | 38 | #include <unistd.h> |
50 | #include <stdlib.h> | 39 | #include <stdlib.h> |
51 | #include <stdio.h> | 40 | #include <stdio.h> |
52 | #include <errno.h> | 41 | #include <errno.h> |
diff --git a/noncore/apps/opie-bartender/inputDialog.cpp b/noncore/apps/opie-bartender/inputDialog.cpp index 4f4cb84..29643ff 100644 --- a/noncore/apps/opie-bartender/inputDialog.cpp +++ b/noncore/apps/opie-bartender/inputDialog.cpp | |||
@@ -13,16 +13,12 @@ | |||
13 | * (at your option) any later version. * | 13 | * (at your option) any later version. * |
14 | ***************************************************************************/ | 14 | ***************************************************************************/ |
15 | 15 | ||
16 | #include "inputDialog.h" | 16 | #include "inputDialog.h" |
17 | 17 | ||
18 | #include <qlineedit.h> | 18 | #include <qlineedit.h> |
19 | #include <qlayout.h> | ||
20 | #include <qvariant.h> | ||
21 | #include <qtooltip.h> | ||
22 | #include <qwhatsthis.h> | ||
23 | 19 | ||
24 | 20 | ||
25 | InputDialog::InputDialog( QWidget* parent, const char* name, bool modal, WFlags fl ) | 21 | InputDialog::InputDialog( QWidget* parent, const char* name, bool modal, WFlags fl ) |
26 | : QDialog( parent, name, modal, fl ) | 22 | : QDialog( parent, name, modal, fl ) |
27 | { | 23 | { |
28 | if ( !name ) | 24 | if ( !name ) |
diff --git a/noncore/apps/opie-bartender/newdrinks.cpp b/noncore/apps/opie-bartender/newdrinks.cpp index 86bcc3c..a7ada3a 100644 --- a/noncore/apps/opie-bartender/newdrinks.cpp +++ b/noncore/apps/opie-bartender/newdrinks.cpp | |||
@@ -7,24 +7,17 @@ | |||
7 | * it under the terms of the GNU General Public License as published by * | 7 | * it under the terms of the GNU General Public License as published by * |
8 | * the Free Software Foundation; either version 2 of the License, or * | 8 | * the Free Software Foundation; either version 2 of the License, or * |
9 | * (at your option) any later version. * | 9 | * (at your option) any later version. * |
10 | ***************************************************************************/ | 10 | ***************************************************************************/ |
11 | #include "newdrinks.h" | 11 | #include "newdrinks.h" |
12 | 12 | ||
13 | #include <qpe/resource.h> | ||
14 | 13 | ||
15 | #include <qaction.h> | ||
16 | #include <qlabel.h> | 14 | #include <qlabel.h> |
17 | #include <qlineedit.h> | 15 | #include <qlineedit.h> |
18 | #include <qmultilineedit.h> | 16 | #include <qmultilineedit.h> |
19 | #include <qpushbutton.h> | ||
20 | #include <qwidget.h> | ||
21 | #include <qlayout.h> | 17 | #include <qlayout.h> |
22 | #include <qvariant.h> | ||
23 | #include <qtooltip.h> | ||
24 | #include <qwhatsthis.h> | ||
25 | 18 | ||
26 | New_Drink::New_Drink( QWidget* parent, const char* name, bool modal, WFlags fl ) | 19 | New_Drink::New_Drink( QWidget* parent, const char* name, bool modal, WFlags fl ) |
27 | : QDialog( parent, name, modal, fl ) | 20 | : QDialog( parent, name, modal, fl ) |
28 | { | 21 | { |
29 | QString drinkName = name; | 22 | QString drinkName = name; |
30 | if ( !name ) | 23 | if ( !name ) |
diff --git a/noncore/apps/opie-bartender/searchresults.cpp b/noncore/apps/opie-bartender/searchresults.cpp index 1a82c6c..4900d1f 100644 --- a/noncore/apps/opie-bartender/searchresults.cpp +++ b/noncore/apps/opie-bartender/searchresults.cpp | |||
@@ -7,24 +7,15 @@ | |||
7 | * it under the terms of the GNU General Public License as published by * | 7 | * it under the terms of the GNU General Public License as published by * |
8 | * the Free Software Foundation; either version 2 of the License, or * | 8 | * the Free Software Foundation; either version 2 of the License, or * |
9 | * (at your option) any later version. * | 9 | * (at your option) any later version. * |
10 | ***************************************************************************/ | 10 | ***************************************************************************/ |
11 | #include "searchresults.h" | 11 | #include "searchresults.h" |
12 | 12 | ||
13 | #include <qpe/resource.h> | ||
14 | 13 | ||
15 | #include <qaction.h> | ||
16 | #include <qlabel.h> | ||
17 | #include <qlineedit.h> | ||
18 | #include <qlistbox.h> | 14 | #include <qlistbox.h> |
19 | #include <qpushbutton.h> | ||
20 | #include <qwidget.h> | ||
21 | #include <qlayout.h> | 15 | #include <qlayout.h> |
22 | #include <qvariant.h> | ||
23 | #include <qtooltip.h> | ||
24 | #include <qwhatsthis.h> | ||
25 | 16 | ||
26 | Search_Results::Search_Results( QWidget* parent, const char* name, bool modal, WFlags fl ) | 17 | Search_Results::Search_Results( QWidget* parent, const char* name, bool modal, WFlags fl ) |
27 | : QDialog( parent, name, modal, fl ) { | 18 | : QDialog( parent, name, modal, fl ) { |
28 | if ( !name ) | 19 | if ( !name ) |
29 | setName( drinkName); | 20 | setName( drinkName); |
30 | 21 | ||
diff --git a/noncore/apps/opie-bartender/showdrinks.cpp b/noncore/apps/opie-bartender/showdrinks.cpp index 745f7db..dcfce16 100644 --- a/noncore/apps/opie-bartender/showdrinks.cpp +++ b/noncore/apps/opie-bartender/showdrinks.cpp | |||
@@ -6,26 +6,17 @@ | |||
6 | * This program is free software; you can redistribute it and/or modify * | 6 | * This program is free software; you can redistribute it and/or modify * |
7 | * it under the terms of the GNU General Public License as published by * | 7 | * it under the terms of the GNU General Public License as published by * |
8 | * the Free Software Foundation; either version 2 of the License, or * | 8 | * the Free Software Foundation; either version 2 of the License, or * |
9 | * (at your option) any later version. * | 9 | * (at your option) any later version. * |
10 | ***************************************************************************/ | 10 | ***************************************************************************/ |
11 | #include "showdrinks.h" | 11 | #include "showdrinks.h" |
12 | #include "bartender.h" | ||
13 | 12 | ||
14 | #include <qpe/resource.h> | ||
15 | 13 | ||
16 | #include <qaction.h> | ||
17 | #include <qlabel.h> | ||
18 | #include <qlineedit.h> | ||
19 | #include <qmultilineedit.h> | 14 | #include <qmultilineedit.h> |
20 | #include <qpushbutton.h> | 15 | #include <qpushbutton.h> |
21 | #include <qwidget.h> | ||
22 | #include <qlayout.h> | 16 | #include <qlayout.h> |
23 | #include <qvariant.h> | ||
24 | #include <qtooltip.h> | ||
25 | #include <qwhatsthis.h> | ||
26 | 17 | ||
27 | //extern Bartender *bart; | 18 | //extern Bartender *bart; |
28 | 19 | ||
29 | Show_Drink::Show_Drink( QWidget* parent, const char* name, bool modal, WFlags fl ) | 20 | Show_Drink::Show_Drink( QWidget* parent, const char* name, bool modal, WFlags fl ) |
30 | : QDialog( parent, name, modal, fl ) { | 21 | : QDialog( parent, name, modal, fl ) { |
31 | if ( !name ) | 22 | if ( !name ) |