diff options
Diffstat (limited to 'khangman')
-rw-r--r-- | khangman/khangman/khangman.cpp | 2 | ||||
-rw-r--r-- | khangman/khangman/khnewstuff.cpp | 4 |
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 |