Diffstat (limited to 'noncore/games/zsame/ZSameWidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/games/zsame/ZSameWidget.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/noncore/games/zsame/ZSameWidget.cpp b/noncore/games/zsame/ZSameWidget.cpp index 45a877f..3c58c93 100644 --- a/noncore/games/zsame/ZSameWidget.cpp +++ b/noncore/games/zsame/ZSameWidget.cpp | |||
@@ -1,59 +1,59 @@ | |||
1 | /* Yo Emacs, this is -*- C++ -*- */ | 1 | /* Yo Emacs, this is -*- C++ -*- */ |
2 | /* | 2 | /* |
3 | * ksame 0.4 - simple Game | 3 | * ksame 0.4 - simple Game |
4 | * Copyright (C) 1997,1998 Marcus Kreutzberger | 4 | * Copyright (C) 1997,1998 Marcus Kreutzberger |
5 | * | 5 | * |
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 | * This program is distributed in the hope that it will be useful, | 11 | * This program is distributed in the hope that it will be useful, |
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 | * GNU General Public License for more details. | 14 | * GNU General Public License for more details. |
15 | * | 15 | * |
16 | * You should have received a copy of the GNU General Public License | 16 | * You should have received a copy of the GNU General Public License |
17 | * along with this program; if not, write to the Free Software | 17 | * along with this program; if not, write to the Free Software |
18 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 18 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
19 | * | 19 | * |
20 | */ | 20 | */ |
21 | 21 | ||
22 | #include <stdio.h> | 22 | #include <stdio.h> |
23 | 23 | ||
24 | #include <opie2/oapplicationfactory.h> | ||
25 | |||
26 | #include <qpe/resource.h> | ||
27 | |||
24 | #include <qtoolbar.h> | 28 | #include <qtoolbar.h> |
25 | #include <qmenubar.h> | 29 | #include <qmenubar.h> |
26 | |||
27 | #include <qapplication.h> | 30 | #include <qapplication.h> |
28 | #include <qaction.h> | 31 | #include <qaction.h> |
29 | #include <qmessagebox.h> | 32 | #include <qmessagebox.h> |
30 | 33 | ||
31 | #include <qpe/resource.h> | ||
32 | #include <opie/oapplicationfactory.h> | ||
33 | #include <kapplication.h> | 34 | #include <kapplication.h> |
34 | 35 | ||
35 | |||
36 | #include "ZSameWidget.h" | 36 | #include "ZSameWidget.h" |
37 | 37 | ||
38 | static int default_colors=3; | 38 | static int default_colors=3; |
39 | 39 | ||
40 | #define i18n tr | 40 | #define i18n tr |
41 | 41 | ||
42 | 42 | ||
43 | OPIE_EXPORT_APP( OApplicationFactory<ZSameWidget> ) | 43 | OPIE_EXPORT_APP( OApplicationFactory<ZSameWidget> ) |
44 | 44 | ||
45 | 45 | ||
46 | 46 | ||
47 | ZSameWidget::ZSameWidget( QWidget* parent, const char* name, WFlags fl ) | 47 | ZSameWidget::ZSameWidget( QWidget* parent, const char* name, WFlags fl ) |
48 | : QMainWindow( parent, name, fl ) | 48 | : QMainWindow( parent, name, fl ) |
49 | { | 49 | { |
50 | setCaption(tr("ZSame")); | 50 | setCaption(tr("ZSame")); |
51 | 51 | ||
52 | setToolBarsMovable( false ); | 52 | setToolBarsMovable( false ); |
53 | QToolBar* con = new QToolBar( this ); | 53 | QToolBar* con = new QToolBar( this ); |
54 | con->setHorizontalStretchable( true ); | 54 | con->setHorizontalStretchable( true ); |
55 | QMenuBar* mb = new QMenuBar( con ); | 55 | QMenuBar* mb = new QMenuBar( con ); |
56 | QToolBar* tb = new QToolBar( this ); | 56 | QToolBar* tb = new QToolBar( this ); |
57 | 57 | ||
58 | QPopupMenu* fileMenu = new QPopupMenu( this ); | 58 | QPopupMenu* fileMenu = new QPopupMenu( this ); |
59 | 59 | ||