summaryrefslogtreecommitdiffstats
path: root/knetwalk/src/cell.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 /knetwalk/src/cell.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 'knetwalk/src/cell.h')
-rw-r--r--knetwalk/src/cell.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/knetwalk/src/cell.h b/knetwalk/src/cell.h
index 2dd5009c..8e51e349 100644
--- a/knetwalk/src/cell.h
+++ b/knetwalk/src/cell.h
@@ -15,15 +15,15 @@
#ifndef CELL_H
#define CELL_H
-#include <qpixmap.h>
-#include <qwidget.h>
+#include <tqpixmap.h>
+#include <tqwidget.h>
class Cell : public QWidget
{
Q_OBJECT
public:
enum Dirs { Free = 0, U = 1, R = 2, D = 4, L = 8, None = 16 };
- Cell(QWidget* parent, int i);
+ Cell(TQWidget* parent, int i);
int index() const;
void rotate(int a);
void setDirs(Dirs d);
@@ -41,10 +41,10 @@ class Cell : public QWidget
void rClicked(int);
void mClicked(int);
protected:
- virtual void paintEvent(QPaintEvent*);
- virtual void mousePressEvent(QMouseEvent*);
+ virtual void paintEvent(TQPaintEvent*);
+ virtual void mousePressEvent(TQMouseEvent*);
private:
- typedef QMap<int, QPixmap*> PixmapMap;
+ typedef TQMap<int, TQPixmap*> PixmapMap;
static PixmapMap connectedpixmap;
static PixmapMap disconnectedpixmap;
int angle;
@@ -55,7 +55,7 @@ class Cell : public QWidget
bool root;
bool locked;
Dirs ddirs;
- QPixmap pixmap;
+ TQPixmap pixmap;
};
#endif