summaryrefslogtreecommitdiffstats
path: root/kscreensaver/kdesavers/kvm.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/kvm.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/kvm.cpp')
-rw-r--r--kscreensaver/kdesavers/kvm.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kscreensaver/kdesavers/kvm.cpp b/kscreensaver/kdesavers/kvm.cpp
index e0d54265..6e064e29 100644
--- a/kscreensaver/kdesavers/kvm.cpp
+++ b/kscreensaver/kdesavers/kvm.cpp
@@ -21,7 +21,7 @@
* implied warranty.
*
*/
-// layout management added 1998/04/19 by Mario Weilguni <mweilguni@kde.org>
+// tqlayout management added 1998/04/19 by Mario Weilguni <mweilguni@kde.org>
#ifdef HAVE_CONFIG_H
#include <config.h>
@@ -166,8 +166,8 @@ draw_pool (m_state *state)
if( state->modified[index] == 1 )
pos_x += 2;
TQPainter p(state->w);
- p.setPen( Qt::green );
- p.setBrush( Qt::black );
+ p.setPen( TQt::green );
+ p.setBrush( TQt::black );
p.drawPixmap( state->grid_margin_x + x*state->char_width,
state->grid_margin_y + y*state->char_height,
state->images, pos_x*state->char_width,
@@ -289,7 +289,7 @@ kVmSetup::kVmSetup( TQWidget *parent, const char *name )
TQLabel *label = new TQLabel( i18n("Virtual machine speed:"), main );
tl1->addWidget(label);
- TQSlider *slider = new TQSlider( TQSlider::Horizontal, main );
+ TQSlider *slider = new TQSlider( Qt::Horizontal, main );
slider->setMinimumSize( 120, 20 );
slider->setRange( 0, 100 );
slider->setSteps( 10, 20 );
@@ -303,7 +303,7 @@ kVmSetup::kVmSetup( TQWidget *parent, const char *name )
label = new TQLabel( i18n("Display update speed:"), main );
tl1->addWidget(label);
- slider = new TQSlider( TQSlider::Horizontal, main );
+ slider = new TQSlider( Qt::Horizontal, main );
slider->setMinimumSize( 120, 20 );
slider->setRange( 0, MAX_REFRESH_TIMEOUT );
slider->setSteps( MAX_REFRESH_TIMEOUT/10, MAX_REFRESH_TIMEOUT/5 );