diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:32:27 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:32:27 -0600 |
commit | 9f2c757e1a1694373c11427a00502c2ff4c2d403 (patch) | |
tree | 7d90e91214976a7d23d89ec3474515cf46069704 /ktouch/src/ktouch.cpp | |
parent | cee429821aa6f1acc97fb482d325fb4eb37376ca (diff) | |
download | tdeedu-9f2c757e1a1694373c11427a00502c2ff4c2d403.tar.gz tdeedu-9f2c757e1a1694373c11427a00502c2ff4c2d403.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'ktouch/src/ktouch.cpp')
-rw-r--r-- | ktouch/src/ktouch.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ktouch/src/ktouch.cpp b/ktouch/src/ktouch.cpp index d9ee9d9c..278ad3fe 100644 --- a/ktouch/src/ktouch.cpp +++ b/ktouch/src/ktouch.cpp @@ -420,9 +420,9 @@ void KTouch::trainingStatistics() { void KTouch::optionsPreferences() { trainingPause(); - if ( KConfigDialog::showDialog( "settings" ) ) return; - // KConfigDialog didn't find an instance of this dialog, so lets create it : - KConfigDialog* dialog = new KConfigDialog( this, "settings", Prefs::self() ); + if ( TDEConfigDialog::showDialog( "settings" ) ) return; + // TDEConfigDialog didn't find an instance of this dialog, so lets create it : + TDEConfigDialog* dialog = new TDEConfigDialog( this, "settings", Prefs::self() ); m_pageGeneral = new KTouchPrefGeneralLayout(0, "General"); dialog->addPage(m_pageGeneral, i18n("General Options"), "style"); m_pageTraining = new KTouchPrefTrainingLayout(0, "Training"); @@ -542,7 +542,7 @@ void KTouch::resizeEvent(TQResizeEvent * event) { // Will be called when this app is restored due to session management. // This function only stored the temperary data of the last session. All permanent // settings should be handled by the KTouchConfiguration object. -void KTouch::readProperties(KConfig *config) { +void KTouch::readProperties(TDEConfig *config) { kdDebug() << "[KTouch::readProperties] Reading session data..." << endl; // TODO : Session management rewrite config->setGroup("TrainingState"); @@ -575,7 +575,7 @@ void KTouch::readProperties(KConfig *config) { // ---------------------------------------------------------------------------- // Will be called when the app should save its state for session management purposes. -void KTouch::saveProperties(KConfig *config) { +void KTouch::saveProperties(TDEConfig *config) { kdDebug() << "[KTouch::saveProperties] Saving session data..." << endl; // We are going down because of session management (most likely because of // KDE logout). Let's save the current status so that we can restore it |