diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-24 13:44:46 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-24 13:44:46 -0600 |
commit | cee429821aa6f1acc97fb482d325fb4eb37376ca (patch) | |
tree | 4f55e04b7f000c854fe2b8347dcdb62d97de3c73 /kiten/dict.cpp | |
parent | ab801f72ab45e8066a8ec6c533ef13c2da67e559 (diff) | |
download | tdeedu-cee429821aa6f1acc97fb482d325fb4eb37376ca.tar.gz tdeedu-cee429821aa6f1acc97fb482d325fb4eb37376ca.zip |
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
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)) |