summaryrefslogtreecommitdiffstats
path: root/konquest/minimap.cc
diff options
context:
space:
mode:
Diffstat (limited to 'konquest/minimap.cc')
-rw-r--r--konquest/minimap.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/konquest/minimap.cc b/konquest/minimap.cc
index eee1237b..a287ab79 100644
--- a/konquest/minimap.cc
+++ b/konquest/minimap.cc
@@ -1,5 +1,5 @@
-#include <qpixmap.h>
-#include <qpainter.h>
+#include <tqpixmap.h>
+#include <tqpainter.h>
#include <kapplication.h>
#include <kiconloader.h>
@@ -7,8 +7,8 @@
#include "minimap.h"
#include "minimap.moc"
-MiniMap::MiniMap( QWidget *parent, const char *name )
- : QGridView( parent, name ),
+MiniMap::MiniMap( TQWidget *parent, const char *name )
+ : TQGridView( parent, name ),
SECTOR_HEIGHT( 12 ), SECTOR_WIDTH( 12 ),
BOARD_HEIGHT( 10 * SECTOR_HEIGHT ),
BOARD_WIDTH( 10 * SECTOR_WIDTH ),
@@ -39,7 +39,7 @@ MiniMap::setMap(Map *newMap)
setMinimumSize( BOARD_HEIGHT, BOARD_WIDTH );
setMaximumSize( BOARD_HEIGHT, BOARD_WIDTH );
- connect( map, SIGNAL( update() ), this, SLOT( mapUpdate() ) );
+ connect( map, TQT_SIGNAL( update() ), this, TQT_SLOT( mapUpdate() ) );
}
MiniMap::~MiniMap()
@@ -48,7 +48,7 @@ MiniMap::~MiniMap()
void
-MiniMap::paintCell( QPainter *p, int row, int col )
+MiniMap::paintCell( TQPainter *p, int row, int col )
{
drawSector( p, map->getSector( row, col ) );
}
@@ -61,9 +61,9 @@ MiniMap::mapUpdate()
void
-MiniMap::drawSector( QPainter *p, Sector &sector )
+MiniMap::drawSector( TQPainter *p, Sector &sector )
{
- QRect r( 0, 0, SECTOR_WIDTH, SECTOR_HEIGHT );
+ TQRect r( 0, 0, SECTOR_WIDTH, SECTOR_HEIGHT );
p->setPen( black );
p->setBrush( black );