summaryrefslogtreecommitdiffstats
path: root/kdict/dict.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdict/dict.cpp')
-rw-r--r--kdict/dict.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kdict/dict.cpp b/kdict/dict.cpp
index f7d183cd..a72a375b 100644
--- a/kdict/dict.cpp
+++ b/kdict/dict.cpp
@@ -1178,24 +1178,24 @@ DictInterface::DictInterface()
if (::pipe(fdPipeIn ) == -1 ) {
perror( "Creating in pipe" );
KMessageBox::error(global->topLevel, i18n("Internal error:\nFailed to open pipes for internal communication."));
- kapp->exit(1);
+ tdeApp->exit(1);
}
if (::pipe(fdPipeOut ) == -1 ) {
perror( "Creating out pipe" );
KMessageBox::error(global->topLevel, i18n("Internal error:\nFailed to open pipes for internal communication."));
- kapp->exit(1);
+ tdeApp->exit(1);
}
if (-1 == fcntl(fdPipeIn[0],F_SETFL,O_NONBLOCK)) { // make socket non-blocking
perror("fcntl()");
KMessageBox::error(global->topLevel, i18n("Internal error:\nFailed to open pipes for internal communication."));
- kapp->exit(1);
+ tdeApp->exit(1);
}
if (-1 == fcntl(fdPipeOut[0],F_SETFL,O_NONBLOCK)) { // make socket non-blocking
perror("fcntl()");
KMessageBox::error(global->topLevel, i18n("Internal error:\nFailed to open pipes for internal communication."));
- kapp->exit(1);
+ tdeApp->exit(1);
}
notifier = new TQSocketNotifier(fdPipeIn[0],TQSocketNotifier::Read,this);
@@ -1208,7 +1208,7 @@ DictInterface::DictInterface()
client = new DictAsyncClient(fdPipeOut[0],fdPipeIn[1]);
if (!client) {
KMessageBox::error(global->topLevel, i18n("Internal error:\nUnable to create thread."));
- kapp->exit(1);
+ tdeApp->exit(1);
}
client->start();