summaryrefslogtreecommitdiffstats
path: root/kolf/floater.h
diff options
context:
space:
mode:
Diffstat (limited to 'kolf/floater.h')
-rw-r--r--kolf/floater.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/kolf/floater.h b/kolf/floater.h
index 486f3bc0..c22a8084 100644
--- a/kolf/floater.h
+++ b/kolf/floater.h
@@ -9,7 +9,7 @@ class FloaterConfig : public BridgeConfig
Q_OBJECT
public:
- FloaterConfig(Floater *floater, QWidget *parent);
+ FloaterConfig(Floater *floater, TQWidget *parent);
private slots:
void speedChanged(int news);
@@ -21,10 +21,10 @@ private:
class FloaterGuide : public Wall
{
public:
- FloaterGuide(Floater *floater, QCanvas *canvas) : Wall(canvas) { this->floater = floater; almostDead = false; }
+ FloaterGuide(Floater *floater, TQCanvas *canvas) : Wall(canvas) { this->floater = floater; almostDead = false; }
virtual void setPoints(int xa, int ya, int xb, int yb);
virtual void moveBy(double dx, double dy);
- virtual Config *config(QWidget *parent);
+ virtual Config *config(TQWidget *parent);
virtual void aboutToDelete();
virtual void aboutToDie();
@@ -36,7 +36,7 @@ private:
class Floater : public Bridge
{
public:
- Floater(QRect rect, QCanvas *canvas);
+ Floater(TQRect rect, TQCanvas *canvas);
virtual bool collision(Ball *ball, long int id) { Bridge::collision(ball, id); return false; }
virtual void saveState(StateDB *db);
virtual void loadState(StateDB *db);
@@ -51,8 +51,8 @@ public:
virtual void editModeChanged(bool changed);
virtual bool moveable() const { return false; }
virtual void moveBy(double dx, double dy);
- virtual Config *config(QWidget *parent) { return new FloaterConfig(this, parent); }
- virtual QPtrList<QCanvasItem> moveableItems() const;
+ virtual Config *config(TQWidget *parent) { return new FloaterConfig(this, parent); }
+ virtual TQPtrList<TQCanvasItem> moveableItems() const;
virtual void advance(int phase);
void setSpeed(int news);
int curSpeed() const { return speed; }
@@ -64,18 +64,18 @@ private:
int speedfactor;
int speed;
FloaterGuide *wall;
- QPoint origin;
+ TQPoint origin;
Vector vector;
bool noUpdateZ;
bool haventMoved;
- QPoint firstPoint;
+ TQPoint firstPoint;
};
class FloaterObj : public Object
{
public:
FloaterObj() { m_name = i18n("Floater"); m__name = "floater"; }
- virtual QCanvasItem *newObject(QCanvas *canvas) { return new Floater(QRect(0, 0, 80, 40), canvas); }
+ virtual TQCanvasItem *newObject(TQCanvas *canvas) { return new Floater(TQRect(0, 0, 80, 40), canvas); }
};
#endif