From c3e2931a5bb4c067b0983cf23d064264d1d6b175 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 3 Apr 2011 05:13:17 +0000 Subject: Enable composite during moc run git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1226918 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdesktop/bgmanager.h | 5 +++++ 1 file changed, 5 insertions(+) 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); -- cgit v1.2.1