diff options
Diffstat (limited to 'kbackgammon/engines/gnubg/kbggnubg.cpp')
-rw-r--r-- | kbackgammon/engines/gnubg/kbggnubg.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kbackgammon/engines/gnubg/kbggnubg.cpp b/kbackgammon/engines/gnubg/kbggnubg.cpp index e125e4d5..1ac1a50c 100644 --- a/kbackgammon/engines/gnubg/kbggnubg.cpp +++ b/kbackgammon/engines/gnubg/kbggnubg.cpp @@ -484,12 +484,12 @@ void KBgEngineGNU::start() */ gnubg << "gnubg" << "--tty"; - connect(&gnubg, TQT_SIGNAL(processExited(KProcess *)), this, TQT_SLOT(gnubgExit(KProcess *))); - connect(&gnubg, TQT_SIGNAL(receivedStderr(KProcess *, char *, int)), - this, TQT_SLOT(receiveData(KProcess *, char *, int))); - connect(&gnubg, TQT_SIGNAL(receivedStdout(KProcess *, char *, int)), - this, TQT_SLOT(receiveData(KProcess *, char *, int))); - connect(&gnubg, TQT_SIGNAL(wroteStdin(KProcess *)), this, TQT_SLOT(wroteStdin(KProcess *))); + connect(&gnubg, TQT_SIGNAL(processExited(TDEProcess *)), this, TQT_SLOT(gnubgExit(TDEProcess *))); + connect(&gnubg, TQT_SIGNAL(receivedStderr(TDEProcess *, char *, int)), + this, TQT_SLOT(receiveData(TDEProcess *, char *, int))); + connect(&gnubg, TQT_SIGNAL(receivedStdout(TDEProcess *, char *, int)), + this, TQT_SLOT(receiveData(TDEProcess *, char *, int))); + connect(&gnubg, TQT_SIGNAL(wroteStdin(TDEProcess *)), this, TQT_SLOT(wroteStdin(TDEProcess *))); startGNU(); } @@ -502,7 +502,7 @@ void KBgEngineGNU::startGNU() resAction->setEnabled(false); - if (!gnubg.start(KProcess::NotifyOnExit, KProcess::All)) + if (!gnubg.start(TDEProcess::NotifyOnExit, TDEProcess::All)) KMessageBox::information((TQWidget *)parent(), i18n("Could not start the GNU Backgammon process.\n" "Make sure the program is in your PATH and is " @@ -518,7 +518,7 @@ void KBgEngineGNU::startGNU() /* * The gnubg process has died. Stop all user activity and allow a restart. */ -void KBgEngineGNU::gnubgExit(KProcess *proc) +void KBgEngineGNU::gnubgExit(TDEProcess *proc) { ct->stop(); @@ -544,7 +544,7 @@ void KBgEngineGNU::gnubgExit(KProcess *proc) /* * Last command has been sent. Try to send pending ones. */ -void KBgEngineGNU::wroteStdin(KProcess *proc) +void KBgEngineGNU::wroteStdin(TDEProcess *proc) { if (!proc->isRunning()) return; @@ -577,7 +577,7 @@ void KBgEngineGNU::nextCommand() * Get data from GNU Backgammon and process them. Note that we may have * to buffer the last line and wait for the closing newline... */ -void KBgEngineGNU::receiveData(KProcess *proc, char *buffer, int buflen) +void KBgEngineGNU::receiveData(TDEProcess *proc, char *buffer, int buflen) { if (!proc->isRunning()) return; |