diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-31 13:27:40 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-31 13:27:40 -0600 |
commit | 949de8193689ca683656ae666fda3e89f115567e (patch) | |
tree | e4bb1b7141470b44afcc9d826aa75548faa52e47 /kiten | |
parent | 9a22ee8ba6a3a310bab85ea82c8d9d68293b82c0 (diff) | |
download | tdeedu-949de8193689ca683656ae666fda3e89f115567e.tar.gz tdeedu-949de8193689ca683656ae666fda3e89f115567e.zip |
Rename KStandard for enhanced compatibility with KDE4
Diffstat (limited to 'kiten')
-rw-r--r-- | kiten/asyndeta.cpp | 2 | ||||
-rw-r--r-- | kiten/deinf.cpp | 2 | ||||
-rw-r--r-- | kiten/dict.cpp | 2 | ||||
-rw-r--r-- | kiten/kromajiedit.cpp | 2 | ||||
-rw-r--r-- | kiten/rad.cpp | 2 | ||||
-rw-r--r-- | kiten/widgets.cpp | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/kiten/asyndeta.cpp b/kiten/asyndeta.cpp index 277a537e..07b57c70 100644 --- a/kiten/asyndeta.cpp +++ b/kiten/asyndeta.cpp @@ -59,7 +59,7 @@ Dict::Index *Asyndeta::retrieveIndex() void Asyndeta::readKitenConfiguration() { - KStandardDirs *dirs = TDEGlobal::dirs(); + TDEStandardDirs *dirs = TDEGlobal::dirs(); TDEConfig config(dirs->findResource("config", "kitenrc")); TQString globaledict = dirs->findResource("data", "kiten/edict"); diff --git a/kiten/deinf.cpp b/kiten/deinf.cpp index e92fcd1d..a7a19033 100644 --- a/kiten/deinf.cpp +++ b/kiten/deinf.cpp @@ -37,7 +37,7 @@ void Deinf::Index::load() if (loaded) return; - KStandardDirs *dirs = TDEGlobal::dirs(); + TDEStandardDirs *dirs = TDEGlobal::dirs(); TQString vconj = dirs->findResource("data", "kiten/vconj"); if (vconj.isNull()) { diff --git a/kiten/dict.cpp b/kiten/dict.cpp index 22aace41..cab509b4 100644 --- a/kiten/dict.cpp +++ b/kiten/dict.cpp @@ -105,7 +105,7 @@ File::File(TQString path, TQString n) //kdDebug() << "creating " << indexFile.name() << endl; // find the index generator executable TDEProcess proc; - proc << KStandardDirs::findExe("kitengen") << path << indexFile.name(); + proc << TDEStandardDirs::findExe("kitengen") << path << indexFile.name(); // TODO: put up a status dialog and event loop instead of blocking proc.start(TDEProcess::Block, TDEProcess::NoCommunication); } diff --git a/kiten/kromajiedit.cpp b/kiten/kromajiedit.cpp index 46167376..59dc49c2 100644 --- a/kiten/kromajiedit.cpp +++ b/kiten/kromajiedit.cpp @@ -33,7 +33,7 @@ KRomajiEdit::KRomajiEdit(TQWidget *parent, const char *name) { kana = "unset"; - KStandardDirs *dirs = TDEGlobal::dirs(); + TDEStandardDirs *dirs = TDEGlobal::dirs(); TQString romkana = dirs->findResource("data", "kiten/romkana.cnv"); if (romkana.isNull()) { diff --git a/kiten/rad.cpp b/kiten/rad.cpp index 8c56fadc..54fa4025 100644 --- a/kiten/rad.cpp +++ b/kiten/rad.cpp @@ -51,7 +51,7 @@ void Rad::load() if (loaded) return; - KStandardDirs *dirs = TDEGlobal::dirs(); + TDEStandardDirs *dirs = TDEGlobal::dirs(); TQString radtdefile = dirs->findResource("data", "kiten/radtdefile"); if (radtdefile.isNull()) { diff --git a/kiten/widgets.cpp b/kiten/widgets.cpp index 05cde4f5..f7fec883 100644 --- a/kiten/widgets.cpp +++ b/kiten/widgets.cpp @@ -404,7 +404,7 @@ void eEdit::save() // find the index generator executable TDEProcess proc; - proc << KStandardDirs::findExe("kitengen") << filename << TDEGlobal::dirs()->saveLocation("data", "kiten/xjdx/", true) + TQFileInfo(filename).baseName() + ".xjdx"; + proc << TDEStandardDirs::findExe("kitengen") << filename << TDEGlobal::dirs()->saveLocation("data", "kiten/xjdx/", true) + TQFileInfo(filename).baseName() + ".xjdx"; // TODO: put up a status dialog and event loop instead of blocking proc.start(TDEProcess::Block, TDEProcess::NoCommunication); |