diff options
Diffstat (limited to 'krdc/krdc.cpp')
-rw-r--r-- | krdc/krdc.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/krdc/krdc.cpp b/krdc/krdc.cpp index 68c2d333..75fe99a8 100644 --- a/krdc/krdc.cpp +++ b/krdc/krdc.cpp @@ -287,7 +287,7 @@ void KRDC::showProgressTimeout() { void KRDC::quit() { m_view->releaseKeyboard(); hide(); - vidmodeNormalSwitch(qt_xdisplay(), m_oldResolution); + vidmodeNormalSwitch(tqt_xdisplay(), m_oldResolution); if (m_view) m_view->startQuitting(); emit disconnected(); @@ -415,7 +415,7 @@ void KRDC::switchToFullscreen(bool scaling) if (!fromFullscreen) { hide(); - m_oldResolution = vidmodeFullscreenSwitch(qt_xdisplay(), + m_oldResolution = vidmodeFullscreenSwitch(tqt_xdisplay(), m_desktopWidget.screenNumber(this), fbs.width(), fbs.height(), @@ -539,7 +539,7 @@ void KRDC::switchToFullscreen(bool scaling) if (!fromFullscreen) { if (m_oldResolution.valid) - grabInput(qt_xdisplay(), winId()); + grabInput(tqt_xdisplay(), winId()); m_view->grabKeyboard(); } @@ -562,8 +562,8 @@ void KRDC::switchToNormal(bool scaling) m_view->releaseKeyboard(); if (m_oldResolution.valid) { - ungrabInput(qt_xdisplay()); - vidmodeNormalSwitch(qt_xdisplay(), m_oldResolution); + ungrabInput(tqt_xdisplay()); + vidmodeNormalSwitch(tqt_xdisplay(), m_oldResolution); m_oldResolution = Resolution(); } @@ -671,9 +671,9 @@ void KRDC::iconify() m_view->releaseKeyboard(); if (m_oldResolution.valid) - ungrabInput(qt_xdisplay()); + ungrabInput(tqt_xdisplay()); - vidmodeNormalSwitch(qt_xdisplay(), m_oldResolution); + vidmodeNormalSwitch(tqt_xdisplay(), m_oldResolution); m_oldResolution = Resolution(); showNormal(); showMinimized(); @@ -699,7 +699,7 @@ bool KRDC::event(TQEvent *e) { m_fullscreenMinimized = false; int x, y; - m_oldResolution = vidmodeFullscreenSwitch(qt_xdisplay(), + m_oldResolution = vidmodeFullscreenSwitch(tqt_xdisplay(), m_desktopWidget.screenNumber(this), m_view->width(), m_view->height(), @@ -713,7 +713,7 @@ bool KRDC::event(TQEvent *e) { setGeometry(0, 0, m_fullscreenResolution.width(), m_fullscreenResolution.height()); if (m_oldResolution.valid) - grabInput(qt_xdisplay(), winId()); + grabInput(tqt_xdisplay(), winId()); m_view->switchFullscreen( true ); KWin::setState(winId(), NET::StaysOnTop); |