77 files changed, 2 insertions, 223 deletions
diff --git a/noncore/games/backgammon/backgammon.cpp b/noncore/games/backgammon/backgammon.cpp index e9e5467..51020a0 100644 --- a/noncore/games/backgammon/backgammon.cpp +++ b/noncore/games/backgammon/backgammon.cpp | |||
@@ -6,13 +6,10 @@ | |||
6 | #include "rulesdialog.h" | 6 | #include "rulesdialog.h" |
7 | #include "themedialog.h" | 7 | #include "themedialog.h" |
8 | 8 | ||
9 | #include <qdatetime.h> | ||
10 | #include <qfile.h> | 9 | #include <qfile.h> |
11 | #include <qlayout.h> | 10 | #include <qlayout.h> |
12 | #include <qmessagebox.h> | 11 | #include <qmessagebox.h> |
13 | #include <qstring.h> | ||
14 | #include <qtimer.h> | 12 | #include <qtimer.h> |
15 | #include <qmainwindow.h> | ||
16 | #include <qpe/qpeapplication.h> | 13 | #include <qpe/qpeapplication.h> |
17 | #include <qpe/config.h> | 14 | #include <qpe/config.h> |
18 | #include <qmenubar.h> | 15 | #include <qmenubar.h> |
diff --git a/noncore/games/backgammon/filedialog.cpp b/noncore/games/backgammon/filedialog.cpp index a5e71c9..e0a2914 100644 --- a/noncore/games/backgammon/filedialog.cpp +++ b/noncore/games/backgammon/filedialog.cpp | |||
@@ -1,10 +1,6 @@ | |||
1 | #include "filedialog.h" | 1 | #include "filedialog.h" |
2 | 2 | ||
3 | #include <qdir.h> | 3 | #include <qdir.h> |
4 | #include <qfileinfo.h> | ||
5 | #include <qmessagebox.h> | ||
6 | #include <qpixmap.h> | ||
7 | #include <qpushbutton.h> | ||
8 | #include <qpe/qpeapplication.h> | 4 | #include <qpe/qpeapplication.h> |
9 | 5 | ||
10 | FileDialog::FileDialog(QWidget* parent,QString header,QString extension,const char* name,bool modal,WFlags f) | 6 | FileDialog::FileDialog(QWidget* parent,QString header,QString extension,const char* name,bool modal,WFlags f) |
diff --git a/noncore/games/backgammon/main.cpp b/noncore/games/backgammon/main.cpp index 58ced10..6316040 100644 --- a/noncore/games/backgammon/main.cpp +++ b/noncore/games/backgammon/main.cpp | |||
@@ -1,4 +1,3 @@ | |||
1 | #include <qpe/qpeapplication.h> | ||
2 | #include "backgammon.h" | 1 | #include "backgammon.h" |
3 | 2 | ||
4 | #include <opie/oapplicationfactory.h> | 3 | #include <opie/oapplicationfactory.h> |
diff --git a/noncore/games/backgammon/moveengine.cpp b/noncore/games/backgammon/moveengine.cpp index 37b73a6..7de7147 100644 --- a/noncore/games/backgammon/moveengine.cpp +++ b/noncore/games/backgammon/moveengine.cpp | |||
@@ -1,6 +1,5 @@ | |||
1 | #include "moveengine.h" | 1 | #include "moveengine.h" |
2 | 2 | ||
3 | #include <qmessagebox.h> | ||
4 | #include <qtimer.h> | 3 | #include <qtimer.h> |
5 | #include <stdlib.h> | 4 | #include <stdlib.h> |
6 | 5 | ||
diff --git a/noncore/games/backgammon/themedialog.cpp b/noncore/games/backgammon/themedialog.cpp index f342381..afd6a1b 100644 --- a/noncore/games/backgammon/themedialog.cpp +++ b/noncore/games/backgammon/themedialog.cpp | |||
@@ -1,9 +1,7 @@ | |||
1 | #include "themedialog.h" | 1 | #include "themedialog.h" |
2 | 2 | ||
3 | #include <qdir.h> | 3 | #include <qdir.h> |
4 | #include <qfileinfo.h> | ||
5 | #include <qlabel.h> | 4 | #include <qlabel.h> |
6 | #include <qpushbutton.h> | ||
7 | #include <qpe/qpeapplication.h> | 5 | #include <qpe/qpeapplication.h> |
8 | 6 | ||
9 | 7 | ||
diff --git a/noncore/games/bounce/game.cpp b/noncore/games/bounce/game.cpp index 6ded218..c07f453 100644 --- a/noncore/games/bounce/game.cpp +++ b/noncore/games/bounce/game.cpp | |||
@@ -20,7 +20,6 @@ | |||
20 | #include <stdlib.h> | 20 | #include <stdlib.h> |
21 | #include <qtimer.h> | 21 | #include <qtimer.h> |
22 | #include <qpe/qpeapplication.h> | 22 | #include <qpe/qpeapplication.h> |
23 | #include <qimage.h> | ||
24 | 23 | ||
25 | #include "game.h" | 24 | #include "game.h" |
26 | 25 | ||
diff --git a/noncore/games/bounce/kbounce.cpp b/noncore/games/bounce/kbounce.cpp index 211f0ff..3b0cb6f 100644 --- a/noncore/games/bounce/kbounce.cpp +++ b/noncore/games/bounce/kbounce.cpp | |||
@@ -18,14 +18,10 @@ | |||
18 | 18 | ||
19 | #include <qlayout.h> | 19 | #include <qlayout.h> |
20 | #include <qtimer.h> | 20 | #include <qtimer.h> |
21 | #include <qlcdnumber.h> | ||
22 | #include <qmessagebox.h> | 21 | #include <qmessagebox.h> |
23 | #include <qmainwindow.h> | ||
24 | #include <qpe/qpeapplication.h> | ||
25 | 22 | ||
26 | #include "kbounce.h" | 23 | #include "kbounce.h" |
27 | #include "game.h" | 24 | #include "game.h" |
28 | #include <qlabel.h> | ||
29 | 25 | ||
30 | KJezzball::KJezzball(QWidget *p, const char* n, WFlags f) | 26 | KJezzball::KJezzball(QWidget *p, const char* n, WFlags f) |
31 | : QMainWindow(p,n,f), m_gameWidget( 0 ) | 27 | : QMainWindow(p,n,f), m_gameWidget( 0 ) |
diff --git a/noncore/games/bounce/main.cpp b/noncore/games/bounce/main.cpp index 9ea86a6..a070c4b 100644 --- a/noncore/games/bounce/main.cpp +++ b/noncore/games/bounce/main.cpp | |||
@@ -16,7 +16,6 @@ | |||
16 | * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | 16 | * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
17 | */ | 17 | */ |
18 | 18 | ||
19 | #include <qpe/qpeapplication.h> | ||
20 | #include "kbounce.h" | 19 | #include "kbounce.h" |
21 | #include <opie/oapplicationfactory.h> | 20 | #include <opie/oapplicationfactory.h> |
22 | 21 | ||
diff --git a/noncore/games/buzzword/buzzword.cpp b/noncore/games/buzzword/buzzword.cpp index f746065..13eb481 100644 --- a/noncore/games/buzzword/buzzword.cpp +++ b/noncore/games/buzzword/buzzword.cpp | |||
@@ -17,7 +17,6 @@ | |||
17 | */ | 17 | */ |
18 | 18 | ||
19 | #include <qlayout.h> | 19 | #include <qlayout.h> |
20 | #include <qmessagebox.h> | ||
21 | #include <qmainwindow.h> | 20 | #include <qmainwindow.h> |
22 | #include <qlabel.h> | 21 | #include <qlabel.h> |
23 | #include <qgrid.h> | 22 | #include <qgrid.h> |
diff --git a/noncore/games/buzzword/main.cpp b/noncore/games/buzzword/main.cpp index 67f2c26..95b3176 100644 --- a/noncore/games/buzzword/main.cpp +++ b/noncore/games/buzzword/main.cpp | |||
@@ -16,7 +16,6 @@ | |||
16 | * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | 16 | * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
17 | */ | 17 | */ |
18 | 18 | ||
19 | #include <qpe/qpeapplication.h> | ||
20 | #include <opie/oapplicationfactory.h> | 19 | #include <opie/oapplicationfactory.h> |
21 | 20 | ||
22 | #include "buzzword.h" | 21 | #include "buzzword.h" |
diff --git a/noncore/games/fifteen/fifteen.cpp b/noncore/games/fifteen/fifteen.cpp index b4e0308..506e87a 100644 --- a/noncore/games/fifteen/fifteen.cpp +++ b/noncore/games/fifteen/fifteen.cpp | |||
@@ -25,15 +25,10 @@ | |||
25 | 25 | ||
26 | #include <qvbox.h> | 26 | #include <qvbox.h> |
27 | #include <qaction.h> | 27 | #include <qaction.h> |
28 | #include <qlayout.h> | ||
29 | #include <qpainter.h> | 28 | #include <qpainter.h> |
30 | #include <qpopupmenu.h> | ||
31 | #include <qmessagebox.h> | 29 | #include <qmessagebox.h> |
32 | #include <qtoolbar.h> | 30 | #include <qtoolbar.h> |
33 | #include <qmenubar.h> | 31 | #include <qmenubar.h> |
34 | #include <qstringlist.h> | ||
35 | #include <qapplication.h> | ||
36 | #include <qtoolbutton.h> | ||
37 | 32 | ||
38 | #include <stdlib.h> | 33 | #include <stdlib.h> |
39 | #include <time.h> | 34 | #include <time.h> |
diff --git a/noncore/games/go/gowidget.cpp b/noncore/games/go/gowidget.cpp index cf89267..79820b1 100644 --- a/noncore/games/go/gowidget.cpp +++ b/noncore/games/go/gowidget.cpp | |||
@@ -24,18 +24,14 @@ | |||
24 | #include <qpe/resource.h> | 24 | #include <qpe/resource.h> |
25 | 25 | ||
26 | #include <qpainter.h> | 26 | #include <qpainter.h> |
27 | #include <qpixmap.h> | ||
28 | #include <qpe/qpetoolbar.h> | 27 | #include <qpe/qpetoolbar.h> |
29 | #include <qmenubar.h> | 28 | #include <qmenubar.h> |
30 | #include <qpopupmenu.h> | ||
31 | #include <qaction.h> | 29 | #include <qaction.h> |
32 | #include <qapplication.h> //processEvents() | 30 | #include <qapplication.h> //processEvents() |
33 | #include <qlabel.h> | 31 | #include <qlabel.h> |
34 | 32 | ||
35 | //#include <stdio.h> | 33 | //#include <stdio.h> |
36 | 34 | ||
37 | #include "amigo.h" | ||
38 | #include "goplayutils.h" | ||
39 | 35 | ||
40 | static const enum bVal computer_color = BLACK; | 36 | static const enum bVal computer_color = BLACK; |
41 | 37 | ||
diff --git a/noncore/games/go/main.cpp b/noncore/games/go/main.cpp index f24e3c3..66f34ab 100644 --- a/noncore/games/go/main.cpp +++ b/noncore/games/go/main.cpp | |||
@@ -20,7 +20,6 @@ | |||
20 | 20 | ||
21 | #include "gowidget.h" | 21 | #include "gowidget.h" |
22 | 22 | ||
23 | #include <qpe/qpeapplication.h> | ||
24 | 23 | ||
25 | #include <opie/oapplicationfactory.h> | 24 | #include <opie/oapplicationfactory.h> |
26 | 25 | ||
diff --git a/noncore/games/kbill/MCursor.cc b/noncore/games/kbill/MCursor.cc index a3cb340..c581693 100644 --- a/noncore/games/kbill/MCursor.cc +++ b/noncore/games/kbill/MCursor.cc | |||
@@ -15,12 +15,7 @@ | |||
15 | * * | 15 | * * |
16 | ***************************************************************************/ | 16 | ***************************************************************************/ |
17 | #include "MCursor.h" | 17 | #include "MCursor.h" |
18 | #include "objects.h" | ||
19 | 18 | ||
20 | #include <qcursor.h> | ||
21 | #include <qbitmap.h> | ||
22 | #include <qwidget.h> | ||
23 | #include <qstring.h> | ||
24 | #ifdef KDEVER | 19 | #ifdef KDEVER |
25 | #include <kapp.h> | 20 | #include <kapp.h> |
26 | #include <kstandarddirs.h> | 21 | #include <kstandarddirs.h> |
diff --git a/noncore/games/kbill/Picture.cc b/noncore/games/kbill/Picture.cc index fe0eff8..9d46257 100644 --- a/noncore/games/kbill/Picture.cc +++ b/noncore/games/kbill/Picture.cc | |||
@@ -15,11 +15,9 @@ | |||
15 | * * | 15 | * * |
16 | ***************************************************************************/ | 16 | ***************************************************************************/ |
17 | #include "Picture.h" | 17 | #include "Picture.h" |
18 | #include "objects.h" | ||
19 | 18 | ||
20 | #include <iostream> | 19 | #include <iostream> |
21 | 20 | ||
22 | #include <qstring.h> | ||
23 | #include <qpe/resource.h> | 21 | #include <qpe/resource.h> |
24 | #ifdef KDEVER | 22 | #ifdef KDEVER |
25 | #include <kapp.h> | 23 | #include <kapp.h> |
diff --git a/noncore/games/kbill/UI.cpp b/noncore/games/kbill/UI.cpp index 2afaf9b..611cebf 100644 --- a/noncore/games/kbill/UI.cpp +++ b/noncore/games/kbill/UI.cpp | |||
@@ -14,15 +14,12 @@ | |||
14 | * (at your option) any later version. * | 14 | * (at your option) any later version. * |
15 | * * | 15 | * * |
16 | ***************************************************************************/ | 16 | ***************************************************************************/ |
17 | #include "kbill.h" | ||
18 | #include "objects.h" | 17 | #include "objects.h" |
19 | #include "Strings.h" | 18 | #include "Strings.h" |
20 | #ifdef KDEVER | 19 | #ifdef KDEVER |
21 | #include <kapplication.h> | 20 | #include <kapplication.h> |
22 | #endif | 21 | #endif |
23 | #include <qpixmap.h> | ||
24 | #include <qmessagebox.h> | 22 | #include <qmessagebox.h> |
25 | #include <qnamespace.h> | ||
26 | 23 | ||
27 | #include "inputbox.h" | 24 | #include "inputbox.h" |
28 | 25 | ||
diff --git a/noncore/games/kbill/field.cpp b/noncore/games/kbill/field.cpp index a1b3560..a974ab2 100644 --- a/noncore/games/kbill/field.cpp +++ b/noncore/games/kbill/field.cpp | |||
@@ -15,7 +15,6 @@ | |||
15 | * * | 15 | * * |
16 | ***************************************************************************/ | 16 | ***************************************************************************/ |
17 | 17 | ||
18 | #include <qpainter.h> | ||
19 | 18 | ||
20 | #include "objects.h" | 19 | #include "objects.h" |
21 | 20 | ||
diff --git a/noncore/games/kbill/inputbox.cpp b/noncore/games/kbill/inputbox.cpp index b191ea8..5087fbb 100644 --- a/noncore/games/kbill/inputbox.cpp +++ b/noncore/games/kbill/inputbox.cpp | |||
@@ -16,7 +16,6 @@ | |||
16 | ***************************************************************************/ | 16 | ***************************************************************************/ |
17 | 17 | ||
18 | #include "inputbox.h" | 18 | #include "inputbox.h" |
19 | #include <qdialog.h> | ||
20 | InputBox::InputBox(QWidget *parent, const char *name, const char *caption, const char *text) : QDialog(parent, name, TRUE) { | 19 | InputBox::InputBox(QWidget *parent, const char *name, const char *caption, const char *text) : QDialog(parent, name, TRUE) { |
21 | // setCaption(caption); | 20 | // setCaption(caption); |
22 | // | 21 | // |
diff --git a/noncore/games/kbill/kbill.cpp b/noncore/games/kbill/kbill.cpp index 18a6875..74d7c75 100644 --- a/noncore/games/kbill/kbill.cpp +++ b/noncore/games/kbill/kbill.cpp | |||
@@ -16,13 +16,9 @@ | |||
16 | ***************************************************************************/ | 16 | ***************************************************************************/ |
17 | 17 | ||
18 | #include <qmessagebox.h> | 18 | #include <qmessagebox.h> |
19 | #include <qmultilinedit.h> | ||
20 | #include <qmenubar.h> | 19 | #include <qmenubar.h> |
21 | #include <qtextbrowser.h> | 20 | #include <qtextbrowser.h> |
22 | #include <qfont.h> | ||
23 | #include <qwidget.h> | ||
24 | #include "kbill.h" | 21 | #include "kbill.h" |
25 | #include "inputbox.h" | ||
26 | #include "helpdialog.h" | 22 | #include "helpdialog.h" |
27 | #include "objects.h" | 23 | #include "objects.h" |
28 | #include "Strings.h" | 24 | #include "Strings.h" |
diff --git a/noncore/games/kcheckers/kcheckers.cpp b/noncore/games/kcheckers/kcheckers.cpp index 2eb37e5..a27dd18 100644 --- a/noncore/games/kcheckers/kcheckers.cpp +++ b/noncore/games/kcheckers/kcheckers.cpp | |||
@@ -1,6 +1,5 @@ | |||
1 | 1 | ||
2 | #include <qimage.h> | 2 | #include <qimage.h> |
3 | #include <qframe.h> | ||
4 | #include <qlayout.h> | 3 | #include <qlayout.h> |
5 | #include <qmenubar.h> | 4 | #include <qmenubar.h> |
6 | #include <qtoolbar.h> | 5 | #include <qtoolbar.h> |
diff --git a/noncore/games/kcheckers/main.cpp b/noncore/games/kcheckers/main.cpp index 6ac570a..e22dbcc 100644 --- a/noncore/games/kcheckers/main.cpp +++ b/noncore/games/kcheckers/main.cpp | |||
@@ -1,6 +1,4 @@ | |||
1 | 1 | ||
2 | #include <qpe/qpeapplication.h> | ||
3 | #include <qfont.h> | ||
4 | 2 | ||
5 | #include "kcheckers.h" | 3 | #include "kcheckers.h" |
6 | #include <opie/oapplicationfactory.h> | 4 | #include <opie/oapplicationfactory.h> |
diff --git a/noncore/games/kpacman/board.cpp b/noncore/games/kpacman/board.cpp index f95f699..f82b5f9 100644 --- a/noncore/games/kpacman/board.cpp +++ b/noncore/games/kpacman/board.cpp | |||
@@ -1,13 +1,10 @@ | |||
1 | 1 | ||
2 | #include "portable.h" | ||
3 | 2 | ||
4 | #if defined( KDE2_PORT ) | 3 | #if defined( KDE2_PORT ) |
5 | #include <kapp.h> | 4 | #include <kapp.h> |
6 | #include <klocale.h> | 5 | #include <klocale.h> |
7 | #endif | 6 | #endif |
8 | 7 | ||
9 | #include <qrect.h> | ||
10 | #include <qregexp.h> | ||
11 | #include <qmessagebox.h> | 8 | #include <qmessagebox.h> |
12 | #include <qfile.h> | 9 | #include <qfile.h> |
13 | #include <qtextstream.h> | 10 | #include <qtextstream.h> |
diff --git a/noncore/games/kpacman/keys.cpp b/noncore/games/kpacman/keys.cpp index 07ce135..5200bc2 100644 --- a/noncore/games/kpacman/keys.cpp +++ b/noncore/games/kpacman/keys.cpp | |||
@@ -18,11 +18,6 @@ | |||
18 | #endif | 18 | #endif |
19 | 19 | ||
20 | #include <qpushbt.h> | 20 | #include <qpushbt.h> |
21 | #include <qlabel.h> | ||
22 | #include <qframe.h> | ||
23 | #include <qkeycode.h> | ||
24 | #include <qpixmap.h> | ||
25 | #include <qstring.h> | ||
26 | 21 | ||
27 | Keys::Keys( QWidget *parent, const char *name) | 22 | Keys::Keys( QWidget *parent, const char *name) |
28 | : QDialog( parent, name, TRUE ) | 23 | : QDialog( parent, name, TRUE ) |
diff --git a/noncore/games/kpacman/kpacman.cpp b/noncore/games/kpacman/kpacman.cpp index df27c76..be2e46d 100644 --- a/noncore/games/kpacman/kpacman.cpp +++ b/noncore/games/kpacman/kpacman.cpp | |||
@@ -12,11 +12,6 @@ | |||
12 | #include "kpacman.h" | 12 | #include "kpacman.h" |
13 | #endif | 13 | #endif |
14 | 14 | ||
15 | #include <qkeycode.h> | ||
16 | #include <qcolor.h> | ||
17 | #include <qstring.h> | ||
18 | #include <qpopmenu.h> | ||
19 | #include <qmsgbox.h> | ||
20 | 15 | ||
21 | Kpacman::Kpacman(QWidget *parent, const char *name) | 16 | Kpacman::Kpacman(QWidget *parent, const char *name) |
22 | : KTMainWindow(parent, name) | 17 | : KTMainWindow(parent, name) |
diff --git a/noncore/games/kpacman/kpacmanwidget.cpp b/noncore/games/kpacman/kpacmanwidget.cpp index 823d2bf..9631495 100644 --- a/noncore/games/kpacman/kpacmanwidget.cpp +++ b/noncore/games/kpacman/kpacmanwidget.cpp | |||
@@ -13,12 +13,7 @@ | |||
13 | #include "kpacmanwidget.h" | 13 | #include "kpacmanwidget.h" |
14 | #endif | 14 | #endif |
15 | 15 | ||
16 | #include <qmessagebox.h> | ||
17 | 16 | ||
18 | #include "bitfont.h" | ||
19 | #include "score.h" | ||
20 | #include "referee.h" | ||
21 | #include "status.h" | ||
22 | 17 | ||
23 | KpacmanWidget::KpacmanWidget( QWidget *parent, const char *name) | 18 | KpacmanWidget::KpacmanWidget( QWidget *parent, const char *name) |
24 | : QWidget( parent, name ) | 19 | : QWidget( parent, name ) |
diff --git a/noncore/games/kpacman/monster.cpp b/noncore/games/kpacman/monster.cpp index 2f402b4..80b4655 100644 --- a/noncore/games/kpacman/monster.cpp +++ b/noncore/games/kpacman/monster.cpp | |||
@@ -1,5 +1,4 @@ | |||
1 | #include "monster.h" | 1 | #include "monster.h" |
2 | #include "board.h" | ||
3 | 2 | ||
4 | Monster::Monster(Board *b, int mid) | 3 | Monster::Monster(Board *b, int mid) |
5 | { | 4 | { |
diff --git a/noncore/games/kpacman/pacman.cpp b/noncore/games/kpacman/pacman.cpp index 40f60a8..82524b4 100644 --- a/noncore/games/kpacman/pacman.cpp +++ b/noncore/games/kpacman/pacman.cpp | |||
@@ -1,5 +1,4 @@ | |||
1 | #include "pacman.h" | 1 | #include "pacman.h" |
2 | #include "board.h" | ||
3 | 2 | ||
4 | Pacman::Pacman(Board *b) | 3 | Pacman::Pacman(Board *b) |
5 | { | 4 | { |
diff --git a/noncore/games/kpacman/painter.cpp b/noncore/games/kpacman/painter.cpp index d8c7460..410d3f5 100644 --- a/noncore/games/kpacman/painter.cpp +++ b/noncore/games/kpacman/painter.cpp | |||
@@ -10,18 +10,10 @@ | |||
10 | #include <qpe/config.h> | 10 | #include <qpe/config.h> |
11 | #endif | 11 | #endif |
12 | 12 | ||
13 | #include <qcolor.h> | 13 | |
14 | #include <qpainter.h> | ||
15 | #include <qpixmap.h> | ||
16 | #include <qbitmap.h> | ||
17 | #include <qrect.h> | ||
18 | #include <qstring.h> | ||
19 | |||
20 | #include <qmessagebox.h> | ||
21 | #include <qfileinfo.h> | 14 | #include <qfileinfo.h> |
22 | 15 | ||
23 | #include "painter.h" | 16 | #include "painter.h" |
24 | #include "board.h" | ||
25 | 17 | ||
26 | Painter::Painter( Board *b, QWidget *parent, int Scheme, int Mode, Bitfont *font) | 18 | Painter::Painter( Board *b, QWidget *parent, int Scheme, int Mode, Bitfont *font) |
27 | { | 19 | { |
diff --git a/noncore/games/kpacman/referee.cpp b/noncore/games/kpacman/referee.cpp index 1b810d8..2d0f3be 100644 --- a/noncore/games/kpacman/referee.cpp +++ b/noncore/games/kpacman/referee.cpp | |||
@@ -15,19 +15,10 @@ | |||
15 | #include "referee.h" | 15 | #include "referee.h" |
16 | #endif | 16 | #endif |
17 | 17 | ||
18 | #include <qdatetm.h> | ||
19 | #include <stdlib.h> | 18 | #include <stdlib.h> |
20 | #include <qtimer.h> | 19 | #include <qtimer.h> |
21 | #include <qevent.h> | ||
22 | #include <qcolor.h> | ||
23 | #include <qkeycode.h> | ||
24 | #include <qfileinfo.h> | 20 | #include <qfileinfo.h> |
25 | 21 | ||
26 | #include "board.h" | ||
27 | #include "pacman.h" | ||
28 | #include "monster.h" | ||
29 | #include "fruit.h" | ||
30 | #include "painter.h" | ||
31 | 22 | ||
32 | Referee::Referee( QWidget *parent, const char *name, int Scheme, int Mode, Bitfont *font) | 23 | Referee::Referee( QWidget *parent, const char *name, int Scheme, int Mode, Bitfont *font) |
33 | : QWidget( parent, name ) | 24 | : QWidget( parent, name ) |
diff --git a/noncore/games/kpacman/score.cpp b/noncore/games/kpacman/score.cpp index e91771b..6878b81 100644 --- a/noncore/games/kpacman/score.cpp +++ b/noncore/games/kpacman/score.cpp | |||
@@ -19,14 +19,8 @@ | |||
19 | #include <stdlib.h> | 19 | #include <stdlib.h> |
20 | #include <ctype.h> | 20 | #include <ctype.h> |
21 | 21 | ||
22 | #include <qpixmap.h> | ||
23 | #include <qstring.h> | ||
24 | #include <qdstream.h> | ||
25 | #include <qkeycode.h> | ||
26 | #include <qtimer.h> | 22 | #include <qtimer.h> |
27 | #include <qfileinfo.h> | ||
28 | 23 | ||
29 | #include "bitfont.h" | ||
30 | 24 | ||
31 | Score::Score(QWidget *parent, const char *name, int Scheme, int Mode, Bitfont *font) : QWidget(parent, name) | 25 | Score::Score(QWidget *parent, const char *name, int Scheme, int Mode, Bitfont *font) : QWidget(parent, name) |
32 | { | 26 | { |
diff --git a/noncore/games/kpacman/status.cpp b/noncore/games/kpacman/status.cpp index 2a17c21..02ff63d 100644 --- a/noncore/games/kpacman/status.cpp +++ b/noncore/games/kpacman/status.cpp | |||
@@ -13,9 +13,7 @@ | |||
13 | #include "status.h" | 13 | #include "status.h" |
14 | #endif | 14 | #endif |
15 | 15 | ||
16 | #include <qpixmap.h> | ||
17 | #include <qbitmap.h> | 16 | #include <qbitmap.h> |
18 | #include <qstring.h> | ||
19 | #include <qmsgbox.h> | 17 | #include <qmsgbox.h> |
20 | #include <qfileinfo.h> | 18 | #include <qfileinfo.h> |
21 | 19 | ||
diff --git a/noncore/games/mindbreaker/mindbreaker.cpp b/noncore/games/mindbreaker/mindbreaker.cpp index e1f43d0..2b924c6 100644 --- a/noncore/games/mindbreaker/mindbreaker.cpp +++ b/noncore/games/mindbreaker/mindbreaker.cpp | |||
@@ -25,12 +25,8 @@ | |||
25 | #include <qtopia/qpeapplication.h> | 25 | #include <qtopia/qpeapplication.h> |
26 | #include <qtoolbar.h> | 26 | #include <qtoolbar.h> |
27 | 27 | ||
28 | #include <qpainter.h> | ||
29 | #include <qpixmap.h> | ||
30 | #include <qtoolbutton.h> | 28 | #include <qtoolbutton.h> |
31 | #include <qpushbutton.h> | ||
32 | #include <qmessagebox.h> | 29 | #include <qmessagebox.h> |
33 | #include <qlabel.h> | ||
34 | #include <qlayout.h> | 30 | #include <qlayout.h> |
35 | #include <qtimer.h> | 31 | #include <qtimer.h> |
36 | 32 | ||
diff --git a/noncore/games/minesweep/main.cpp b/noncore/games/minesweep/main.cpp index bd70f7c..e187be5 100644 --- a/noncore/games/minesweep/main.cpp +++ b/noncore/games/minesweep/main.cpp | |||
@@ -20,7 +20,6 @@ | |||
20 | 20 | ||
21 | #include "minesweep.h" | 21 | #include "minesweep.h" |
22 | 22 | ||
23 | #include <qpe/qpeapplication.h> | ||
24 | #include <opie/oapplicationfactory.h> | 23 | #include <opie/oapplicationfactory.h> |
25 | 24 | ||
26 | OPIE_EXPORT_APP( OApplicationFactory<MineSweep> ) | 25 | OPIE_EXPORT_APP( OApplicationFactory<MineSweep> ) |
diff --git a/noncore/games/minesweep/minefield.cpp b/noncore/games/minesweep/minefield.cpp index 1790110..72c05b0 100644 --- a/noncore/games/minesweep/minefield.cpp +++ b/noncore/games/minesweep/minefield.cpp | |||
@@ -22,10 +22,6 @@ | |||
22 | #include <qtopia/config.h> | 22 | #include <qtopia/config.h> |
23 | #include <qtopia/qpeapplication.h> | 23 | #include <qtopia/qpeapplication.h> |
24 | 24 | ||
25 | #include <qpainter.h> | ||
26 | #include <qdrawutil.h> | ||
27 | #include <qpixmap.h> | ||
28 | #include <qimage.h> | ||
29 | #include <qtimer.h> | 25 | #include <qtimer.h> |
30 | 26 | ||
31 | #include <stdlib.h> | 27 | #include <stdlib.h> |
diff --git a/noncore/games/minesweep/minesweep.cpp b/noncore/games/minesweep/minesweep.cpp index d707dab..4a6a92c 100644 --- a/noncore/games/minesweep/minesweep.cpp +++ b/noncore/games/minesweep/minesweep.cpp | |||
@@ -27,14 +27,9 @@ | |||
27 | 27 | ||
28 | #include <qtoolbar.h> | 28 | #include <qtoolbar.h> |
29 | #include <qmenubar.h> | 29 | #include <qmenubar.h> |
30 | #include <qpopupmenu.h> | ||
31 | #include <qpushbutton.h> | 30 | #include <qpushbutton.h> |
32 | #include <qlcdnumber.h> | 31 | #include <qlcdnumber.h> |
33 | #include <qmessagebox.h> | ||
34 | #include <qtimer.h> | 32 | #include <qtimer.h> |
35 | #include <qpalette.h> | ||
36 | #include <qapplication.h> | ||
37 | #include <qlayout.h> | ||
38 | #include <qlabel.h> | 33 | #include <qlabel.h> |
39 | 34 | ||
40 | #include <stdlib.h> | 35 | #include <stdlib.h> |
diff --git a/noncore/games/oyatzee/oyatzee.cpp b/noncore/games/oyatzee/oyatzee.cpp index 0bd22f6..86318db 100644 --- a/noncore/games/oyatzee/oyatzee.cpp +++ b/noncore/games/oyatzee/oyatzee.cpp | |||
@@ -1,15 +1,9 @@ | |||
1 | #include "oyatzee.h" | 1 | #include "oyatzee.h" |
2 | 2 | ||
3 | #include <qmessagebox.h> | 3 | #include <qmessagebox.h> |
4 | #include <qapplication.h> | ||
5 | #include <qdir.h> | ||
6 | #include <qlabel.h> | ||
7 | #include <qpushbutton.h> | 4 | #include <qpushbutton.h> |
8 | #include <qtimer.h> | ||
9 | #include <qvbox.h> | ||
10 | #include <qpainter.h> | 5 | #include <qpainter.h> |
11 | #include <qlayout.h> | 6 | #include <qlayout.h> |
12 | #include <qpoint.h> | ||
13 | 7 | ||
14 | #include <stdlib.h> | 8 | #include <stdlib.h> |
15 | 9 | ||
diff --git a/noncore/games/parashoot/base.cpp b/noncore/games/parashoot/base.cpp index cdf1dfa..5f3c79d 100644 --- a/noncore/games/parashoot/base.cpp +++ b/noncore/games/parashoot/base.cpp | |||
@@ -19,11 +19,9 @@ | |||
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | #include "codes.h" | 20 | #include "codes.h" |
21 | #include "base.h" | 21 | #include "base.h" |
22 | #include "man.h" | ||
23 | 22 | ||
24 | #include <qtopia/resource.h> | 23 | #include <qtopia/resource.h> |
25 | 24 | ||
26 | #include <qregexp.h> | ||
27 | 25 | ||
28 | int damage; | 26 | int damage; |
29 | 27 | ||
diff --git a/noncore/games/parashoot/cannon.cpp b/noncore/games/parashoot/cannon.cpp index 5671351..330d850 100644 --- a/noncore/games/parashoot/cannon.cpp +++ b/noncore/games/parashoot/cannon.cpp | |||
@@ -20,7 +20,6 @@ | |||
20 | 20 | ||
21 | #include <qtopia/resource.h> | 21 | #include <qtopia/resource.h> |
22 | 22 | ||
23 | #include <qregexp.h> | ||
24 | 23 | ||
25 | #include "codes.h" | 24 | #include "codes.h" |
26 | #include "cannon.h" | 25 | #include "cannon.h" |
diff --git a/noncore/games/parashoot/helicopter.cpp b/noncore/games/parashoot/helicopter.cpp index 036b21e..7d91cd1 100644 --- a/noncore/games/parashoot/helicopter.cpp +++ b/noncore/games/parashoot/helicopter.cpp | |||
@@ -24,7 +24,6 @@ | |||
24 | 24 | ||
25 | #include <qtopia/resource.h> | 25 | #include <qtopia/resource.h> |
26 | 26 | ||
27 | #include <qregexp.h> | ||
28 | 27 | ||
29 | static QList<Helicopter> all; | 28 | static QList<Helicopter> all; |
30 | 29 | ||
diff --git a/noncore/games/parashoot/interface.cpp b/noncore/games/parashoot/interface.cpp index 948b92c..5c9b0ef 100644 --- a/noncore/games/parashoot/interface.cpp +++ b/noncore/games/parashoot/interface.cpp | |||
@@ -24,10 +24,6 @@ | |||
24 | #include <qtopia/qpeapplication.h> | 24 | #include <qtopia/qpeapplication.h> |
25 | #include <qtopia/resource.h> | 25 | #include <qtopia/resource.h> |
26 | 26 | ||
27 | #include <qlabel.h> | ||
28 | #include <qmessagebox.h> | ||
29 | #include <qapplication.h> | ||
30 | #include <qstyle.h> | ||
31 | #include <qtoolbar.h> | 27 | #include <qtoolbar.h> |
32 | #include <qtoolbutton.h> | 28 | #include <qtoolbutton.h> |
33 | 29 | ||
diff --git a/noncore/games/parashoot/main.cpp b/noncore/games/parashoot/main.cpp index ee36d26..40f809f 100644 --- a/noncore/games/parashoot/main.cpp +++ b/noncore/games/parashoot/main.cpp | |||
@@ -20,7 +20,6 @@ | |||
20 | 20 | ||
21 | #include "interface.h" | 21 | #include "interface.h" |
22 | 22 | ||
23 | #include <qpe/qpeapplication.h> | ||
24 | #include <opie/oapplicationfactory.h> | 23 | #include <opie/oapplicationfactory.h> |
25 | 24 | ||
26 | OPIE_EXPORT_APP( OApplicationFactory<ParaShoot> ) | 25 | OPIE_EXPORT_APP( OApplicationFactory<ParaShoot> ) |
diff --git a/noncore/games/parashoot/man.cpp b/noncore/games/parashoot/man.cpp index 94807c2..0a151b0 100644 --- a/noncore/games/parashoot/man.cpp +++ b/noncore/games/parashoot/man.cpp | |||
@@ -24,7 +24,6 @@ | |||
24 | 24 | ||
25 | #include <qtopia/resource.h> | 25 | #include <qtopia/resource.h> |
26 | 26 | ||
27 | #include <qregexp.h> | ||
28 | 27 | ||
29 | int mancount; | 28 | int mancount; |
30 | 29 | ||
diff --git a/noncore/games/qasteroids/main.cpp b/noncore/games/qasteroids/main.cpp index c762990..18a13eb 100644 --- a/noncore/games/qasteroids/main.cpp +++ b/noncore/games/qasteroids/main.cpp | |||
@@ -20,7 +20,6 @@ | |||
20 | 20 | ||
21 | #include "toplevel.h" | 21 | #include "toplevel.h" |
22 | 22 | ||
23 | #include <qpe/qpeapplication.h> | ||
24 | #include <opie/oapplicationfactory.h> | 23 | #include <opie/oapplicationfactory.h> |
25 | 24 | ||
26 | 25 | ||
diff --git a/noncore/games/qasteroids/toplevel.cpp b/noncore/games/qasteroids/toplevel.cpp index c4fea89..9053d3d 100644 --- a/noncore/games/qasteroids/toplevel.cpp +++ b/noncore/games/qasteroids/toplevel.cpp | |||
@@ -29,11 +29,9 @@ | |||
29 | #include <qpe/qpeapplication.h> | 29 | #include <qpe/qpeapplication.h> |
30 | #include <qpe/resource.h> | 30 | #include <qpe/resource.h> |
31 | 31 | ||
32 | #include <qaccel.h> | ||
33 | #include <qlabel.h> | 32 | #include <qlabel.h> |
34 | #include <qlayout.h> | 33 | #include <qlayout.h> |
35 | #include <qlcdnumber.h> | 34 | #include <qlcdnumber.h> |
36 | #include <qpushbutton.h> | ||
37 | 35 | ||
38 | #include <sys/utsname.h> | 36 | #include <sys/utsname.h> |
39 | 37 | ||
diff --git a/noncore/games/qasteroids/view.cpp b/noncore/games/qasteroids/view.cpp index 448a54a..352c63b 100644 --- a/noncore/games/qasteroids/view.cpp +++ b/noncore/games/qasteroids/view.cpp | |||
@@ -26,9 +26,6 @@ | |||
26 | 26 | ||
27 | #include <qpe/resource.h> | 27 | #include <qpe/resource.h> |
28 | 28 | ||
29 | #include <qapplication.h> | ||
30 | #include <qkeycode.h> | ||
31 | #include <qaccel.h> | ||
32 | 29 | ||
33 | #include <stdlib.h> | 30 | #include <stdlib.h> |
34 | #include <math.h> | 31 | #include <math.h> |
diff --git a/noncore/games/sfcave/helpwindow.cpp b/noncore/games/sfcave/helpwindow.cpp index 544e237..8a5d034 100644 --- a/noncore/games/sfcave/helpwindow.cpp +++ b/noncore/games/sfcave/helpwindow.cpp | |||
@@ -15,9 +15,7 @@ | |||
15 | * * | 15 | * * |
16 | ***************************************************************************/ | 16 | ***************************************************************************/ |
17 | 17 | ||
18 | #include <qwidget.h> | ||
19 | #include <qlayout.h> | 18 | #include <qlayout.h> |
20 | #include <qstring.h> | ||
21 | #include <qtextview.h> | 19 | #include <qtextview.h> |
22 | 20 | ||
23 | #include <qpe/qpeapplication.h> | 21 | #include <qpe/qpeapplication.h> |
diff --git a/noncore/games/snake/interface.cpp b/noncore/games/snake/interface.cpp index 2c60693..b5fb5bf 100644 --- a/noncore/games/snake/interface.cpp +++ b/noncore/games/snake/interface.cpp | |||
@@ -21,13 +21,9 @@ | |||
21 | #include "interface.h" | 21 | #include "interface.h" |
22 | 22 | ||
23 | #include <qpe/resource.h> | 23 | #include <qpe/resource.h> |
24 | #include <qpe/qpeapplication.h> | ||
25 | 24 | ||
26 | #include <qpe/qpetoolbar.h> | 25 | #include <qpe/qpetoolbar.h> |
27 | #include <qtoolbutton.h> | 26 | #include <qtoolbutton.h> |
28 | #include <qstyle.h> | ||
29 | #include <qapplication.h> | ||
30 | #include <qmessagebox.h> | ||
31 | 27 | ||
32 | SnakeGame::SnakeGame(QWidget* parent, const char* name, WFlags f) : | 28 | SnakeGame::SnakeGame(QWidget* parent, const char* name, WFlags f) : |
33 | QMainWindow(parent,name,f), | 29 | QMainWindow(parent,name,f), |
diff --git a/noncore/games/snake/main.cpp b/noncore/games/snake/main.cpp index 77a2769..9a9b167 100644 --- a/noncore/games/snake/main.cpp +++ b/noncore/games/snake/main.cpp | |||
@@ -20,7 +20,6 @@ | |||
20 | 20 | ||
21 | #include "interface.h" | 21 | #include "interface.h" |
22 | 22 | ||
23 | #include <qpe/qpeapplication.h> | ||
24 | #include <opie/oapplicationfactory.h> | 23 | #include <opie/oapplicationfactory.h> |
25 | 24 | ||
26 | 25 | ||
diff --git a/noncore/games/snake/snake.cpp b/noncore/games/snake/snake.cpp index 9f19841..8a683ab 100644 --- a/noncore/games/snake/snake.cpp +++ b/noncore/games/snake/snake.cpp | |||
@@ -20,11 +20,9 @@ | |||
20 | 20 | ||
21 | #include "snake.h" | 21 | #include "snake.h" |
22 | #include "target.h" | 22 | #include "target.h" |
23 | #include "codes.h" | ||
24 | 23 | ||
25 | #include <qpe/resource.h> | 24 | #include <qpe/resource.h> |
26 | 25 | ||
27 | #include <qregexp.h> | ||
28 | 26 | ||
29 | static int Piecekey[4][4] = { {6, 0, 4, 3 }, {0, 6, 2, 1 }, { 1, 3, 5, 0 }, {2, 4, 0, 5 } }; | 27 | static int Piecekey[4][4] = { {6, 0, 4, 3 }, {0, 6, 2, 1 }, { 1, 3, 5, 0 }, {2, 4, 0, 5 } }; |
30 | 28 | ||
diff --git a/noncore/games/solitaire/canvascard.cpp b/noncore/games/solitaire/canvascard.cpp index 7c4a5ba..c36da6c 100644 --- a/noncore/games/solitaire/canvascard.cpp +++ b/noncore/games/solitaire/canvascard.cpp | |||
@@ -18,15 +18,10 @@ | |||
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | 20 | ||
21 | #include "cardgame.h" | ||
22 | #include "canvascard.h" | 21 | #include "canvascard.h" |
23 | 22 | ||
24 | #include <qpe/resource.h> | 23 | #include <qpe/resource.h> |
25 | 24 | ||
26 | #include <qpainter.h> | ||
27 | #include <qimage.h> | ||
28 | #include <qpaintdevice.h> | ||
29 | #include <qbitmap.h> | ||
30 | #include <qgfx_qws.h> // Needed to get the device's width | 25 | #include <qgfx_qws.h> // Needed to get the device's width |
31 | 26 | ||
32 | #include <math.h> | 27 | #include <math.h> |
diff --git a/noncore/games/solitaire/canvascardgame.cpp b/noncore/games/solitaire/canvascardgame.cpp index 9ae2a23..ed5748e 100644 --- a/noncore/games/solitaire/canvascardgame.cpp +++ b/noncore/games/solitaire/canvascardgame.cpp | |||
@@ -18,17 +18,9 @@ | |||
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | 20 | ||
21 | #include "cardgame.h" | ||
22 | #include "canvasshapes.h" | ||
23 | #include "canvascard.h" | ||
24 | #include "canvascardgame.h" | 21 | #include "canvascardgame.h" |
25 | 22 | ||
26 | #include <qpe/resource.h> | ||
27 | #include <qpe/config.h> | ||
28 | 23 | ||
29 | #include <qmainwindow.h> | ||
30 | #include <qmenubar.h> | ||
31 | #include <qpainter.h> | ||
32 | #include <qgfx_qws.h> | 24 | #include <qgfx_qws.h> |
33 | 25 | ||
34 | #include <stdlib.h> | 26 | #include <stdlib.h> |
diff --git a/noncore/games/solitaire/canvascardwindow.cpp b/noncore/games/solitaire/canvascardwindow.cpp index c12344a..503bc92 100644 --- a/noncore/games/solitaire/canvascardwindow.cpp +++ b/noncore/games/solitaire/canvascardwindow.cpp | |||
@@ -19,17 +19,12 @@ | |||
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | 20 | ||
21 | #include "canvascardwindow.h" | 21 | #include "canvascardwindow.h" |
22 | #include "patiencecardgame.h" | ||
23 | #include "freecellcardgame.h" | 22 | #include "freecellcardgame.h" |
24 | #include "chicanecardgame.h" | 23 | #include "chicanecardgame.h" |
25 | #include "harpcardgame.h" | 24 | #include "harpcardgame.h" |
26 | #include "teeclubcardgame.h" | 25 | #include "teeclubcardgame.h" |
27 | 26 | ||
28 | #include <qpe/resource.h> | ||
29 | 27 | ||
30 | #include <qmainwindow.h> | ||
31 | #include <qpopupmenu.h> | ||
32 | #include <qstyle.h> | ||
33 | 28 | ||
34 | 29 | ||
35 | CanvasCardWindow::CanvasCardWindow(QWidget* parent, const char* name, WFlags f) : | 30 | CanvasCardWindow::CanvasCardWindow(QWidget* parent, const char* name, WFlags f) : |
diff --git a/noncore/games/solitaire/canvasshapes.cpp b/noncore/games/solitaire/canvasshapes.cpp index 6ccd4a4..011958d 100644 --- a/noncore/games/solitaire/canvasshapes.cpp +++ b/noncore/games/solitaire/canvasshapes.cpp | |||
@@ -17,8 +17,6 @@ | |||
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | #include <qpainter.h> | ||
21 | #include <qcanvas.h> | ||
22 | #include <qgfx_qws.h> | 20 | #include <qgfx_qws.h> |
23 | #include "canvasshapes.h" | 21 | #include "canvasshapes.h" |
24 | 22 | ||
diff --git a/noncore/games/solitaire/card.cpp b/noncore/games/solitaire/card.cpp index 609e280..52e38ac 100644 --- a/noncore/games/solitaire/card.cpp +++ b/noncore/games/solitaire/card.cpp | |||
@@ -20,10 +20,7 @@ | |||
20 | 20 | ||
21 | #include "card.h" | 21 | #include "card.h" |
22 | 22 | ||
23 | #include <qpe/config.h> | ||
24 | 23 | ||
25 | #include <qpoint.h> | ||
26 | #include <qlist.h> | ||
27 | 24 | ||
28 | /* | 25 | /* |
29 | Card( eValue v, eSuit s, bool f ) : | 26 | Card( eValue v, eSuit s, bool f ) : |
diff --git a/noncore/games/solitaire/cardpile.cpp b/noncore/games/solitaire/cardpile.cpp index aace2e2..1d572be 100644 --- a/noncore/games/solitaire/cardpile.cpp +++ b/noncore/games/solitaire/cardpile.cpp | |||
@@ -22,9 +22,7 @@ | |||
22 | #include "card.h" | 22 | #include "card.h" |
23 | 23 | ||
24 | #include <qpe/config.h> | 24 | #include <qpe/config.h> |
25 | #include <qpoint.h> | ||
26 | 25 | ||
27 | #include <qlist.h> | ||
28 | 26 | ||
29 | 27 | ||
30 | CardPile::CardPile(int x, int y) : pileX(x), pileY(y), dealing(FALSE), PileResize(FALSE) { | 28 | CardPile::CardPile(int x, int y) : pileX(x), pileY(y), dealing(FALSE), PileResize(FALSE) { |
diff --git a/noncore/games/solitaire/chicanecardgame.cpp b/noncore/games/solitaire/chicanecardgame.cpp index 6729a94..6c607b9 100644 --- a/noncore/games/solitaire/chicanecardgame.cpp +++ b/noncore/games/solitaire/chicanecardgame.cpp | |||
@@ -26,7 +26,6 @@ | |||
26 | **deal 8 cards at once | 26 | **deal 8 cards at once |
27 | ** | 27 | ** |
28 | **********************************************************************/ | 28 | **********************************************************************/ |
29 | #include <qgfx_qws.h> | ||
30 | #include "chicanecardgame.h" | 29 | #include "chicanecardgame.h" |
31 | 30 | ||
32 | 31 | ||
diff --git a/noncore/games/solitaire/freecellcardgame.cpp b/noncore/games/solitaire/freecellcardgame.cpp index aeb32fc..d474f4e 100644 --- a/noncore/games/solitaire/freecellcardgame.cpp +++ b/noncore/games/solitaire/freecellcardgame.cpp | |||
@@ -17,7 +17,6 @@ | |||
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | #include <qgfx_qws.h> | ||
21 | #include "freecellcardgame.h" | 20 | #include "freecellcardgame.h" |
22 | 21 | ||
23 | 22 | ||
diff --git a/noncore/games/solitaire/harpcardgame.cpp b/noncore/games/solitaire/harpcardgame.cpp index 0711622..d13d73b 100644 --- a/noncore/games/solitaire/harpcardgame.cpp +++ b/noncore/games/solitaire/harpcardgame.cpp | |||
@@ -28,7 +28,6 @@ | |||
28 | ** | 28 | ** |
29 | ** | 29 | ** |
30 | **********************************************************************/ | 30 | **********************************************************************/ |
31 | #include <qgfx_qws.h> | ||
32 | #include "harpcardgame.h" | 31 | #include "harpcardgame.h" |
33 | 32 | ||
34 | 33 | ||
diff --git a/noncore/games/solitaire/main.cpp b/noncore/games/solitaire/main.cpp index bd3cf8b..9301171 100644 --- a/noncore/games/solitaire/main.cpp +++ b/noncore/games/solitaire/main.cpp | |||
@@ -20,7 +20,6 @@ | |||
20 | 20 | ||
21 | #include "canvascardwindow.h" | 21 | #include "canvascardwindow.h" |
22 | 22 | ||
23 | #include <qpe/qpeapplication.h> | ||
24 | #include <opie/oapplicationfactory.h> | 23 | #include <opie/oapplicationfactory.h> |
25 | 24 | ||
26 | OPIE_EXPORT_APP( OApplicationFactory<CanvasCardWindow> ) \ No newline at end of file | 25 | OPIE_EXPORT_APP( OApplicationFactory<CanvasCardWindow> ) \ No newline at end of file |
diff --git a/noncore/games/solitaire/patiencecardgame.cpp b/noncore/games/solitaire/patiencecardgame.cpp index 96a599c..756577a 100644 --- a/noncore/games/solitaire/patiencecardgame.cpp +++ b/noncore/games/solitaire/patiencecardgame.cpp | |||
@@ -17,7 +17,6 @@ | |||
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | #include <qgfx_qws.h> | ||
21 | #include "patiencecardgame.h" | 20 | #include "patiencecardgame.h" |
22 | 21 | ||
23 | 22 | ||
diff --git a/noncore/games/solitaire/teeclubcardgame.cpp b/noncore/games/solitaire/teeclubcardgame.cpp index 0941e0d..b1af757 100644 --- a/noncore/games/solitaire/teeclubcardgame.cpp +++ b/noncore/games/solitaire/teeclubcardgame.cpp | |||
@@ -28,7 +28,6 @@ | |||
28 | ** | 28 | ** |
29 | ** | 29 | ** |
30 | **********************************************************************/ | 30 | **********************************************************************/ |
31 | #include <qgfx_qws.h> | ||
32 | #include "teeclubcardgame.h" | 31 | #include "teeclubcardgame.h" |
33 | 32 | ||
34 | 33 | ||
diff --git a/noncore/games/tetrix/main.cpp b/noncore/games/tetrix/main.cpp index fcf4b33..bf1242f 100644 --- a/noncore/games/tetrix/main.cpp +++ b/noncore/games/tetrix/main.cpp | |||
@@ -20,7 +20,6 @@ | |||
20 | 20 | ||
21 | #include "qtetrix.h" | 21 | #include "qtetrix.h" |
22 | 22 | ||
23 | #include <qpe/qpeapplication.h> | ||
24 | 23 | ||
25 | #include <opie/oapplicationfactory.h> | 24 | #include <opie/oapplicationfactory.h> |
26 | 25 | ||
diff --git a/noncore/games/tetrix/ohighscoredlg.cpp b/noncore/games/tetrix/ohighscoredlg.cpp index 7581f51..8d8079e 100644 --- a/noncore/games/tetrix/ohighscoredlg.cpp +++ b/noncore/games/tetrix/ohighscoredlg.cpp | |||
@@ -14,10 +14,9 @@ | |||
14 | **************************************************************************/ | 14 | **************************************************************************/ |
15 | 15 | ||
16 | #include <qdialog.h> | 16 | #include <qdialog.h> |
17 | #include <qpe/config.h> | ||
18 | #include <qlayout.h> | 17 | #include <qlayout.h> |
19 | #include <qpe/config.h> | ||
20 | #include <qpe/qpeapplication.h> | 18 | #include <qpe/qpeapplication.h> |
19 | #include <qpe/config.h> | ||
21 | 20 | ||
22 | #include <qstring.h> | 21 | #include <qstring.h> |
23 | #include <qhbox.h> | 22 | #include <qhbox.h> |
diff --git a/noncore/games/tetrix/qtetrix.cpp b/noncore/games/tetrix/qtetrix.cpp index 6d29c3f..20cf1a7 100644 --- a/noncore/games/tetrix/qtetrix.cpp +++ b/noncore/games/tetrix/qtetrix.cpp | |||
@@ -22,13 +22,10 @@ | |||
22 | #include "qtetrix.h" | 22 | #include "qtetrix.h" |
23 | 23 | ||
24 | #include <qpe/resource.h> | 24 | #include <qpe/resource.h> |
25 | #include <qpe/config.h> | ||
26 | 25 | ||
27 | #include <qapplication.h> | ||
28 | #include <qlabel.h> | 26 | #include <qlabel.h> |
29 | #include <qdatetime.h> | 27 | #include <qdatetime.h> |
30 | #include <qlayout.h> | 28 | #include <qlayout.h> |
31 | #include <qstring.h> | ||
32 | 29 | ||
33 | #include "ohighscoredlg.h" | 30 | #include "ohighscoredlg.h" |
34 | 31 | ||
diff --git a/noncore/games/tetrix/qtetrixb.cpp b/noncore/games/tetrix/qtetrixb.cpp index 521f171..3c179df 100644 --- a/noncore/games/tetrix/qtetrixb.cpp +++ b/noncore/games/tetrix/qtetrixb.cpp | |||
@@ -22,8 +22,6 @@ | |||
22 | #include "qtetrixb.h" | 22 | #include "qtetrixb.h" |
23 | #include "qtetrix.h" | 23 | #include "qtetrix.h" |
24 | #include <qtimer.h> | 24 | #include <qtimer.h> |
25 | #include <qkeycode.h> | ||
26 | #include <qpainter.h> | ||
27 | 25 | ||
28 | const int waitAfterLineTime = 500; | 26 | const int waitAfterLineTime = 500; |
29 | 27 | ||
diff --git a/noncore/games/tictac/main.cpp b/noncore/games/tictac/main.cpp index cfff683..9aafe4c 100644 --- a/noncore/games/tictac/main.cpp +++ b/noncore/games/tictac/main.cpp | |||
@@ -6,7 +6,6 @@ | |||
6 | ** | 6 | ** |
7 | *****************************************************************************/ | 7 | *****************************************************************************/ |
8 | 8 | ||
9 | #include <qpe/qpeapplication.h> | ||
10 | #include <opie/oapplicationfactory.h> | 9 | #include <opie/oapplicationfactory.h> |
11 | #include "tictac.h" | 10 | #include "tictac.h" |
12 | 11 | ||
diff --git a/noncore/games/tictac/tictac.cpp b/noncore/games/tictac/tictac.cpp index 9de3b58..12ce35f 100644 --- a/noncore/games/tictac/tictac.cpp +++ b/noncore/games/tictac/tictac.cpp | |||
@@ -10,15 +10,11 @@ | |||
10 | 10 | ||
11 | #include "tictac.h" | 11 | #include "tictac.h" |
12 | #include <qpe/qpeapplication.h> | 12 | #include <qpe/qpeapplication.h> |
13 | #include <qpainter.h> | ||
14 | #include <qdrawutil.h> | 13 | #include <qdrawutil.h> |
15 | #include <qcombobox.h> | 14 | #include <qcombobox.h> |
16 | #include <qcheckbox.h> | ||
17 | #include <qlabel.h> | 15 | #include <qlabel.h> |
18 | #include <qlayout.h> | 16 | #include <qlayout.h> |
19 | #include <stdlib.h> // rand() function | 17 | #include <stdlib.h> // rand() function |
20 | #include <qdatetime.h> // seed for rand() | ||
21 | #include <qstringlist.h> //needed for proper internationalization | ||
22 | 18 | ||
23 | 19 | ||
24 | //*************************************************************************** | 20 | //*************************************************************************** |
diff --git a/noncore/games/wordgame/main.cpp b/noncore/games/wordgame/main.cpp index f32acff..eb3e2f2 100644 --- a/noncore/games/wordgame/main.cpp +++ b/noncore/games/wordgame/main.cpp | |||
@@ -20,7 +20,6 @@ | |||
20 | 20 | ||
21 | #include "wordgame.h" | 21 | #include "wordgame.h" |
22 | 22 | ||
23 | #include <qpe/qpeapplication.h> | ||
24 | #include <opie/oapplicationfactory.h> | 23 | #include <opie/oapplicationfactory.h> |
25 | 24 | ||
26 | 25 | ||
diff --git a/noncore/games/wordgame/wordgame.cpp b/noncore/games/wordgame/wordgame.cpp index c01551d..43a54f8 100644 --- a/noncore/games/wordgame/wordgame.cpp +++ b/noncore/games/wordgame/wordgame.cpp | |||
@@ -21,21 +21,14 @@ | |||
21 | 21 | ||
22 | #include "wordgame.h" | 22 | #include "wordgame.h" |
23 | 23 | ||
24 | #include <qpe/applnk.h> | ||
25 | #include <qpe/global.h> | 24 | #include <qpe/global.h> |
26 | #include <qpe/filemanager.h> | ||
27 | #include <qpe/resource.h> | 25 | #include <qpe/resource.h> |
28 | #include <qpe/config.h> | 26 | #include <qpe/config.h> |
29 | 27 | ||
30 | #include <qapplication.h> | 28 | #include <qapplication.h> |
31 | #include <qmessagebox.h> | 29 | #include <qmessagebox.h> |
32 | #include <qcombobox.h> | 30 | #include <qcombobox.h> |
33 | #include <qdatetime.h> | ||
34 | #include <qfileinfo.h> | ||
35 | #include <qfile.h> | ||
36 | #include <qdir.h> | 31 | #include <qdir.h> |
37 | #include <qiconset.h> | ||
38 | #include <qlabel.h> | ||
39 | #include <qlineedit.h> | 32 | #include <qlineedit.h> |
40 | #include <qpushbutton.h> | 33 | #include <qpushbutton.h> |
41 | #include <qtextstream.h> | 34 | #include <qtextstream.h> |
@@ -44,9 +37,7 @@ | |||
44 | #include <qtoolbutton.h> | 37 | #include <qtoolbutton.h> |
45 | #include <qvbox.h> | 38 | #include <qvbox.h> |
46 | #include <qwidgetstack.h> | 39 | #include <qwidgetstack.h> |
47 | #include <qpainter.h> | ||
48 | #include <qlayout.h> | 40 | #include <qlayout.h> |
49 | #include <qregexp.h> | ||
50 | 41 | ||
51 | #include <stdlib.h> | 42 | #include <stdlib.h> |
52 | #include <unistd.h> | 43 | #include <unistd.h> |
diff --git a/noncore/games/zlines/ballpainter.cpp b/noncore/games/zlines/ballpainter.cpp index c2b34e1..622ec29 100644 --- a/noncore/games/zlines/ballpainter.cpp +++ b/noncore/games/zlines/ballpainter.cpp | |||
@@ -19,13 +19,10 @@ | |||
19 | 19 | ||
20 | #include <qpe/resource.h> | 20 | #include <qpe/resource.h> |
21 | 21 | ||
22 | #include <qapplication.h> | ||
23 | #include "ballpainter.h" | 22 | #include "ballpainter.h" |
24 | //#include "shotcounter.h" | 23 | //#include "shotcounter.h" |
25 | #include <qpainter.h> | 24 | #include <qpainter.h> |
26 | #include "linesboard.h" | ||
27 | //#include <qcolor.h> | 25 | //#include <qcolor.h> |
28 | #include <qjpegio.h> | ||
29 | 26 | ||
30 | 27 | ||
31 | #define PIXSIZE 21 | 28 | #define PIXSIZE 21 |
diff --git a/noncore/games/zlines/field.cpp b/noncore/games/zlines/field.cpp index 2a87739..0adf4ac 100644 --- a/noncore/games/zlines/field.cpp +++ b/noncore/games/zlines/field.cpp | |||
@@ -17,7 +17,6 @@ email : Roman.Razilov@gmx.de | |||
17 | * * | 17 | * * |
18 | ***************************************************************************/ | 18 | ***************************************************************************/ |
19 | #include <stdlib.h> | 19 | #include <stdlib.h> |
20 | #include "cfg.h" | ||
21 | #include "field.h" | 20 | #include "field.h" |
22 | 21 | ||
23 | Field::Field(QWidget* parent, const char* name) | 22 | Field::Field(QWidget* parent, const char* name) |
diff --git a/noncore/games/zlines/klines.cpp b/noncore/games/zlines/klines.cpp index 02ff0db..76c94e2 100644 --- a/noncore/games/zlines/klines.cpp +++ b/noncore/games/zlines/klines.cpp | |||
@@ -23,22 +23,13 @@ | |||
23 | // The implementation of the KLines widget | 23 | // The implementation of the KLines widget |
24 | // | 24 | // |
25 | 25 | ||
26 | #include <qkeycode.h> | ||
27 | #include <qlabel.h> | ||
28 | #include <qpushbutton.h> | ||
29 | #include <qtooltip.h> | ||
30 | #include <qstring.h> | ||
31 | #include <stdlib.h> | 26 | #include <stdlib.h> |
32 | #include <unistd.h> | 27 | #include <unistd.h> |
33 | #include <time.h> | 28 | #include <time.h> |
34 | 29 | ||
35 | #include <qapplication.h> | 30 | #include <qapplication.h> |
36 | #include <qmenubar.h> | ||
37 | #include <qpopupmenu.h> | ||
38 | 31 | ||
39 | 32 | ||
40 | #include "cfg.h" | ||
41 | #include <qstatusbar.h> | ||
42 | #include "klines.h" | 33 | #include "klines.h" |
43 | 34 | ||
44 | 35 | ||
diff --git a/noncore/games/zlines/linesboard.cpp b/noncore/games/zlines/linesboard.cpp index 0965b2c..1e59aeb 100644 --- a/noncore/games/zlines/linesboard.cpp +++ b/noncore/games/zlines/linesboard.cpp | |||
@@ -17,9 +17,6 @@ | |||
17 | * * | 17 | * * |
18 | ***************************************************************************/ | 18 | ***************************************************************************/ |
19 | #include <qpainter.h> | 19 | #include <qpainter.h> |
20 | #include <qpixmap.h> | ||
21 | #include <qcolor.h> | ||
22 | #include <qkeycode.h> | ||
23 | #include <stdlib.h> | 20 | #include <stdlib.h> |
24 | 21 | ||
25 | #include "linesboard.h" | 22 | #include "linesboard.h" |
diff --git a/noncore/games/zlines/main.cpp b/noncore/games/zlines/main.cpp index ff41f95..238e7d3 100644 --- a/noncore/games/zlines/main.cpp +++ b/noncore/games/zlines/main.cpp | |||
@@ -21,7 +21,6 @@ | |||
21 | * Roman Razilov 2000-05-21 qimgio | 21 | * Roman Razilov 2000-05-21 qimgio |
22 | */ | 22 | */ |
23 | 23 | ||
24 | #include <qglobal.h> | ||
25 | 24 | ||
26 | 25 | ||
27 | #include <opie/oapplicationfactory.h> | 26 | #include <opie/oapplicationfactory.h> |
diff --git a/noncore/games/zlines/mwidget.cpp b/noncore/games/zlines/mwidget.cpp index 6641fa2..211d3d3 100644 --- a/noncore/games/zlines/mwidget.cpp +++ b/noncore/games/zlines/mwidget.cpp | |||
@@ -18,7 +18,6 @@ email : Roman.Razilov@gmx.de | |||
18 | ***************************************************************************/ | 18 | ***************************************************************************/ |
19 | #include "mwidget.h" | 19 | #include "mwidget.h" |
20 | #include <qlayout.h> | 20 | #include <qlayout.h> |
21 | #include "ballpainter.h" | ||
22 | #include <qhbox.h> | 21 | #include <qhbox.h> |
23 | #include <qlabel.h> | 22 | #include <qlabel.h> |
24 | 23 | ||
diff --git a/noncore/games/zsame/StoneWidget.cpp b/noncore/games/zsame/StoneWidget.cpp index 49fa1a4..646fc9c 100644 --- a/noncore/games/zsame/StoneWidget.cpp +++ b/noncore/games/zsame/StoneWidget.cpp | |||
@@ -21,11 +21,6 @@ | |||
21 | #include <stdio.h> | 21 | #include <stdio.h> |
22 | #include <stdlib.h> | 22 | #include <stdlib.h> |
23 | 23 | ||
24 | #include <qpainter.h> | ||
25 | #include <qpixmap.h> | ||
26 | #include <qbitmap.h> | ||
27 | #include <qimage.h> | ||
28 | #include <qcursor.h> | ||
29 | 24 | ||
30 | 25 | ||
31 | #include <qpe/resource.h> | 26 | #include <qpe/resource.h> |
diff --git a/noncore/games/zsame/ZSameWidget.cpp b/noncore/games/zsame/ZSameWidget.cpp index 5001b55..45a877f 100644 --- a/noncore/games/zsame/ZSameWidget.cpp +++ b/noncore/games/zsame/ZSameWidget.cpp | |||
@@ -21,11 +21,6 @@ | |||
21 | 21 | ||
22 | #include <stdio.h> | 22 | #include <stdio.h> |
23 | 23 | ||
24 | #include <qwidget.h> | ||
25 | #include <qpushbutton.h> | ||
26 | #include <qpixmap.h> | ||
27 | #include <qvbox.h> | ||
28 | #include <qpopupmenu.h> | ||
29 | #include <qtoolbar.h> | 24 | #include <qtoolbar.h> |
30 | #include <qmenubar.h> | 25 | #include <qmenubar.h> |
31 | 26 | ||
@@ -39,8 +34,6 @@ | |||
39 | 34 | ||
40 | 35 | ||
41 | #include "ZSameWidget.h" | 36 | #include "ZSameWidget.h" |
42 | #include "StoneWidget.h" | ||
43 | #include "version.h" | ||
44 | 37 | ||
45 | static int default_colors=3; | 38 | static int default_colors=3; |
46 | 39 | ||