diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-01-20 17:31:48 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-01-20 17:31:48 +0900 |
| commit | 1517a05d2ffe7a33e1fe18a2dae540ae1c3d6694 (patch) | |
| tree | e6967aa8aacf5e5fca64c6b69f3a0ddc528a5640 /kdict/dict.cpp | |
| parent | 50da92376284f30d95e18960d2b24c49901fb10d (diff) | |
| download | tdenetwork-1517a05d2ffe7a33e1fe18a2dae540ae1c3d6694.tar.gz tdenetwork-1517a05d2ffe7a33e1fe18a2dae540ae1c3d6694.zip | |
Use tdeApp
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kdict/dict.cpp')
| -rw-r--r-- | kdict/dict.cpp | 10 |
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(); |
