summaryrefslogtreecommitdiffstats
path: root/kbattleship/kbattleship/kgridwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'kbattleship/kbattleship/kgridwidget.h')
-rw-r--r--kbattleship/kbattleship/kgridwidget.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/kbattleship/kbattleship/kgridwidget.h b/kbattleship/kbattleship/kgridwidget.h
index 91f48eb0..1026695b 100644
--- a/kbattleship/kbattleship/kgridwidget.h
+++ b/kbattleship/kbattleship/kgridwidget.h
@@ -18,12 +18,12 @@
#ifndef KGRIDWIDGET_H
#define KGRIDWIDGET_H
-#include <qpixmap.h>
+#include <tqpixmap.h>
class KGridWidget
{
public:
- KGridWidget(QWidget *parent, bool draw);
+ KGridWidget(TQWidget *parent, bool draw);
~KGridWidget();
void enableGrid() { m_drawGrid = true; }
@@ -43,24 +43,24 @@ protected:
private:
void cacheImages();
- void drawIcon(const QPixmap &icon, bool hitBlend = false, bool waterBlend = false, bool rotate = false);
- QString findIcon(const QString &name) const;
+ void drawIcon(const TQPixmap &icon, bool hitBlend = false, bool waterBlend = false, bool rotate = false);
+ TQString findIcon(const TQString &name) const;
bool m_drawGrid;
int m_x, m_y, m_size;
- QPixmap *m_doubleBuffer;
- QPixmap seaPng, waterPng, hitPng, borderPng,deathPng;
- QPixmap ship1p1Png, ship1p1rPng;
- QPixmap ship2p1Png, ship2p1rPng;
- QPixmap ship2p2Png, ship2p2rPng;
- QPixmap ship3p1Png, ship3p1rPng;
- QPixmap ship3p2Png, ship3p2rPng;
- QPixmap ship3p3Png, ship3p3rPng;
- QPixmap ship4p1Png, ship4p1rPng;
- QPixmap ship4p2Png, ship4p2rPng;
- QPixmap ship4p3Png, ship4p3rPng;
- QPixmap ship4p4Png, ship4p4rPng;
- QWidget *m_parent;
+ TQPixmap *m_doubleBuffer;
+ TQPixmap seaPng, waterPng, hitPng, borderPng,deathPng;
+ TQPixmap ship1p1Png, ship1p1rPng;
+ TQPixmap ship2p1Png, ship2p1rPng;
+ TQPixmap ship2p2Png, ship2p2rPng;
+ TQPixmap ship3p1Png, ship3p1rPng;
+ TQPixmap ship3p2Png, ship3p2rPng;
+ TQPixmap ship3p3Png, ship3p3rPng;
+ TQPixmap ship4p1Png, ship4p1rPng;
+ TQPixmap ship4p2Png, ship4p2rPng;
+ TQPixmap ship4p3Png, ship4p3rPng;
+ TQPixmap ship4p4Png, ship4p4rPng;
+ TQWidget *m_parent;
};
#endif