diff options
author | gregory guy <gregory-tde@laposte.net> | 2020-07-16 14:07:49 +0200 |
---|---|---|
committer | gregory guy <gregory-tde@laposte.net> | 2020-07-18 17:40:43 +0200 |
commit | d0c03cc9a910ea44cea57b1af43bbd90eb86d4bc (patch) | |
tree | 3509747590af2f2833e7f387a57af763084f253e /style/baghira.cpp | |
parent | 7815a4d67f1fbaaa198737a14f3aafab8f1bad61 (diff) | |
download | tde-style-baghira-d0c03cc9a910ea44cea57b1af43bbd90eb86d4bc.tar.gz tde-style-baghira-d0c03cc9a910ea44cea57b1af43bbd90eb86d4bc.zip |
Conversion to the cmake building system.
Added a man page taken from the Debian packaging system.
Signed-off-by: gregory guy <gregory-tde@laposte.net>
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 <slavek.banko@axis.cz>
Signed-off-by: gregory guy <gregory-tde@laposte.net>
Diffstat (limited to 'style/baghira.cpp')
-rw-r--r-- | style/baghira.cpp | 13 |
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) ?\ |