summaryrefslogtreecommitdiffstats
path: root/kolf/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kolf/game.cpp')
-rw-r--r--kolf/game.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kolf/game.cpp b/kolf/game.cpp
index e4c298fe..e29e9932 100644
--- a/kolf/game.cpp
+++ b/kolf/game.cpp
@@ -249,7 +249,7 @@ Bridge::Bridge(TQRect rect, TQCanvas *canvas)
{
TQColor color("#92772D");
setBrush(TQBrush(color));
- setPen(Qt::NoPen);
+ setPen(TQt::NoPen);
setZ(998);
topWall = new Wall(canvas);
@@ -414,7 +414,7 @@ WindmillConfig::WindmillConfig(Windmill *windmill, TQWidget *parent)
TQHBoxLayout *hlayout = new TQHBoxLayout(m_vlayout, spacingHint());
hlayout->addWidget(new TQLabel(i18n("Slow"), this));
- TQSlider *slider = new TQSlider(1, 10, 1, windmill->curSpeed(), Qt::Horizontal, this);
+ TQSlider *slider = new TQSlider(1, 10, 1, windmill->curSpeed(), TQt::Horizontal, this);
hlayout->addWidget(slider);
hlayout->addWidget(new TQLabel(i18n("Fast"), this));
connect(slider, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(speedChanged(int)));
@@ -673,7 +673,7 @@ EllipseConfig::EllipseConfig(Ellipse *ellipse, TQWidget *parent)
TQHBoxLayout *hlayout = new TQHBoxLayout(m_vlayout, spacingHint());
slow1 = new TQLabel(i18n("Slow"), this);
hlayout->addWidget(slow1);
- slider1 = new TQSlider(1, 100, 5, 100 - ellipse->changeEvery(), Qt::Horizontal, this);
+ slider1 = new TQSlider(1, 100, 5, 100 - ellipse->changeEvery(), TQt::Horizontal, this);
hlayout->addWidget(slider1);
fast1 = new TQLabel(i18n("Fast"), this);
hlayout->addWidget(fast1);
@@ -2446,7 +2446,7 @@ void KolfGame::handleMousePressEvent(TQMouseEvent *e)
switch (e->button())
{
// select AND move now :)
- case Qt::LeftButton:
+ case TQt::LeftButton:
{
selectedItem = list.first();
movingItem = selectedItem;
@@ -2473,9 +2473,9 @@ void KolfGame::handleMousePressEvent(TQMouseEvent *e)
{
if (m_useMouse)
{
- if (!inPlay && e->button() == Qt::LeftButton)
+ if (!inPlay && e->button() == TQt::LeftButton)
puttPress();
- else if (e->button() == Qt::RightButton)
+ else if (e->button() == TQt::RightButton)
toggleShowInfo();
}
}
@@ -2583,9 +2583,9 @@ void KolfGame::handleMouseReleaseEvent(TQMouseEvent *e)
if (!editing && m_useMouse)
{
- if (!inPlay && e->button() == Qt::LeftButton)
+ if (!inPlay && e->button() == TQt::LeftButton)
puttRelease();
- else if (e->button() == Qt::RightButton)
+ else if (e->button() == TQt::RightButton)
toggleShowInfo();
}