diff options
Diffstat (limited to 'kivio/kiviopart/stencilbardockmanager.cpp')
-rw-r--r-- | kivio/kiviopart/stencilbardockmanager.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kivio/kiviopart/stencilbardockmanager.cpp b/kivio/kiviopart/stencilbardockmanager.cpp index 606c6a93..a0dca0ee 100644 --- a/kivio/kiviopart/stencilbardockmanager.cpp +++ b/kivio/kiviopart/stencilbardockmanager.cpp @@ -308,14 +308,14 @@ void StencilBarDockManager::setAllStackBarsShown(bool shown) KoToolDockMoveManager::KoToolDockMoveManager() : TQObject() { -#if defined TQ_WS_X11 && !defined K_WS_TQTONLY +#if defined Q_WS_X11 && !defined K_WS_TQTONLY XGCValues gv; #endif working=false; noLast=true; -#if defined TQ_WS_X11 && !defined K_WS_TQTONLY +#if defined Q_WS_X11 && !defined K_WS_TQTONLY scr = qt_xscreen(); root = qt_xrootwin(); @@ -386,7 +386,7 @@ void KoToolDockMoveManager::doMoveInternal() if (check(xp, yp, w, h)) { paintProcess(false,xp, yp, w, h); -#if defined TQ_WS_X11 && !defined K_WS_TQTONLY +#if defined Q_WS_X11 && !defined K_WS_TQTONLY XFlush(qt_xdisplay()); XSync(qt_xdisplay(),false); #endif @@ -402,7 +402,7 @@ void KoToolDockMoveManager::stop() TQApplication::restoreOverrideCursor(); paintProcess(); -#if defined TQ_WS_X11 && !defined K_WS_TQTONLY +#if defined Q_WS_X11 && !defined K_WS_TQTONLY XFlush(qt_xdisplay()); #endif @@ -424,7 +424,7 @@ void KoToolDockMoveManager::setGeometry(int _x, int _y, int _w, int _h) check(_x, _y, _w, _h, true); paintProcess(false,_x, _y, _w, _h); -#if defined TQ_WS_X11 && !defined K_WS_TQTONLY +#if defined Q_WS_X11 && !defined K_WS_TQTONLY XFlush(qt_xdisplay()); XSync(qt_xdisplay(),false); #endif @@ -440,7 +440,7 @@ void KoToolDockMoveManager::drawRectangle( int _x, int _y, int _w, int _h) ow = _w; oh = _h; -#if defined TQ_WS_X11 && !defined K_WS_TQTONLY +#if defined Q_WS_X11 && !defined K_WS_TQTONLY XDrawRectangle(qt_xdisplay(), root, rootgc, _x, _y, _w, _h); #endif noLast = false; @@ -454,7 +454,7 @@ void KoToolDockMoveManager::paintProcess( bool onlyDelete, int _x, int _y, int _ if ( ox == _x && oy == _y && ow ==_w && oh == _h ) return; -#if defined TQ_WS_X11 && !defined K_WS_TQTONLY +#if defined Q_WS_X11 && !defined K_WS_TQTONLY XDrawRectangle(qt_xdisplay(), root, rootgc, ox, oy, ow, oh); #endif noLast = true; @@ -546,7 +546,7 @@ void KoToolDockMoveManager::doResizeInternal() if (check(xp, yp, w, h)) { paintProcess(false,xp, yp, w, h); -#if defined TQ_WS_X11 && !defined K_WS_TQTONLY +#if defined Q_WS_X11 && !defined K_WS_TQTONLY XFlush(qt_xdisplay()); XSync(qt_xdisplay(),false); #endif |