From 1d077caf68127ab1a5518df84cc5592a1b47a965 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 14 Aug 2011 05:14:51 +0000 Subject: 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 --- kscreensaver/kdesavers/SolarWinds.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'kscreensaver/kdesavers/SolarWinds.cpp') diff --git a/kscreensaver/kdesavers/SolarWinds.cpp b/kscreensaver/kdesavers/SolarWinds.cpp index ea3e916a..ee3229f2 100644 --- a/kscreensaver/kdesavers/SolarWinds.cpp +++ b/kscreensaver/kdesavers/SolarWinds.cpp @@ -399,12 +399,12 @@ void SWindsWidget::initializeGL() #ifdef UNIT_TEST void SWindsWidget::keyPressEvent( TQKeyEvent* e ) { - if( e->key() == Qt::Key_0 ) { setDefaults( 0 ); updateParameters(); } - if( e->key() == Qt::Key_1 ) { setDefaults( 1 ); updateParameters(); } - if( e->key() == Qt::Key_2 ) { setDefaults( 2 ); updateParameters(); } - if( e->key() == Qt::Key_3 ) { setDefaults( 3 ); updateParameters(); } - if( e->key() == Qt::Key_4 ) { setDefaults( 4 ); updateParameters(); } - if( e->key() == Qt::Key_5 ) { setDefaults( 5 ); updateParameters(); } + if( e->key() == TQt::Key_0 ) { setDefaults( 0 ); updateParameters(); } + if( e->key() == TQt::Key_1 ) { setDefaults( 1 ); updateParameters(); } + if( e->key() == TQt::Key_2 ) { setDefaults( 2 ); updateParameters(); } + if( e->key() == TQt::Key_3 ) { setDefaults( 3 ); updateParameters(); } + if( e->key() == TQt::Key_4 ) { setDefaults( 4 ); updateParameters(); } + if( e->key() == TQt::Key_5 ) { setDefaults( 5 ); updateParameters(); } } #endif @@ -731,7 +731,7 @@ void KSWindsSetup::slotHelp() { KMessageBox::about(this, i18n("

Solar Winds 1.0

\n

Copyright (c) 2002 Terence M. Welsh
\nhttp://www.reallyslick.com/

\n\n

Ported to KDE by Karl Robillard

"), - TQString::null, KMessageBox::AllowLink); + TQString(), KMessageBox::AllowLink); } @@ -757,7 +757,7 @@ void KSWindsSetup::slotOk() #ifdef UNIT_TEST -// moc SolarWinds.h -o SolarWinds.moc +// tqmoc SolarWinds.h -o SolarWinds.tqmoc // g++ -g -DUNIT_TEST SolarWinds.cpp -I/usr/lib/qt3/include -lqt -L/usr/lib/qt3/lib -lGLU -lGL #include -- cgit v1.2.1