diff options
Diffstat (limited to 'konquest/map_widget.h')
-rw-r--r-- | konquest/map_widget.h | 24 |
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; }; |