Diffstat (limited to 'noncore/games/tetrix/qtetrixb.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/games/tetrix/qtetrixb.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
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 | |||
@@ -13,26 +13,24 @@ | |||
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 | 21 | ||
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 | ||
30 | QTetrixBoard::QTetrixBoard( QWidget *p, const char *name ) | 28 | QTetrixBoard::QTetrixBoard( QWidget *p, const char *name ) |
31 | : QFrame( p, name ) | 29 | : QFrame( p, name ) |
32 | { | 30 | { |
33 | setFrameStyle( QFrame::Panel | QFrame::Sunken ); | 31 | setFrameStyle( QFrame::Panel | QFrame::Sunken ); |
34 | paint = 0; | 32 | paint = 0; |
35 | timer = new QTimer(this); | 33 | timer = new QTimer(this); |
36 | connect( timer, SIGNAL(timeout()), SLOT(timeout()) ); | 34 | connect( timer, SIGNAL(timeout()), SLOT(timeout()) ); |
37 | 35 | ||
38 | colors[0].setRgb(200,100,100); | 36 | colors[0].setRgb(200,100,100); |