diff options
Diffstat (limited to 'kiten/dict.cpp')
-rw-r--r-- | kiten/dict.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kiten/dict.cpp b/kiten/dict.cpp index 1e605ac3..22aace41 100644 --- a/kiten/dict.cpp +++ b/kiten/dict.cpp @@ -69,7 +69,7 @@ File::File(TQString path, TQString n) : myName(n) , dictFile(path) , dictPtr((const unsigned char *)MAP_FAILED) - , indexFile(KGlobal::dirs()->saveLocation("data", "kiten/xjdx/", true) + TQFileInfo(path).baseName() + ".xjdx") + , indexFile(TDEGlobal::dirs()->saveLocation("data", "kiten/xjdx/", true) + TQFileInfo(path).baseName() + ".xjdx") , indexPtr((const uint32_t *)MAP_FAILED) , valid(false) { @@ -104,10 +104,10 @@ File::File(TQString path, TQString n) { //kdDebug() << "creating " << indexFile.name() << endl; // find the index generator executable - KProcess proc; + TDEProcess proc; proc << KStandardDirs::findExe("kitengen") << path << indexFile.name(); // TODO: put up a status dialog and event loop instead of blocking - proc.start(KProcess::Block, KProcess::NoCommunication); + proc.start(TDEProcess::Block, TDEProcess::NoCommunication); } if (!dictFile.open(IO_ReadOnly)) |