diff options
Diffstat (limited to 'ktuberling/playground.h')
-rw-r--r-- | ktuberling/playground.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/ktuberling/playground.h b/ktuberling/playground.h index bdb7e47f..146ffe2c 100644 --- a/ktuberling/playground.h +++ b/ktuberling/playground.h @@ -20,18 +20,19 @@ class TQDomDocument; class TopLevel; -class PlayGround : public QWidget +class PlayGround : public TQWidget { Q_OBJECT + TQ_OBJECT public: - PlayGround(TopLevel *parent, const char *name, uint selectedGameboard); + PlayGround(TopLevel *tqparent, const char *name, uint selectedGameboard); ~PlayGround(); void reset(); void change(uint selectedGameboard); - void repaintAll(); + void tqrepaintAll(); bool undo(); bool redo(); bool loadFrom(const TQString &name); @@ -50,8 +51,8 @@ protected: private: - bool registerPlayGrounds(TQDomDocument &layoutDocument); - bool loadPlayGround(TQDomDocument &layoutDocument, uint toLoad); + bool registerPlayGrounds(TQDomDocument &tqlayoutDocument); + bool loadPlayGround(TQDomDocument &tqlayoutDocument, uint toLoad); void loadFailure(); void setupGeometry(); bool zone(TQPoint &position); @@ -61,7 +62,7 @@ private: private: TQPixmap gameboard; // Picture of the game board - TQBitmap masks; // Pictures of the objects' shapes + TQBitmap tqmasks; // Pictures of the objects' tqshapes TQRect editableArea; // Part of the gameboard where the player can lay down objects TQString menuItem, // Menu item describing describing this gameboard editableSound; // Sound associated with this area @@ -72,7 +73,7 @@ private: TQString *textsList, // List of the message numbers associated with categories *soundsList; // List of sounds associated with each object - TQCursor *draggedCursor; // Cursor's shape for currently dragged object + TQCursor *draggedCursor; // Cursor's tqshape for currently dragged object ToDraw draggedObject; // Object currently dragged int draggedZOrder; // Z-order (in to-draw buffer) of this object |