diff options
Diffstat (limited to 'krdc/rdp/krdpview.cpp')
-rw-r--r-- | krdc/rdp/krdpview.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/krdc/rdp/krdpview.cpp b/krdc/rdp/krdpview.cpp index 73ea3753..00ebf1a6 100644 --- a/krdc/rdp/krdpview.cpp +++ b/krdc/rdp/krdpview.cpp @@ -228,7 +228,7 @@ bool KRdpView::start() m_container->show(); - m_process = new KProcess(TQT_TQOBJECT(m_container)); + m_process = new TDEProcess(TQT_TQOBJECT(m_container)); *m_process << "rdesktop"; // Check for fullscreen mode if ((hp->width() == 0) && (hp->height() == 0)) { @@ -291,12 +291,12 @@ bool KRdpView::start() *m_process << "-X" << ("0x" + TQString::number(m_container->winId(), 16)); *m_process << "-a" << TQString::number(hp->colorDepth()); *m_process << (m_host + ":" + TQString::number(m_port)); - connect(m_process, TQT_SIGNAL(processExited(KProcess *)), TQT_SLOT(processDied(KProcess *))); - connect(m_process, TQT_SIGNAL(receivedStderr(KProcess *, char *, int)), TQT_SLOT(receivedStderr(KProcess *, char *, int))); + connect(m_process, TQT_SIGNAL(processExited(TDEProcess *)), TQT_SLOT(processDied(TDEProcess *))); + connect(m_process, TQT_SIGNAL(receivedStderr(TDEProcess *, char *, int)), TQT_SLOT(receivedStderr(TDEProcess *, char *, int))); connect(m_container, TQT_SIGNAL(embeddedWindowDestroyed()), TQT_SLOT(connectionClosed())); connect(m_container, TQT_SIGNAL(newEmbeddedWindow(WId)), TQT_SLOT(connectionOpened(WId))); tqDebug("Color depth: %d", hp->colorDepth()); - if(!m_process->start(KProcess::NotifyOnExit, KProcess::Stderr)) + if(!m_process->start(TDEProcess::NotifyOnExit, TDEProcess::Stderr)) { KMessageBox::error(0, i18n("Could not start rdesktop; make sure rdesktop is properly installed."), i18n("rdesktop Failure")); @@ -357,7 +357,7 @@ void KRdpView::connectionClosed() m_quitFlag = true; } -void KRdpView::processDied(KProcess */*proc*/) +void KRdpView::processDied(TDEProcess */*proc*/) { if(m_status == REMOTE_VIEW_CONNECTING) { @@ -371,7 +371,7 @@ void KRdpView::processDied(KProcess */*proc*/) } } -void KRdpView::receivedStderr(KProcess */*proc*/, char *buffer, int /*buflen*/) +void KRdpView::receivedStderr(TDEProcess */*proc*/, char *buffer, int /*buflen*/) { TQString output(buffer); TQString line; |