summaryrefslogtreecommitdiffstats
path: root/kolf/canvasitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kolf/canvasitem.cpp')
-rw-r--r--kolf/canvasitem.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kolf/canvasitem.cpp b/kolf/canvasitem.cpp
index 5e39257c..e8f199e3 100644
--- a/kolf/canvasitem.cpp
+++ b/kolf/canvasitem.cpp
@@ -1,21 +1,21 @@
-#include <qcanvas.h>
+#include <tqcanvas.h>
#include <kconfig.h>
#include "game.h"
#include "canvasitem.h"
-QCanvasRectangle *CanvasItem::onVStrut()
+TQCanvasRectangle *CanvasItem::onVStrut()
{
- QCanvasItem *qthis = dynamic_cast<QCanvasItem *>(this);
+ TQCanvasItem *qthis = dynamic_cast<TQCanvasItem *>(this);
if (!qthis)
return 0;
- QCanvasItemList l = qthis->collisions(true);
+ TQCanvasItemList l = qthis->collisions(true);
l.sort();
bool aboveVStrut = false;
CanvasItem *item = 0;
- QCanvasItem *qitem = 0;
- for (QCanvasItemList::Iterator it = l.begin(); it != l.end(); ++it)
+ TQCanvasItem *qitem = 0;
+ for (TQCanvasItemList::Iterator it = l.begin(); it != l.end(); ++it)
{
item = dynamic_cast<CanvasItem *>(*it);
if (item)
@@ -30,7 +30,7 @@ QCanvasRectangle *CanvasItem::onVStrut()
}
}
- QCanvasRectangle *ritem = dynamic_cast<QCanvasRectangle *>(qitem);
+ TQCanvasRectangle *ritem = dynamic_cast<TQCanvasRectangle *>(qitem);
return aboveVStrut && ritem? ritem : 0;
}
@@ -40,7 +40,7 @@ void CanvasItem::save(KConfig *cfg)
cfg->writeEntry("dummykey", true);
}
-void CanvasItem::playSound(QString file, double vol)
+void CanvasItem::playSound(TQString file, double vol)
{
if (game)
game->playSound(file, vol);