summaryrefslogtreecommitdiffstats
path: root/style/baghira.cpp
diff options
context:
space:
mode:
authorgregory guy <[email protected]>2020-07-16 14:07:49 +0200
committerSlávek Banko <[email protected]>2020-07-26 11:33:19 +0200
commitcd1471858e29d0d23355a93178e063fd0550d31c (patch)
tree6a4d62d831ce3a5a9b7cabac8cf578f622fd5b43 /style/baghira.cpp
parent443bb972fa23026cdd48cfd5976b210c5dd470eb (diff)
downloadtde-style-baghira-cd1471858e29d0d23355a93178e063fd0550d31c.tar.gz
tde-style-baghira-cd1471858e29d0d23355a93178e063fd0550d31c.zip
Conversion to the cmake building system.
Added a man page taken from the Debian packaging system. Signed-off-by: gregory guy <[email protected]> Resolve issues that occurred during CMake conversion. Concatenate the commands for generating pixmaps.h with CMake so that there is no need to use the GNU specific sed option -i. Signed-off-by: Slávek Banko <[email protected]> Signed-off-by: gregory guy <[email protected]> (cherry picked from commit d0c03cc9a910ea44cea57b1af43bbd90eb86d4bc)
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 8434cf1..608d9af 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, QT_NO_COMPAT is forced to be canceled here.
+*/
+#undef QT_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) ?\