summaryrefslogtreecommitdiffstats
path: root/konquest/map_widget.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
commit576eb4299a00bc053db35414406f46372a0f70f2 (patch)
tree4c030922d533821db464af566188e7d40cc8848c /konquest/map_widget.h
parent0718336b6017d1a4fc1d626544180a5a2a29ddec (diff)
downloadtdegames-576eb4299a00bc053db35414406f46372a0f70f2.tar.gz
tdegames-576eb4299a00bc053db35414406f46372a0f70f2.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1157643 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'konquest/map_widget.h')
-rw-r--r--konquest/map_widget.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/konquest/map_widget.h b/konquest/map_widget.h
index 052d6e9d..ed8d98f3 100644
--- a/konquest/map_widget.h
+++ b/konquest/map_widget.h
@@ -2,13 +2,13 @@
#define _MAP_WIDGET_H
-#include <qwidget.h>
-#include <qframe.h>
-#include <qpixmap.h>
+#include <tqwidget.h>
+#include <tqframe.h>
+#include <tqpixmap.h>
-#include <qgridview.h>
+#include <tqgridview.h>
-#include <qtimer.h>
+#include <tqtimer.h>
#include "gamecore.h"
#include "images.h"
@@ -19,7 +19,7 @@ class ConquestMap : public QGridView
// Constructors
public:
- ConquestMap( Map *newMap, QWidget *parent = 0 );
+ ConquestMap( Map *newMap, TQWidget *parent = 0 );
virtual ~ConquestMap();
// Interface
@@ -27,9 +27,9 @@ public:
void unselectPlanet();
protected:
- virtual void contentsMousePressEvent( QMouseEvent *e );
- virtual void contentsMouseMoveEvent( QMouseEvent *e );
- virtual void paintCell( QPainter *p, int row, int col );
+ virtual void contentsMousePressEvent( TQMouseEvent *e );
+ virtual void contentsMouseMoveEvent( TQMouseEvent *e );
+ virtual void paintCell( TQPainter *p, int row, int col );
private slots:
void mapUpdate();
@@ -46,11 +46,11 @@ private:
const int BOARD_HEIGHT;
const int BOARD_WIDTH;
- void drawSector( QPainter *, Sector &, bool borderStrobe = true, bool highlight = false );
+ void drawSector( TQPainter *, Sector &, bool borderStrobe = true, bool highlight = false );
Map *map;
- QColor gridColor;
- QFont labelFont;
+ TQColor gridColor;
+ TQFont labelFont;
int hiLiteRow, hiLiteCol;
};