diff options
Diffstat (limited to 'krdc/rdp/krdpview.cpp')
-rw-r--r-- | krdc/rdp/krdpview.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/krdc/rdp/krdpview.cpp b/krdc/rdp/krdpview.cpp index 4e5bc632..672b7b00 100644 --- a/krdc/rdp/krdpview.cpp +++ b/krdc/rdp/krdpview.cpp @@ -120,13 +120,13 @@ KRdpView::~KRdpView() // returns the size of the framebuffer TQSize KRdpView::framebufferSize() { - return m_container->tqsizeHint(); + return m_container->sizeHint(); } // returns the suggested size -TQSize KRdpView::tqsizeHint() +TQSize KRdpView::sizeHint() { - return tqmaximumSize(); + return maximumSize(); } // start closing the connection @@ -303,7 +303,7 @@ bool KRdpView::start() return false; } - settqStatus(REMOTE_VIEW_CONNECTING); + setStatus(REMOTE_VIEW_CONNECTING); return true; } @@ -340,9 +340,9 @@ void KRdpView::setViewOnly(bool s) void KRdpView::connectionOpened(WId /*window*/) { - TQSize size = m_container->tqsizeHint(); + TQSize size = m_container->sizeHint(); - settqStatus(REMOTE_VIEW_CONNECTED); + setStatus(REMOTE_VIEW_CONNECTED); setFixedSize(size); m_container->setFixedSize(size); emit changeSize(size.width(), size.height()); @@ -353,7 +353,7 @@ void KRdpView::connectionOpened(WId /*window*/) void KRdpView::connectionClosed() { emit disconnected(); - settqStatus(REMOTE_VIEW_DISCONNECTED); + setStatus(REMOTE_VIEW_DISCONNECTED); m_quitFlag = true; } @@ -361,7 +361,7 @@ void KRdpView::processDied(KProcess */*proc*/) { if(m_status == REMOTE_VIEW_CONNECTING) { - settqStatus(REMOTE_VIEW_DISCONNECTED); + setStatus(REMOTE_VIEW_DISCONNECTED); if(m_clientVersion.isEmpty()) { KMessageBox::error(0, i18n("Connection attempt to host failed."), |