summaryrefslogtreecommitdiffstats
path: root/kmahjongg/kmahjongg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmahjongg/kmahjongg.cpp')
-rw-r--r--kmahjongg/kmahjongg.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kmahjongg/kmahjongg.cpp b/kmahjongg/kmahjongg.cpp
index 7d33ab80..ff825b31 100644
--- a/kmahjongg/kmahjongg.cpp
+++ b/kmahjongg/kmahjongg.cpp
@@ -233,10 +233,10 @@ void KMahjongg::redo()
* Show Configure dialog.
*/
void KMahjongg::showSettings(){
- if(KConfigDialog::showDialog("settings"))
+ if(TDEConfigDialog::showDialog("settings"))
return;
- KConfigDialog *dialog = new KConfigDialog(this, "settings", Prefs::self(), KDialogBase::Swallow);
+ TDEConfigDialog *dialog = new TDEConfigDialog(this, "settings", Prefs::self(), KDialogBase::Swallow);
dialog->addPage(new Settings(0, "General"), i18n("General"), "package_settings");
connect(dialog, TQT_SIGNAL(settingsChanged()), bw, TQT_SLOT(loadSettings()));
connect(dialog, TQT_SIGNAL(settingsChanged()), TQT_TQOBJECT(this), TQT_SLOT(setDisplayedWidth()));
@@ -466,7 +466,7 @@ void KMahjongg::loadGame() {
if ( url.isEmpty() )
return;
- KIO::NetAccess::download( url, fname, this );
+ TDEIO::NetAccess::download( url, fname, this );
// open the file for reading
FILE *outFile = fopen( TQFile::encodeName(fname), "r");
@@ -496,7 +496,7 @@ void KMahjongg::loadGame() {
// close the file before exit
fclose(outFile);
- KIO::NetAccess::removeTempFile( fname );
+ TDEIO::NetAccess::removeTempFile( fname );
// refresh the board
bw->gameLoaded();