summaryrefslogtreecommitdiffstats
path: root/kivio/kiviopart/stencilbardockmanager.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-26 00:41:16 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-26 00:41:16 +0000
commit698569f8428ca088f764d704034a1330517b98c0 (patch)
treebf45be6946ebbbee9cce5a5bcf838f4c952d87e6 /kivio/kiviopart/stencilbardockmanager.h
parent2785103a6bd4de55bd26d79e34d0fdd4b329a73a (diff)
downloadkoffice-698569f8428ca088f764d704034a1330517b98c0.tar.gz
koffice-698569f8428ca088f764d704034a1330517b98c0.zip
Finish rebranding of Krita as Chalk
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238363 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kivio/kiviopart/stencilbardockmanager.h')
-rw-r--r--kivio/kiviopart/stencilbardockmanager.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/kivio/kiviopart/stencilbardockmanager.h b/kivio/kiviopart/stencilbardockmanager.h
index 12eb18c9..8894def1 100644
--- a/kivio/kiviopart/stencilbardockmanager.h
+++ b/kivio/kiviopart/stencilbardockmanager.h
@@ -19,9 +19,13 @@
#ifndef STENCILBARDOCKMANAGER_H
#define STENCILBARDOCKMANAGER_H
+#ifdef Q_MOC_RUN
+#define Q_WS_X11
+#endif // Q_MOC_RUN
+
#include <tqwidget.h>
#include <tqptrlist.h>
-#if defined TQ_WS_X11 && !defined K_WS_TQTONLY
+#if defined Q_WS_X11 && !defined K_WS_TQTONLY
#include <X11/X.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
@@ -167,7 +171,7 @@ class KoToolDockMoveManager: public TQObject
int offX, offY;
/* X-stuff */
-#if defined TQ_WS_X11 && !defined K_WS_TQTONLY
+#if defined Q_WS_X11 && !defined K_WS_TQTONLY
Window root;
GC rootgc;
int scr;