diff options
Diffstat (limited to 'khangman')
| -rw-r--r-- | khangman/khangman.kdevprj | 335 | ||||
| -rw-r--r-- | khangman/khangman/Makefile.am | 2 | ||||
| -rw-r--r-- | khangman/khangman/khangman.cpp | 30 | ||||
| -rw-r--r-- | khangman/khangman/khangman.h | 2 | ||||
| -rw-r--r-- | khangman/khangman/khangmanview.cpp | 26 | ||||
| -rw-r--r-- | khangman/khangman/khangmanview.h | 2 | ||||
| -rw-r--r-- | khangman/khangman/khnewstuff.cpp | 4 | ||||
| -rw-r--r-- | khangman/khangman/main.cpp | 4 | ||||
| -rw-r--r-- | khangman/khangman/pics/desert/animation10.png | bin | 17111 -> 30228 bytes | |||
| -rw-r--r-- | khangman/khangman/pics/desert/animation9.png | bin | 15639 -> 30790 bytes | |||
| -rw-r--r-- | khangman/khangman/pics/sea/animation10.png | bin | 36927 -> 56279 bytes | |||
| -rw-r--r-- | khangman/khangman/pics/sea/animation9.png | bin | 35634 -> 56570 bytes | |||
| -rw-r--r-- | khangman/khangman/prefs.kcfgc | 2 | ||||
| -rw-r--r-- | khangman/khangman/timer.cpp | 4 | ||||
| -rw-r--r-- | khangman/khangman/timer.h | 2 |
15 files changed, 39 insertions, 374 deletions
diff --git a/khangman/khangman.kdevprj b/khangman/khangman.kdevprj deleted file mode 100644 index 1354ff38..00000000 --- a/khangman/khangman.kdevprj +++ /dev/null @@ -1,335 +0,0 @@ -[AUTHORS] -dist=true -install=false -install_location= -type=DATA - -[COPYING] -dist=true -install=false -install_location= -type=DATA - -[ChangeLog] -dist=true -install=false -install_location= -type=DATA - -[Config for BinMakefileAm] -addcxxflags= -bin_program=khangman -cflags= -cppflags= -cxxflags=\s-O0 -ldadd=\s$(LIB_TDEUI) $(LIB_TDECORE) $(LIB_QT) -ldflags= -libtool_dir= -path_to_bin_program=./khangman - -[General] -AMChanged=false -author=Whitehawk Stormchaser -configure_args=\s--build=i386-linux --host=i386-linux --target=i386-linux\s -dir_where_make_will_be_called=./ -email=zerokode@yahoo.com -kdevprj_version=1.3 -lfv_open_groups=Headers -make_options=\s-j1 -makefiles=Makefile.am,khangman/Makefile.am,khangman/sounds/Makefile.am,khangman/pics/Makefile.am,khangman/data/Makefile.am, -modifyMakefiles=true -project_name=KHangMan -project_type=mini_kde2 -short_info= -showNonProjectFiles=true -sub_dir=khangman/ -version= -version_control=None -workspace=265262646 - -[INSTALL] -dist=true -install=false -install_location= -type=DATA - -[LFV Groups] -Desktop=*.desktop, -GNU=AUTHORS,COPYING,ChangeLog,INSTALL,README,TODO,NEWS, -Headers=*.h,*.hxx,*.hpp,*.H, -Others=*, -Sources=*.cpp,*.c,*.cc,*.C,*.cxx,*.ec,*.ecpp,*.lxx,*.l++,*.ll,*.l, -Translations=*.ts,*.po, -User Interface=*.ui,*.kdevdlg,*.rc, -groups=Headers,Sources,GNU,Translations,User Interface,Desktop,Others - -[Makefile.am] -files=TODO,README,AUTHORS,khangman.lsm,INSTALL,ChangeLog,COPYING,khangman.kdevprj, -sub_dirs=khangman -type=normal - -[README] -dist=true -install=false -install_location= -type=DATA - -[TODO] -dist=true -install=false -install_location= -type=DATA - -[khangman.kdevprj] -dist=true -install=false -install_location= -type=DATA - -[khangman.lsm] -dist=true -install=false -install_location= -type=DATA - -[khangman/Makefile.am] -files=khangman/khsplash.h,khangman/khsplash.cpp,khangman/main.cpp,khangman/lo16-app-khangman.png,khangman/khangman.cpp,khangman/lo32-app-khangman.png,khangman/khangman.h,khangman/khangman.desktop,khangman/cr16-app-khangman.png,khangman/cr32-app-khangman.png,khangman/mainw.ui,khangman/infodlg.ui,khangman/info.cpp,khangman/info.h -sub_dirs=data,pics,sounds, -type=prog_main - -[khangman/data/Makefile.am] -files=khangman/data/easy.txt,khangman/data/animals.txt,khangman/data/hard.txt,khangman/data/medium.txt -sub_dirs= -type=normal - -[khangman/data/animals.txt] -dist=true -install=true -install_location=$$(kde_datadir)/khangman/data/animals.txt -type=DATA - -[khangman/data/easy.txt] -dist=true -install=true -install_location=$$(kde_datadir)/khangman/data/easy.txt -type=DATA - -[khangman/data/hard.txt] -dist=true -install=true -install_location=$$(kde_datadir)/khangman/data/hard.txt -type=DATA - -[khangman/data/medium.txt] -dist=true -install=true -install_location=$$(kde_datadir)/khangman/data/medium.txt -type=DATA - -[khangman/cr16-app-khangman.png] -dist=true -install=true -install_location=$$(kde_icondir)/crystalsvg/16x16/apps/khangman.png -type=DATA - -[khangman/cr32-app-khangman.png] -dist=true -install=true -install_location=$$(kde_icondir)/crystalsvg/32x32/apps/khangman.png -type=DATA - -[khangman/info.cpp] -dist=true -install=false -install_location= -type=SOURCE - -[khangman/info.h] -dist=true -install=false -install_location= -type=HEADER - -[khangman/infodlg.ui] -dist=true -install=false -install_location= -type=SOURCE - -[khangman/khangman.cpp] -dist=true -install=false -install_location= -type=SOURCE - -[khangman/khangman.desktop] -dist=true -install=false -install_location= -type=DATA - -[khangman/khangman.h] -dist=true -install=false -install_location= -type=HEADER - -[khangman/khsplash.cpp] -dist=true -install=false -install_location= -type=SOURCE - -[khangman/khsplash.h] -dist=true -install=false -install_location= -type=HEADER - -[khangman/lo16-app-khangman.png] -dist=true -install=true -install_location=$$(kde_icondir)/locolor/16x16/apps/khangman.png -type=DATA - -[khangman/lo32-app-khangman.png] -dist=true -install=true -install_location=$$(kde_icondir)/locolor/32x32/apps/khangman.png -type=DATA - -[khangman/main.cpp] -dist=true -install=false -install_location= -type=SOURCE - -[khangman/mainw.ui] -dist=true -install=false -install_location= -type=SOURCE - -[khangman/pics/Makefile.am] -files=khangman/pics/khm_splash.png,khangman/pics/hg10.jpg,khangman/pics/hg12.jpg,khangman/pics/hg13.jpg,khangman/pics/hg14.jpg,khangman/pics/hg1.jpg,khangman/pics/hg2.jpg,khangman/pics/hg3.jpg,khangman/pics/hg4.jpg,khangman/pics/hg5.jpg,khangman/pics/hg6.jpg,khangman/pics/hg7.jpg,khangman/pics/hg8.jpg,khangman/pics/hg9.jpg,khangman/pics/c_bg.png -sub_dirs= -type=normal - -[khangman/pics/c_bg.png] -dist=true -install=true -install_location=$$(kde_datadir)/khangman/pics/c_bg.png -type=DATA - -[khangman/pics/hg1.jpg] -dist=true -install=true -install_location=$$(kde_datadir)/khangman/pics/hg1.jpg -type=DATA - -[khangman/pics/hg10.jpg] -dist=true -install=true -install_location=$$(kde_datadir)/khangman/pics/hg10.jpg -type=DATA - -[khangman/pics/hg12.jpg] -dist=true -install=true -install_location=$$(kde_datadir)/khangman/pics/hg12.jpg -type=DATA - -[khangman/pics/hg13.jpg] -dist=true -install=true -install_location=$$(kde_datadir)/khangman/pics/hg13.jpg -type=DATA - -[khangman/pics/hg14.jpg] -dist=true -install=true -install_location=$$(kde_datadir)/khangman/pics/hg14.jpg -type=DATA - -[khangman/pics/hg2.jpg] -dist=true -install=true -install_location=$$(kde_datadir)/khangman/pics/hg2.jpg -type=DATA - -[khangman/pics/hg3.jpg] -dist=true -install=true -install_location=$$(kde_datadir)/khangman/pics/hg3.jpg -type=DATA - -[khangman/pics/hg4.jpg] -dist=true -install=true -install_location=$$(kde_datadir)/khangman/pics/hg4.jpg -type=DATA - -[khangman/pics/hg5.jpg] -dist=true -install=true -install_location=$$(kde_datadir)/khangman/pics/hg5.jpg -type=DATA - -[khangman/pics/hg6.jpg] -dist=true -install=true -install_location=$$(kde_datadir)/khangman/pics/hg6.jpg -type=DATA - -[khangman/pics/hg7.jpg] -dist=true -install=true -install_location=$$(kde_datadir)/khangman/pics/hg7.jpg -type=DATA - -[khangman/pics/hg8.jpg] -dist=true -install=true -install_location=$$(kde_datadir)/khangman/pics/hg8.jpg -type=DATA - -[khangman/pics/hg9.jpg] -dist=true -install=true -install_location=$$(kde_datadir)/khangman/pics/hg9.jpg -type=DATA - -[khangman/pics/khm_splash.png] -dist=true -install=true -install_location=$$(kde_datadir)/khangman/pics/khm_splash.png -type=DATA - -[khangman/sounds/Makefile.am] -files=khangman/sounds/new_game.wav,khangman/sounds/splash.wav,khangman/sounds/new_game.ogg,khangman/sounds/splash.ogg -sub_dirs= -type=normal - -[khangman/sounds/new_game.ogg] -dist=true -install=true -install_location=$$(kde_datadir)/khangman/sounds/new_game.ogg -type=DATA - -[khangman/sounds/new_game.wav] -dist=true -install=true -install_location=$$(kde_datadir)/khangman/sounds/new_game.wav -type=DATA - -[khangman/sounds/splash.ogg] -dist=true -install=true -install_location=$$(kde_datadir)/khangman/sounds/splash.ogg -type=DATA - -[khangman/sounds/splash.wav] -dist=true -install=true -install_location=$$(kde_datadir)/khangman/sounds/splash.wav -type=DATA diff --git a/khangman/khangman/Makefile.am b/khangman/khangman/Makefile.am index 1a3111d7..8c4052ad 100644 --- a/khangman/khangman/Makefile.am +++ b/khangman/khangman/Makefile.am @@ -17,7 +17,7 @@ INCLUDES= -I$(top_srcdir)/libtdeedu/tdeeducore $(all_includes) METASOURCES = AUTO # the library search path. -khangman_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor +khangman_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor rc_DATA = khangmanui.rc rcdir = $(kde_datadir)/khangman diff --git a/khangman/khangman/khangman.cpp b/khangman/khangman/khangman.cpp index 99459074..6917f3ae 100644 --- a/khangman/khangman/khangman.cpp +++ b/khangman/khangman/khangman.cpp @@ -39,7 +39,7 @@ #include <tdelocale.h> #include <tdemainwindow.h> #include <tdemessagebox.h> -#include <kstandarddirs.h> +#include <tdestandarddirs.h> #include <kstatusbar.h> #include <tdetoolbarbutton.h> @@ -74,30 +74,30 @@ KHangMan::~KHangMan() void KHangMan::setupActions() { // Game->New - TDEAction *action = new TDEAction(i18n("&New"), "document-new", CTRL+Key_N , TQT_TQOBJECT(m_view), TQT_SLOT(slotNewGame()), actionCollection(), "file_new"); + TDEAction *action = new TDEAction(i18n("&New"), "document-new", CTRL+Key_N , m_view, TQ_SLOT(slotNewGame()), actionCollection(), "file_new"); action->setToolTip(i18n( "Play with a new word" )); // Game->Get Words in New Language - new TDEAction( i18n("&Get Words in New Language..."), "knewstuff", CTRL+Key_G, TQT_TQOBJECT(this), TQT_SLOT( slotDownloadNewStuff() ), actionCollection(), "downloadnewstuff" ); + new TDEAction( i18n("&Get Words in New Language..."), "knewstuff", CTRL+Key_G, this, TQ_SLOT( slotDownloadNewStuff() ), actionCollection(), "downloadnewstuff" ); - KStdAction::quit(TQT_TQOBJECT(this), TQT_SLOT(slotQuit()), actionCollection()); + KStdAction::quit(this, TQ_SLOT(slotQuit()), actionCollection()); m_levelAction = new TDESelectAction(i18n("Le&vel"), 0, actionCollection(), "combo_level"); m_levelAction->setToolTip(i18n( "Choose the level" )); m_levelAction->setWhatsThis(i18n( "Choose the level of difficulty" )); - connect(m_levelAction, TQT_SIGNAL(activated(int)), TQT_TQOBJECT(this), TQT_SLOT(slotChangeLevel(int))); + connect(m_levelAction, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotChangeLevel(int))); // Action for selecting language. m_languageAction = new TDESelectAction(i18n("&Language"), 0, actionCollection(), "languages"); m_languageAction->setItems(m_languageNames); m_languageAction->setCurrentItem(m_languages.findIndex(Prefs::selectedLanguage())); - connect(m_languageAction, TQT_SIGNAL(activated(int)), TQT_TQOBJECT(this), TQT_SLOT(slotChangeLanguage(int))); + connect(m_languageAction, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotChangeLanguage(int))); - KStdAction::preferences(TQT_TQOBJECT(this), TQT_SLOT(optionsPreferences()), actionCollection()); + KStdAction::preferences(this, TQ_SLOT(optionsPreferences()), actionCollection()); // Mode. Currently hard coded into Sea and Desert themes. TQStringList modes; - m_modeAction = new TDESelectAction(i18n("L&ook"), 0, TQT_TQOBJECT(this), TQT_SLOT(slotChangeMode()), actionCollection(), "combo_mode"); + m_modeAction = new TDESelectAction(i18n("L&ook"), 0, this, TQ_SLOT(slotChangeMode()), actionCollection(), "combo_mode"); modes += i18n("&Sea Theme"); modes += i18n("&Desert Theme"); m_modeAction->setItems(modes); @@ -134,7 +134,7 @@ void KHangMan::slotQuit() { Prefs::setShowCharToolbar( secondToolbar->isVisible()); Prefs::writeConfig(); - kapp->quit(); + tdeApp->quit(); } @@ -223,12 +223,12 @@ void KHangMan::setLanguages() temp_languages.clear(); // Write the present languages in config so they cannot be downloaded. - TDEConfig *config=kapp->config(); + TDEConfig *config=tdeApp->config(); config->setGroup("TDENewStuffStatus"); for (uint i=0; i<m_languages.count(); i++) { TQString tmp = m_languages[i]; if (!config->readEntry(tmp)) - config->writeEntry(tmp, TQString(TQDate::currentDate().toString(Qt::ISODate))); + config->writeEntry(tmp, TQString(TQDate::currentDate().toString(TQt::ISODate))); } // We look in $TDEDIR/share/locale/all_languages from @@ -382,7 +382,7 @@ void KHangMan::optionsPreferences() Timer *m_timer = new Timer(); dialog->addPage(m_timer, i18n("Timers"), "clock"); - connect(dialog, TQT_SIGNAL(settingsChanged()), TQT_TQOBJECT(this), TQT_SLOT(updateSettings())); + connect(dialog, TQ_SIGNAL(settingsChanged()), this, TQ_SLOT(updateSettings())); dialog->show(); } @@ -440,7 +440,7 @@ void KHangMan::loadLangToolBar() "check your installation.").arg(Prefs::selectedLanguage()); KMessageBox::sorry( this, mString, i18n("Error") ); - kapp->quit(); + tdeApp->quit(); } update(); @@ -457,8 +457,8 @@ void KHangMan::loadLangToolBar() for (int i=0; i<(int) m_allData.count(); i++) secondToolbar->insertButton (charIcon(m_allData[i].at(0)), i, - TQT_SIGNAL( clicked() ), TQT_TQOBJECT(this), - TQT_SLOT( slotPasteChar()), true, + TQ_SIGNAL( clicked() ), this, + TQ_SLOT( slotPasteChar()), true, i18n("Inserts the character %1").arg(m_allData[i]), i+1 ); } diff --git a/khangman/khangman/khangman.h b/khangman/khangman/khangman.h index 9edca427..920336af 100644 --- a/khangman/khangman/khangman.h +++ b/khangman/khangman/khangman.h @@ -50,7 +50,7 @@ const int IDS_HINT = 103; */ class KHangMan : public TDEMainWindow { - Q_OBJECT + TQ_OBJECT public: /** diff --git a/khangman/khangman/khangmanview.cpp b/khangman/khangman/khangmanview.cpp index 0e2f7b2f..c2d11bf2 100644 --- a/khangman/khangman/khangmanview.cpp +++ b/khangman/khangman/khangmanview.cpp @@ -23,7 +23,7 @@ #include <tdemessagebox.h> #include <kpassivepopup.h> #include <kpushbutton.h> -#include <kstandarddirs.h> +#include <tdestandarddirs.h> #include <tqimage.h> #include <tqlabel.h> @@ -77,10 +77,10 @@ KHangManView::KHangManView(KHangMan*parent, const char *name) m_accentedLetters = true; m_hintExists = true; // Assume hint exists - connect( m_letterInput, TQT_SIGNAL( returnPressed() ), - this, TQT_SLOT( slotTry() ) ); - connect( m_guessButton, TQT_SIGNAL( clicked() ), - this, TQT_SLOT( slotTry() )); + connect( m_letterInput, TQ_SIGNAL( returnPressed() ), + this, TQ_SLOT( slotTry() ) ); + connect( m_guessButton, TQ_SIGNAL( clicked() ), + this, TQ_SLOT( slotTry() )); } @@ -190,7 +190,7 @@ bool KHangManView::containsChar(const TQString &sChar) void KHangManView::mousePressEvent(TQMouseEvent *mouse) { - if (mouse->button() == Qt::RightButton && m_hintExists && Prefs::hint()) { + if (mouse->button() == TQt::RightButton && m_hintExists && Prefs::hint()) { KPassivePopup *myPopup = new KPassivePopup( m_letterInput); myPopup->setView(i18n("Hint"), m_hint ); @@ -429,12 +429,12 @@ void KHangManView::slotTry() y = abspos.y() + height()*20/535; point = TQPoint(x, y); popup->show(mapToGlobal(point)); - TQTimer::singleShot( 4*1000, this, TQT_SLOT(slotNewGame()) ); + TQTimer::singleShot( 4*1000, this, TQ_SLOT(slotNewGame()) ); } else if (KMessageBox::questionYesNo(this, i18n("Congratulations! You won! Do you want to play again?"),TQString(),i18n("Play Again"), i18n("Do Not Play")) == 3) slotNewGame(); else - kapp->quit(); + tdeApp->quit(); } } else { @@ -475,12 +475,12 @@ void KHangManView::slotTry() int y = abspos.y() + height() * 20 / 535; popup->show(mapToGlobal(TQPoint(x, y))); - TQTimer::singleShot( 4 * 1000, this, TQT_SLOT(slotNewGame()) ); + TQTimer::singleShot( 4 * 1000, this, TQ_SLOT(slotNewGame()) ); } else if (KMessageBox::questionYesNo(this, newGameString, TQString(), i18n("Play Again"), i18n("Do Not Play")) == 3) slotNewGame(); else - kapp->quit(); + tdeApp->quit(); } } } @@ -507,7 +507,7 @@ void KHangManView::slotTry() // Create a 1 second single-shot timer, and reenable user // input after this time. TQTimer::singleShot( Prefs::missedTimer() * 1000, - this, TQT_SLOT(enableUserInput()) ); + this, TQ_SLOT(enableUserInput()) ); // Disable any possible entry m_letterInput->setEnabled(false); @@ -528,7 +528,7 @@ void KHangManView::slotTry() point = TQPoint(x, y); TQTimer::singleShot( Prefs::missedTimer() * 1000, - this, TQT_SLOT(enableUserInput()) ); + this, TQ_SLOT(enableUserInput()) ); // Disable any possible entry m_letterInput->setEnabled(false); @@ -596,7 +596,7 @@ void KHangManView::game() .arg(Prefs::selectedLanguage()) .arg(Prefs::levelFile()); KMessageBox::sorry( this, mString, i18n("Error") ); - kapp->quit(); + tdeApp->quit(); } // We open the file and store info into the stream... diff --git a/khangman/khangman/khangmanview.h b/khangman/khangman/khangmanview.h index d7400b5c..3e068b9c 100644 --- a/khangman/khangman/khangmanview.h +++ b/khangman/khangman/khangmanview.h @@ -40,7 +40,7 @@ class KHangMan; class KHangManView : public TQWidget { - Q_OBJECT + TQ_OBJECT public: diff --git a/khangman/khangman/khnewstuff.cpp b/khangman/khangman/khnewstuff.cpp index a3719a9a..d0f844ac 100644 --- a/khangman/khangman/khnewstuff.cpp +++ b/khangman/khangman/khnewstuff.cpp @@ -24,7 +24,7 @@ #include <tdeapplication.h> #include <kdebug.h> -#include <kstandarddirs.h> +#include <tdestandarddirs.h> #include <ktar.h> #include <tqdir.h> #include <tdeaction.h> @@ -47,7 +47,7 @@ bool KHNewStuff::install( const TQString &fileName ) return false; const KArchiveDirectory *archiveDir = archive.directory(); TDEStandardDirs myStdDir; - const TQString destDir =myStdDir.saveLocation("data", kapp->instanceName() + "/data/", true); + const TQString destDir =myStdDir.saveLocation("data", tdeApp->instanceName() + "/data/", true); TDEStandardDirs::makeDir( destDir ); archiveDir->copyTo(destDir); archive.close(); diff --git a/khangman/khangman/main.cpp b/khangman/khangman/main.cpp index 353b69a5..ee086fe3 100644 --- a/khangman/khangman/main.cpp +++ b/khangman/khangman/main.cpp @@ -23,8 +23,8 @@ #include <tdeaboutdata.h> #include <tdecmdlineargs.h> #include <tdelocale.h> -#include <kprocess.h> -#include <kstandarddirs.h> +#include <tdeprocess.h> +#include <tdestandarddirs.h> #include "fontchecker.h" diff --git a/khangman/khangman/pics/desert/animation10.png b/khangman/khangman/pics/desert/animation10.png Binary files differindex d05f82ba..ffe9eae4 100644 --- a/khangman/khangman/pics/desert/animation10.png +++ b/khangman/khangman/pics/desert/animation10.png diff --git a/khangman/khangman/pics/desert/animation9.png b/khangman/khangman/pics/desert/animation9.png Binary files differindex 42693ed8..f611aa67 100644 --- a/khangman/khangman/pics/desert/animation9.png +++ b/khangman/khangman/pics/desert/animation9.png diff --git a/khangman/khangman/pics/sea/animation10.png b/khangman/khangman/pics/sea/animation10.png Binary files differindex 30a5d5e9..f21e5e5a 100644 --- a/khangman/khangman/pics/sea/animation10.png +++ b/khangman/khangman/pics/sea/animation10.png diff --git a/khangman/khangman/pics/sea/animation9.png b/khangman/khangman/pics/sea/animation9.png Binary files differindex 7f2ff262..ae3dcce5 100644 --- a/khangman/khangman/pics/sea/animation9.png +++ b/khangman/khangman/pics/sea/animation9.png diff --git a/khangman/khangman/prefs.kcfgc b/khangman/khangman/prefs.kcfgc index feaa262c..f3bfb34a 100644 --- a/khangman/khangman/prefs.kcfgc +++ b/khangman/khangman/prefs.kcfgc @@ -1,6 +1,6 @@ # Code generation options for tdeconfig_compiler File=khangman.kcfg -IncludeFiles=kstandarddirs.h,tqdir.h +IncludeFiles=tdestandarddirs.h,tqdir.h ClassName=Prefs Singleton=true Mutators=true diff --git a/khangman/khangman/timer.cpp b/khangman/khangman/timer.cpp index 64fe60a7..21386035 100644 --- a/khangman/khangman/timer.cpp +++ b/khangman/khangman/timer.cpp @@ -32,8 +32,8 @@ Timer::Timer() { timeHintLabel->setText(TQString::number(Prefs::hintTimer()) + " " + i18n("seconds")); timeMissedLabel->setText(TQString::number(Prefs::missedTimer()) + " " + i18n("seconds")); - connect(kcfg_HintTimer, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(sliderValueChanged())); - connect(kcfg_MissedTimer, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(sliderValueChanged())); + connect(kcfg_HintTimer, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(sliderValueChanged())); + connect(kcfg_MissedTimer, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(sliderValueChanged())); } diff --git a/khangman/khangman/timer.h b/khangman/khangman/timer.h index 80d1e8af..ef779d02 100644 --- a/khangman/khangman/timer.h +++ b/khangman/khangman/timer.h @@ -32,7 +32,7 @@ class Timer : public timerdlg { -Q_OBJECT +TQ_OBJECT public: |
