summaryrefslogtreecommitdiffstats
path: root/khangman
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-31 13:27:40 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-31 13:27:40 -0600
commit949de8193689ca683656ae666fda3e89f115567e (patch)
treee4bb1b7141470b44afcc9d826aa75548faa52e47 /khangman
parent9a22ee8ba6a3a310bab85ea82c8d9d68293b82c0 (diff)
downloadtdeedu-949de8193689ca683656ae666fda3e89f115567e.tar.gz
tdeedu-949de8193689ca683656ae666fda3e89f115567e.zip
Rename KStandard for enhanced compatibility with KDE4
Diffstat (limited to 'khangman')
-rw-r--r--khangman/khangman/khangman.cpp2
-rw-r--r--khangman/khangman/khnewstuff.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/khangman/khangman/khangman.cpp b/khangman/khangman/khangman.cpp
index 4cc68c3b..4b8075a6 100644
--- a/khangman/khangman/khangman.cpp
+++ b/khangman/khangman/khangman.cpp
@@ -284,7 +284,7 @@ void KHangMan::loadLevels()
{
//build the Level combobox menu dynamically depending of the data for each language
levels.clear();//initialize TQStringList levels
- KStandardDirs *dirs = TDEGlobal::dirs();
+ TDEStandardDirs *dirs = TDEGlobal::dirs();
TQStringList mfiles = dirs->findAllResources("data","khangman/data/" + Prefs::selectedLanguage() + "/*.kvtml");
bool levelBool = false;
if (!mfiles.isEmpty())
diff --git a/khangman/khangman/khnewstuff.cpp b/khangman/khangman/khnewstuff.cpp
index b4eaa512..37874973 100644
--- a/khangman/khangman/khnewstuff.cpp
+++ b/khangman/khangman/khnewstuff.cpp
@@ -46,9 +46,9 @@ bool KHNewStuff::install( const TQString &fileName )
if ( !archive.open( IO_ReadOnly ) )
return false;
const KArchiveDirectory *archiveDir = archive.directory();
- KStandardDirs myStdDir;
+ TDEStandardDirs myStdDir;
const TQString destDir =myStdDir.saveLocation("data", kapp->instanceName() + "/data/", true);
- KStandardDirs::makeDir( destDir );
+ TDEStandardDirs::makeDir( destDir );
archiveDir->copyTo(destDir);
archive.close();
//look for languages dirs installed