summaryrefslogtreecommitdiffstats
path: root/kscreensaver/kdesavers/science.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-14 05:14:51 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-14 05:14:51 +0000
commit1d077caf68127ab1a5518df84cc5592a1b47a965 (patch)
tree9729a338937930e9014ccbd70296f3313d6dc2cc /kscreensaver/kdesavers/science.cpp
parent771e57c60b52ff27c4d92cddc8e6bfc0b8dafd1a (diff)
downloadtdeartwork-1d077caf68127ab1a5518df84cc5592a1b47a965.tar.gz
tdeartwork-1d077caf68127ab1a5518df84cc5592a1b47a965.zip
TQt4 port kdeartwork
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeartwork@1246991 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kscreensaver/kdesavers/science.cpp')
-rw-r--r--kscreensaver/kdesavers/science.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kscreensaver/kdesavers/science.cpp b/kscreensaver/kdesavers/science.cpp
index 57443e78..f0f61ffe 100644
--- a/kscreensaver/kdesavers/science.cpp
+++ b/kscreensaver/kdesavers/science.cpp
@@ -31,7 +31,7 @@
#include "science.h"
#include "science.moc"
-#if defined Q_WS_X11 && !defined K_WS_QTONLY
+#if defined Q_WS_X11 && !defined K_WS_TQTONLY
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#endif
@@ -897,7 +897,7 @@ KScienceSetup::KScienceSetup( TQWidget *parent, const char *name )
label = new TQLabel( i18n("Size:"), main );
ltc->addWidget( label );
- slideSize = new TQSlider(9, 50, 5, size[mode], TQSlider::Horizontal,
+ slideSize = new TQSlider(9, 50, 5, size[mode], Qt::Horizontal,
main );
slideSize->setMinimumSize( 90, 20 );
slideSize->setTickmarks(TQSlider::Below);
@@ -916,7 +916,7 @@ KScienceSetup::KScienceSetup( TQWidget *parent, const char *name )
ltc->addWidget( label );
slideIntensity = new TQSlider(0, 10, 1, intensity[mode],
- TQSlider::Horizontal, main );
+ Qt::Horizontal, main );
slideIntensity->setMinimumSize( 90, 20 );
slideIntensity->setTickmarks(TQSlider::Below);
slideIntensity->setTickInterval(1);
@@ -933,7 +933,7 @@ KScienceSetup::KScienceSetup( TQWidget *parent, const char *name )
ltc->addWidget( label );
slideSpeed = new TQSlider(0, SCI_MAX_SPEED, 10, speed[mode],
- TQSlider::Horizontal, main );
+ Qt::Horizontal, main );
slideSpeed->setMinimumSize( 90, 20 );
slideSpeed->setTickmarks(TQSlider::Below);
slideSpeed->setTickInterval(10);
@@ -949,7 +949,7 @@ KScienceSetup::KScienceSetup( TQWidget *parent, const char *name )
ltc->addLayout( ltcm );
slideMoveX = new TQSlider(0, SCI_MAX_MOVE, 5, moveX[mode],
- TQSlider::Horizontal, main );
+ Qt::Horizontal, main );
slideMoveX->setMinimumSize( 40, 20 );
slideMoveX->setTickmarks(TQSlider::Below);
slideMoveX->setTickInterval(5);
@@ -958,7 +958,7 @@ KScienceSetup::KScienceSetup( TQWidget *parent, const char *name )
ltcm->addWidget( slideMoveX );
slideMoveY = new TQSlider(0, SCI_MAX_MOVE, 5, moveY[mode],
- TQSlider::Horizontal, main );
+ Qt::Horizontal, main );
slideMoveY->setMinimumSize( 40, 20 );
slideMoveY->setTickmarks(TQSlider::Below);
slideMoveY->setTickInterval(5);