summaryrefslogtreecommitdiffstats
path: root/kscreensaver/kdesavers/Euphoria.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/Euphoria.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/Euphoria.cpp')
-rw-r--r--kscreensaver/kdesavers/Euphoria.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/kscreensaver/kdesavers/Euphoria.cpp b/kscreensaver/kdesavers/Euphoria.cpp
index 8fc5811d..199d339d 100644
--- a/kscreensaver/kdesavers/Euphoria.cpp
+++ b/kscreensaver/kdesavers/Euphoria.cpp
@@ -638,15 +638,15 @@ void EuphoriaWidget::initializeGL()
#ifdef UNIT_TEST
void EuphoriaWidget::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() == Qt::Key_6 ) { setDefaults( 6 ); updateParameters(); }
- if( e->key() == Qt::Key_7 ) { setDefaults( 7 ); updateParameters(); }
- if( e->key() == Qt::Key_8 ) { setDefaults( 8 ); 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(); }
+ if( e->key() == TQt::Key_6 ) { setDefaults( 6 ); updateParameters(); }
+ if( e->key() == TQt::Key_7 ) { setDefaults( 7 ); updateParameters(); }
+ if( e->key() == TQt::Key_8 ) { setDefaults( 8 ); updateParameters(); }
}
#endif
@@ -1024,7 +1024,7 @@ KEuphoriaSetup::KEuphoriaSetup( TQWidget* parent, const char* name )
modeW->setCurrentItem( _saver->mode() ); // set before we connect
connect( modeW, TQT_SIGNAL(activated(int)), _saver, TQT_SLOT(setMode(int)) );
- setMinimumSize( sizeHint() );
+ setMinimumSize( tqsizeHint() );
}
@@ -1038,7 +1038,7 @@ void KEuphoriaSetup::slotHelp()
{
KMessageBox::about(this,
i18n("<h3>Euphoria 1.0</h3>\n<p>Copyright (c) 2002 Terence M. Welsh<br>\n<a href=\"http://www.reallyslick.com/\">http://www.reallyslick.com/</a></p>\n\n<p>Ported to KDE by Karl Robillard</p>"),
- TQString::null, KMessageBox::AllowLink);
+ TQString(), KMessageBox::AllowLink);
}
@@ -1062,7 +1062,7 @@ void KEuphoriaSetup::slotOk()
#ifdef UNIT_TEST
-// moc Euphoria.h -o Euphoria.moc
+// tqmoc Euphoria.h -o Euphoria.tqmoc
// g++ -g -DUNIT_TEST Euphoria.cpp -I/usr/lib/qt3/include -lqt -L/usr/lib/qt3/lib -lGLU -lGL
#include <tqapplication.h>