summaryrefslogtreecommitdiffstats
path: root/kolf/floater.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:58:26 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:58:26 +0000
commit838baf3f99ec5ab81b063eb5449a3381d860f377 (patch)
treedd31abcfde08ca92e4623b8f50b3d762a87c997a /kolf/floater.cpp
parent2bf598bafa22fac4126fc8842df6b0119aadc0e9 (diff)
downloadtdegames-838baf3f99ec5ab81b063eb5449a3381d860f377.tar.gz
tdegames-838baf3f99ec5ab81b063eb5449a3381d860f377.zip
TQt4 port kdegames
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1236074 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kolf/floater.cpp')
-rw-r--r--kolf/floater.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kolf/floater.cpp b/kolf/floater.cpp
index ff42398a..1d33a2ca 100644
--- a/kolf/floater.cpp
+++ b/kolf/floater.cpp
@@ -39,9 +39,9 @@ void FloaterGuide::setPoints(int xa, int ya, int xb, int yb)
}
}
-Config *FloaterGuide::config(TQWidget *parent)
+Config *FloaterGuide::config(TQWidget *tqparent)
{
- return floater->config(parent);
+ return floater->config(tqparent);
}
/////////////////////////
@@ -253,18 +253,18 @@ void Floater::firstMove(int x, int y)
/////////////////////////
-FloaterConfig::FloaterConfig(Floater *floater, TQWidget *parent)
- : BridgeConfig(floater, parent)
+FloaterConfig::FloaterConfig(Floater *floater, TQWidget *tqparent)
+ : BridgeConfig(floater, tqparent)
{
this->floater = floater;
- m_vlayout->addStretch();
+ m_vtqlayout->addStretch();
- m_vlayout->addWidget(new TQLabel(i18n("Moving speed"), this));
- TQHBoxLayout *hlayout = new TQHBoxLayout(m_vlayout, spacingHint());
- hlayout->addWidget(new TQLabel(i18n("Slow"), this));
+ m_vtqlayout->addWidget(new TQLabel(i18n("Moving speed"), this));
+ TQHBoxLayout *htqlayout = new TQHBoxLayout(m_vtqlayout, spacingHint());
+ htqlayout->addWidget(new TQLabel(i18n("Slow"), this));
TQSlider *slider = new TQSlider(0, 20, 2, floater->curSpeed(), Qt::Horizontal, this);
- hlayout->addWidget(slider);
- hlayout->addWidget(new TQLabel(i18n("Fast"), this));
+ htqlayout->addWidget(slider);
+ htqlayout->addWidget(new TQLabel(i18n("Fast"), this));
connect(slider, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(speedChanged(int)));
}