summaryrefslogtreecommitdiffstats
path: root/deco/config/aquariusbutton.cc
diff options
context:
space:
mode:
authorgregory guy <[email protected]>2020-07-16 14:07:49 +0200
committergregory guy <[email protected]>2020-07-18 17:40:43 +0200
commitd0c03cc9a910ea44cea57b1af43bbd90eb86d4bc (patch)
tree3509747590af2f2833e7f387a57af763084f253e /deco/config/aquariusbutton.cc
parent7815a4d67f1fbaaa198737a14f3aafab8f1bad61 (diff)
downloadtde-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 <[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]>
Diffstat (limited to 'deco/config/aquariusbutton.cc')
-rw-r--r--deco/config/aquariusbutton.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/deco/config/aquariusbutton.cc b/deco/config/aquariusbutton.cc
index 6a8011f..9cf1b0e 100644
--- a/deco/config/aquariusbutton.cc
+++ b/deco/config/aquariusbutton.cc
@@ -1,10 +1,12 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "aquariusbutton.h"
#include <tqcolor.h>
#include <tqpixmap.h>
#include <tqpainter.h>
#include <kimageeffect.h>
-#include "config.h"
-
#define COLOR_SPACE(R,G,B) \
if ( R < 0 ) R = 0; else if ( R > 255 ) R = 255; \
@@ -160,3 +162,5 @@ void AquariusButton::paintEvent( TQPaintEvent *e){
// void AquariusButton::clicked(){
// }
+
+#include "aquariusbutton.moc"