summaryrefslogtreecommitdiffstats
path: root/krdc/krdc.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-02 02:15:34 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-02 02:15:34 -0600
commit1b79089e1b614992ec6c9ba91441a8851030f75b (patch)
tree3599e02be64ac133bc665db3c84b93f673e64219 /krdc/krdc.cpp
parent6efceb1cf68e8a942d28bba4be8fa65b2e8f3c71 (diff)
downloadtdenetwork-1b79089e1b614992ec6c9ba91441a8851030f75b.tar.gz
tdenetwork-1b79089e1b614992ec6c9ba91441a8851030f75b.zip
Rename additional global functions and variables for tqt3
Diffstat (limited to 'krdc/krdc.cpp')
-rw-r--r--krdc/krdc.cpp18
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);