summaryrefslogtreecommitdiffstats
path: root/style/baghira.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'style/baghira.cpp')
-rw-r--r--style/baghira.cpp13
1 files changed, 12 insertions, 1 deletions
diff --git a/style/baghira.cpp b/style/baghira.cpp
index 3639b32..363c1ee 100644
--- a/style/baghira.cpp
+++ b/style/baghira.cpp
@@ -1,3 +1,14 @@
+/*
+ * This source code refers to the MacStyle style. It is marked as obsolete
+ * in tqnamespace.h and is not defined when TQT_NO_COMPAT is set.
+ * Therefore, TQT_NO_COMPAT is forced to be canceled here.
+*/
+#undef TQT_NO_COMPAT
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "baghira.h"
#include "bitmaps.h"
#include "pixmaps.h"
@@ -44,7 +55,7 @@
#include <tdetoolbar.h>
#include <tdetoolbarbutton.h>
#include <kwordwrap.h>
-#include "config.h"
+
#define PRINTDEVICE(p) tqWarning("device is %s", (p->device()->devType() == TQInternal::Widget) ?\
"Widget": (p->device()->devType() == TQInternal::Pixmap) ?\