Diffstat (limited to 'noncore/games/solitaire/canvascardwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/games/solitaire/canvascardwindow.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
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 | |||
@@ -10,35 +10,30 @@ | |||
10 | ** | 10 | ** |
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
13 | ** | 13 | ** |
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. |
15 | ** | 15 | ** |
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 "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) : |
36 | QMainWindow(parent, name, f), canvas(230, 260), snapOn(TRUE), cardBack(4), gameType(0), | 31 | QMainWindow(parent, name, f), canvas(230, 260), snapOn(TRUE), cardBack(4), gameType(0), |
37 | cardGame(NULL) | 32 | cardGame(NULL) |
38 | { | 33 | { |
39 | setIcon( Resource::loadPixmap( "cards" ) ); | 34 | setIcon( Resource::loadPixmap( "cards" ) ); |
40 | setCaption(tr("Patience")); | 35 | setCaption(tr("Patience")); |
41 | 36 | ||
42 | // Create Playing Area for Games | 37 | // Create Playing Area for Games |
43 | if ( QPixmap::defaultDepth() < 12 ) { | 38 | if ( QPixmap::defaultDepth() < 12 ) { |
44 | // canvas.setBackgroundColor(QColor(0x51, 0x74, 0x6B)); | 39 | // canvas.setBackgroundColor(QColor(0x51, 0x74, 0x6B)); |