summaryrefslogtreecommitdiffstats
path: root/kivio
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-02 02:06:02 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-02 02:06:02 -0600
commit5e4daf07fee2bc21375f32bd897d2011c01f648e (patch)
treed64485005d8f0d16a0d93ee8e27a3ab1ac76d2d7 /kivio
parent7d18baa666593a494ceea480732a8540ba471fe5 (diff)
downloadkoffice-5e4daf07fee2bc21375f32bd897d2011c01f648e.tar.gz
koffice-5e4daf07fee2bc21375f32bd897d2011c01f648e.zip
Rename additional global functions and variables for tqt3
Diffstat (limited to 'kivio')
-rw-r--r--kivio/kiviopart/stencilbardockmanager.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/kivio/kiviopart/stencilbardockmanager.cpp b/kivio/kiviopart/stencilbardockmanager.cpp
index aa5c30c48..20f811eda 100644
--- a/kivio/kiviopart/stencilbardockmanager.cpp
+++ b/kivio/kiviopart/stencilbardockmanager.cpp
@@ -316,15 +316,15 @@ KoToolDockMoveManager::KoToolDockMoveManager()
noLast=true;
#if defined Q_WS_X11 && !defined K_WS_TQTONLY
- scr = qt_xscreen();
- root = qt_xrootwin();
+ scr = tqt_xscreen();
+ root = tqt_xrootwin();
gv.function = GXxor;
gv.line_width = 2;
- gv.foreground = WhitePixel(qt_xdisplay(), scr)^BlackPixel(qt_xdisplay(), scr);
+ gv.foreground = WhitePixel(tqt_xdisplay(), scr)^BlackPixel(tqt_xdisplay(), scr);
gv.subwindow_mode = IncludeInferiors;
long mask = GCForeground | GCFunction | GCLineWidth | GCSubwindowMode;
- rootgc = XCreateGC(qt_xdisplay(), qt_xrootwin(), mask, &gv);
+ rootgc = XCreateGC(tqt_xdisplay(), tqt_xrootwin(), mask, &gv);
#endif
timer = new TQTimer(this);
@@ -387,8 +387,8 @@ void KoToolDockMoveManager::doMoveInternal()
paintProcess(false,xp, yp, w, h);
#if defined Q_WS_X11 && !defined K_WS_TQTONLY
- XFlush(qt_xdisplay());
- XSync(qt_xdisplay(),false);
+ XFlush(tqt_xdisplay());
+ XSync(tqt_xdisplay(),false);
#endif
}
}
@@ -403,7 +403,7 @@ void KoToolDockMoveManager::stop()
paintProcess();
#if defined Q_WS_X11 && !defined K_WS_TQTONLY
- XFlush(qt_xdisplay());
+ XFlush(tqt_xdisplay());
#endif
working = false;
@@ -425,8 +425,8 @@ void KoToolDockMoveManager::setGeometry(int _x, int _y, int _w, int _h)
paintProcess(false,_x, _y, _w, _h);
#if defined Q_WS_X11 && !defined K_WS_TQTONLY
- XFlush(qt_xdisplay());
- XSync(qt_xdisplay(),false);
+ XFlush(tqt_xdisplay());
+ XSync(tqt_xdisplay(),false);
#endif
}
@@ -441,7 +441,7 @@ void KoToolDockMoveManager::drawRectangle( int _x, int _y, int _w, int _h)
oh = _h;
#if defined Q_WS_X11 && !defined K_WS_TQTONLY
- XDrawRectangle(qt_xdisplay(), root, rootgc, _x, _y, _w, _h);
+ XDrawRectangle(tqt_xdisplay(), root, rootgc, _x, _y, _w, _h);
#endif
noLast = false;
}
@@ -455,7 +455,7 @@ void KoToolDockMoveManager::paintProcess( bool onlyDelete, int _x, int _y, int _
return;
#if defined Q_WS_X11 && !defined K_WS_TQTONLY
- XDrawRectangle(qt_xdisplay(), root, rootgc, ox, oy, ow, oh);
+ XDrawRectangle(tqt_xdisplay(), root, rootgc, ox, oy, ow, oh);
#endif
noLast = true;
@@ -547,8 +547,8 @@ void KoToolDockMoveManager::doResizeInternal()
paintProcess(false,xp, yp, w, h);
#if defined Q_WS_X11 && !defined K_WS_TQTONLY
- XFlush(qt_xdisplay());
- XSync(qt_xdisplay(),false);
+ XFlush(tqt_xdisplay());
+ XSync(tqt_xdisplay(),false);
#endif
}
}