summaryrefslogtreecommitdiffstats
path: root/kmines
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:32:59 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:32:59 -0600
commit2f84d0e2d3d4252e6aee24aceafa45dbdb7f4d1d (patch)
treeea24a96bad3bb7356ec1a2dca2a1338692d79745 /kmines
parentd6f3812c8d969a673b420beca2482804177704fb (diff)
downloadtdegames-2f84d0e2d3d4252e6aee24aceafa45dbdb7f4d1d.tar.gz
tdegames-2f84d0e2d3d4252e6aee24aceafa45dbdb7f4d1d.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kmines')
-rw-r--r--kmines/CHANGELOG4
-rw-r--r--kmines/highscores.cpp2
-rw-r--r--kmines/main.cpp4
-rw-r--r--kmines/status.cpp8
4 files changed, 9 insertions, 9 deletions
diff --git a/kmines/CHANGELOG b/kmines/CHANGELOG
index fe81474d..b8e0af2a 100644
--- a/kmines/CHANGELOG
+++ b/kmines/CHANGELOG
@@ -79,7 +79,7 @@
* fixed repaint of LCDs in inactive mode
2.1.3 (29 November 2001)
- * use KConfigGroupSaver everywhere
+ * use TDEConfigGroupSaver everywhere
* config entry for wwhs server url (just in case ...)
2.1.2 (19 November 2001)
@@ -293,7 +293,7 @@ Mario Weilguni <mweilguni@kde.org>
system defines something called "Status"...
0.5
- * use KApp for configuration and highscoring save (via KConfig)
+ * use KApp for configuration and highscoring save (via TDEConfig)
* better look of option & highscores windows
0.4
diff --git a/kmines/highscores.cpp b/kmines/highscores.cpp
index 51c2ab9b..931254ae 100644
--- a/kmines/highscores.cpp
+++ b/kmines/highscores.cpp
@@ -68,7 +68,7 @@ void ExtManager::convertLegacy(uint gameType)
case Level::NB_TYPES: Q_ASSERT(false);
}
- KConfigGroupSaver cg(kapp->config(), group);
+ TDEConfigGroupSaver cg(kapp->config(), group);
TQString name = cg.config()->readEntry("Name", TQString());
if ( name.isNull() ) return;
if ( name.isEmpty() ) name = i18n("anonymous");
diff --git a/kmines/main.cpp b/kmines/main.cpp
index cb5c4c48..23f790b2 100644
--- a/kmines/main.cpp
+++ b/kmines/main.cpp
@@ -155,9 +155,9 @@ void MainWidget::focusOutEvent(TQFocusEvent *e)
void MainWidget::configureSettings()
{
- if ( KConfigDialog::showDialog("settings") ) return;
+ if ( TDEConfigDialog::showDialog("settings") ) return;
- KConfigDialog *dialog = new KConfigDialog(this, "settings", Settings::self());
+ TDEConfigDialog *dialog = new TDEConfigDialog(this, "settings", Settings::self());
GameConfig *gc = new GameConfig;
dialog->addPage(gc, i18n("Game"), "package_system");
dialog->addPage(new AppearanceConfig, i18n("Appearance"), "style");
diff --git a/kmines/status.cpp b/kmines/status.cpp
index 15301115..770be430 100644
--- a/kmines/status.cpp
+++ b/kmines/status.cpp
@@ -339,7 +339,7 @@ void Status::saveLog()
{
KURL url = KFileDialog::getSaveURL(TQString(), TQString(), this);
if ( url.isEmpty() ) return;
- if ( KIO::NetAccess::exists(url, false, this) ) {
+ if ( TDEIO::NetAccess::exists(url, false, this) ) {
KGuiItem gi = KStdGuiItem::save();
gi.setText(i18n("Overwrite"));
int res = KMessageBox::warningYesNo(this,
@@ -350,7 +350,7 @@ void Status::saveLog()
KTempFile tmp;
(*tmp.textStream()) << _log.toString();
tmp.close();
- KIO::NetAccess::upload(tmp.name(), url, this);
+ TDEIO::NetAccess::upload(tmp.name(), url, this);
tmp.unlink();
}
@@ -361,7 +361,7 @@ void Status::loadLog()
TQString tmpFile;
bool success = false;
TQDomDocument doc;
- if( KIO::NetAccess::download(url, tmpFile, this) ) {
+ if( TDEIO::NetAccess::download(url, tmpFile, this) ) {
TQFile file(tmpFile);
if ( file.open(IO_ReadOnly) ) {
int errorLine;
@@ -373,7 +373,7 @@ void Status::loadLog()
}
success = true;
}
- KIO::NetAccess::removeTempFile(tmpFile);
+ TDEIO::NetAccess::removeTempFile(tmpFile);
}
if ( !success ) {