summaryrefslogtreecommitdiffstats
path: root/ktron
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-25 00:32:59 -0600
committerTimothy Pearson <[email protected]>2013-01-25 00:32:59 -0600
commit2f84d0e2d3d4252e6aee24aceafa45dbdb7f4d1d (patch)
treeea24a96bad3bb7356ec1a2dca2a1338692d79745 /ktron
parentd6f3812c8d969a673b420beca2482804177704fb (diff)
downloadtdegames-2f84d0e2d3d4252e6aee24aceafa45dbdb7f4d1d.tar.gz
tdegames-2f84d0e2d3d4252e6aee24aceafa45dbdb7f4d1d.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'ktron')
-rw-r--r--ktron/ktron.cpp4
-rw-r--r--ktron/tron.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/ktron/ktron.cpp b/ktron/ktron.cpp
index 31437999..7989f6d4 100644
--- a/ktron/ktron.cpp
+++ b/ktron/ktron.cpp
@@ -179,10 +179,10 @@ void KTron::paletteChange(const TQPalette &/*oldPalette*/){
* Show Settings dialog.
*/
void KTron::showSettings(){
- if(KConfigDialog::showDialog("settings"))
+ if(TDEConfigDialog::showDialog("settings"))
return;
- KConfigDialog *dialog = new KConfigDialog(this, "settings", Settings::self());
+ TDEConfigDialog *dialog = new TDEConfigDialog(this, "settings", Settings::self());
dialog->addPage(new General(0, "General"), i18n("General"), "package_settings");
dialog->addPage(new Ai(0, "Ai"), i18n("A.I."), "personal");
dialog->addPage(new Appearance(0, "Appearance"), i18n("Appearance"), "style");
diff --git a/ktron/tron.cpp b/ktron/tron.cpp
index 40a384e4..c17af2ee 100644
--- a/ktron/tron.cpp
+++ b/ktron/tron.cpp
@@ -90,7 +90,7 @@ void Tron::loadSettings(){
KURL url ( Settings::backgroundImage() );
if(!url.isEmpty()){
TQString tmpFile;
- KIO::NetAccess::download(url, tmpFile, this);
+ TDEIO::NetAccess::download(url, tmpFile, this);
TQPixmap pix(tmpFile);
if(!pix.isNull()){
setBackgroundPix(pix);
@@ -99,7 +99,7 @@ void Tron::loadSettings(){
msg=msg.arg(tmpFile);
KMessageBox::sorry(this, msg);
}
- KIO::NetAccess::removeTempFile(tmpFile);
+ TDEIO::NetAccess::removeTempFile(tmpFile);
}
else setBackgroundPix(NULL);
}