Diffstat (limited to 'noncore/games/fifteen/fifteen.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/games/fifteen/fifteen.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
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 | |||
@@ -16,33 +16,28 @@ | |||
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | ** Contact info@trolltech.com if any conditions of this licensing are |
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | 20 | ||
21 | #include "fifteen.h" | 21 | #include "fifteen.h" |
22 | 22 | ||
23 | #include <qtopia/resource.h> | 23 | #include <qtopia/resource.h> |
24 | #include <qtopia/config.h> | 24 | #include <qtopia/config.h> |
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> |
40 | 35 | ||
41 | FifteenMainWindow::FifteenMainWindow(QWidget *parent, const char* name, WFlags fl) | 36 | FifteenMainWindow::FifteenMainWindow(QWidget *parent, const char* name, WFlags fl) |
42 | : QMainWindow( parent, name, fl ) | 37 | : QMainWindow( parent, name, fl ) |
43 | { | 38 | { |
44 | // random seed | 39 | // random seed |
45 | srand(time(0)); | 40 | srand(time(0)); |
46 | setCaption( tr("Fifteen Pieces") ); | 41 | setCaption( tr("Fifteen Pieces") ); |
47 | 42 | ||
48 | QToolBar *toolbar = new QToolBar(this); | 43 | QToolBar *toolbar = new QToolBar(this); |