summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-03 05:13:17 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-03 05:13:17 +0000
commitc3e2931a5bb4c067b0983cf23d064264d1d6b175 (patch)
tree5902ee0b037fd3d0c34c7d05aef0adeb6b4defb8
parent0a05b258faf9126cda33e19324126beb1975b19c (diff)
downloadtdebase-c3e2931a5bb4c067b0983cf23d064264d1d6b175.tar.gz
tdebase-c3e2931a5bb4c067b0983cf23d064264d1d6b175.zip
Enable composite during moc run
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1226918 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r--kdesktop/bgmanager.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/kdesktop/bgmanager.h b/kdesktop/bgmanager.h
index 2923fd1b5..e1a703a6d 100644
--- a/kdesktop/bgmanager.h
+++ b/kdesktop/bgmanager.h
@@ -19,6 +19,10 @@
#define COMPOSITE
#endif
+#ifdef Q_MOC_RUN
+#define COMPOSITE
+#endif
+
class KConfig;
class TQTimer;
class TQPixmap;
@@ -54,6 +58,7 @@ class KBackgroundManager
virtual public KBackgroundIface
{
Q_OBJECT
+ TQ_OBJECT
public:
KBackgroundManager(TQWidget *desktop, KWinModule* kwinModule);