summaryrefslogtreecommitdiffstats
path: root/katomic/configbox.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 /katomic/configbox.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 'katomic/configbox.cpp')
-rw-r--r--katomic/configbox.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/katomic/configbox.cpp b/katomic/configbox.cpp
index d6fcde23..30c77dd3 100644
--- a/katomic/configbox.cpp
+++ b/katomic/configbox.cpp
@@ -16,8 +16,8 @@
extern Options settings;
-ConfigBox::ConfigBox ( TQWidget *parent, const char *name)
- : KDialogBase ( parent, name, true, i18n("Configure"), Ok | Cancel, Ok, true )
+ConfigBox::ConfigBox ( TQWidget *tqparent, const char *name)
+ : KDialogBase ( tqparent, name, true, i18n("Configure"), Ok | Cancel, Ok, true )
{
TQWidget *page = makeMainWidget();
@@ -33,7 +33,7 @@ ConfigBox::ConfigBox ( TQWidget *parent, const char *name)
glay->addWidget(disp, 1, 2);
disp->display(1);
- speed = new TQSlider(1, 10, 1, 1, TQSlider::Horizontal, page);
+ speed = new TQSlider(1, 10, 1, 1, Qt::Horizontal, page);
glay->addMultiCellWidget(speed, 2, 2, 2, 3);
connect(speed, TQT_SIGNAL(valueChanged(int)), disp, TQT_SLOT(display(int)));