summaryrefslogtreecommitdiffstats
path: root/knetwalk/src/cell.h
diff options
context:
space:
mode:
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