summaryrefslogtreecommitdiffstats
path: root/libkdchart
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2022-03-14 20:54:59 +0100
committerSlávek Banko <slavek.banko@axis.cz>2022-03-14 20:54:59 +0100
commitd536400b45d5ea05df97d42b81802ef801cb2eda (patch)
tree4f939a22e459774769af71a2802535247bc2387c /libkdchart
parent25166939bdb48ffd0ec0afd96d812d36905f4718 (diff)
downloadkmymoney-d536400b45d5ea05df97d42b81802ef801cb2eda.tar.gz
kmymoney-d536400b45d5ea05df97d42b81802ef801cb2eda.zip
Cleanup and fix headers installed for public API
+ Added installation of headers that are referenced, but were not installed. + Some headers were listed as inst_HEADERS and also as noinst_HEADERS. + Replaced paths to directories in source code used in "include <...>". + Common "tdeversion.h" is now used instead of local "kdecompat.h". + Including "config.h" has been moved from ".h" to ".cpp" files. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'libkdchart')
-rw-r--r--libkdchart/KDChart.cpp5
-rw-r--r--libkdchart/KDChartAreaPainter.cpp5
-rw-r--r--libkdchart/KDChartAxesPainter.cpp5
-rw-r--r--libkdchart/KDChartAxisParams.cpp5
-rw-r--r--libkdchart/KDChartAxisParamsWrapper.cpp4
-rw-r--r--libkdchart/KDChartBWPainter.cpp5
-rw-r--r--libkdchart/KDChartBarPainter.cpp4
-rw-r--r--libkdchart/KDChartBaseSeries.cpp3
-rw-r--r--libkdchart/KDChartCustomBox.cpp5
-rw-r--r--libkdchart/KDChartCustomBoxWrapper.cpp4
-rw-r--r--libkdchart/KDChartDataIntern.cpp5
-rw-r--r--libkdchart/KDChartEnums.cpp4
-rw-r--r--libkdchart/KDChartHiLoPainter.cpp5
-rw-r--r--libkdchart/KDChartLinesPainter.cpp5
-rw-r--r--libkdchart/KDChartObjectFactory.cpp4
-rw-r--r--libkdchart/KDChartPainter.cpp5
-rw-r--r--libkdchart/KDChartParams.cpp5
-rw-r--r--libkdchart/KDChartParamsWrapper.cpp4
-rw-r--r--libkdchart/KDChartParams_frame.cpp4
-rw-r--r--libkdchart/KDChartParams_io.cpp5
-rw-r--r--libkdchart/KDChartPiePainter.cpp5
-rw-r--r--libkdchart/KDChartPlaneSeries.cpp3
-rw-r--r--libkdchart/KDChartPolarPainter.cpp5
-rw-r--r--libkdchart/KDChartPropertySet.cpp4
-rw-r--r--libkdchart/KDChartRingPainter.cpp5
-rw-r--r--libkdchart/KDChartSeriesCollection.cpp3
-rw-r--r--libkdchart/KDChartTableBase.cpp5
-rw-r--r--libkdchart/KDChartTableDataWrapper.cpp4
-rw-r--r--libkdchart/KDChartTextPiece.cpp5
-rw-r--r--libkdchart/KDChartVectorSeries.cpp4
-rw-r--r--libkdchart/KDChartVectorTable.cpp3
-rw-r--r--libkdchart/KDChartWidget.cpp5
-rw-r--r--libkdchart/KDChartWrapperFactory.cpp4
-rw-r--r--libkdchart/KDDrawText.cpp5
-rw-r--r--libkdchart/KDFrame.cpp4
-rw-r--r--libkdchart/KDFrameProfileSection.cpp5
-rw-r--r--libkdchart/KDXMLTools.cpp5
37 files changed, 165 insertions, 0 deletions
diff --git a/libkdchart/KDChart.cpp b/libkdchart/KDChart.cpp
index eb85bf2..e52e0a4 100644
--- a/libkdchart/KDChart.cpp
+++ b/libkdchart/KDChart.cpp
@@ -26,6 +26,11 @@
** licensing are not clear to you.
**
**********************************************************************/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#if defined KDAB_EVAL
#include "../evaldialog/evaldialog.h"
#endif
diff --git a/libkdchart/KDChartAreaPainter.cpp b/libkdchart/KDChartAreaPainter.cpp
index 3f467b2..badab4a 100644
--- a/libkdchart/KDChartAreaPainter.cpp
+++ b/libkdchart/KDChartAreaPainter.cpp
@@ -26,6 +26,11 @@
** licensing are not clear to you.
**
**********************************************************************/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "KDChartAreaPainter.h"
/**
diff --git a/libkdchart/KDChartAxesPainter.cpp b/libkdchart/KDChartAxesPainter.cpp
index 88c828d..0f9d43b 100644
--- a/libkdchart/KDChartAxesPainter.cpp
+++ b/libkdchart/KDChartAxesPainter.cpp
@@ -26,6 +26,11 @@
** licensing are not clear to you.
**
**********************************************************************/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <tqpainter.h>
#include <tqlabel.h>
diff --git a/libkdchart/KDChartAxisParams.cpp b/libkdchart/KDChartAxisParams.cpp
index 70f448f..a278307 100644
--- a/libkdchart/KDChartAxisParams.cpp
+++ b/libkdchart/KDChartAxisParams.cpp
@@ -26,6 +26,11 @@
** licensing are not clear to you.
**
**********************************************************************/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <KDChartAxisParams.h>
#ifndef KDCHART_MASTER_CVS
#include "KDChartAxisParams.moc"
diff --git a/libkdchart/KDChartAxisParamsWrapper.cpp b/libkdchart/KDChartAxisParamsWrapper.cpp
index 8a4a676..3075836 100644
--- a/libkdchart/KDChartAxisParamsWrapper.cpp
+++ b/libkdchart/KDChartAxisParamsWrapper.cpp
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "KDChartAxisParamsWrapper.h"
#include <KDChartAxisParams.h>
diff --git a/libkdchart/KDChartBWPainter.cpp b/libkdchart/KDChartBWPainter.cpp
index 19d4fa6..f935b03 100644
--- a/libkdchart/KDChartBWPainter.cpp
+++ b/libkdchart/KDChartBWPainter.cpp
@@ -26,6 +26,11 @@
** licensing are not clear to you.
**
**********************************************************************/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "KDChartBWPainter.h"
#include <KDChartParams.h>
#include "KDChartTextPiece.h"
diff --git a/libkdchart/KDChartBarPainter.cpp b/libkdchart/KDChartBarPainter.cpp
index 874fd9c..e3ac853 100644
--- a/libkdchart/KDChartBarPainter.cpp
+++ b/libkdchart/KDChartBarPainter.cpp
@@ -26,6 +26,10 @@
** licensing are not clear to you.
**
**********************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "KDChartBarPainter.h"
#include <KDChartParams.h>
diff --git a/libkdchart/KDChartBaseSeries.cpp b/libkdchart/KDChartBaseSeries.cpp
index 9951d04..1ce0993 100644
--- a/libkdchart/KDChartBaseSeries.cpp
+++ b/libkdchart/KDChartBaseSeries.cpp
@@ -27,6 +27,9 @@
**
**********************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "KDChartBaseSeries.h"
diff --git a/libkdchart/KDChartCustomBox.cpp b/libkdchart/KDChartCustomBox.cpp
index e36599a..b37e569 100644
--- a/libkdchart/KDChartCustomBox.cpp
+++ b/libkdchart/KDChartCustomBox.cpp
@@ -26,6 +26,11 @@
** licensing are not clear to you.
**
**********************************************************************/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <tqpainter.h>
#include <tqregion.h>
#include <tqpalette.h>
diff --git a/libkdchart/KDChartCustomBoxWrapper.cpp b/libkdchart/KDChartCustomBoxWrapper.cpp
index c62b118..64a99a9 100644
--- a/libkdchart/KDChartCustomBoxWrapper.cpp
+++ b/libkdchart/KDChartCustomBoxWrapper.cpp
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "KDChartCustomBoxWrapper.h"
KDChartCustomBoxWrapper::KDChartCustomBoxWrapper( KDChartCustomBox* data)
:TQObject(0), _data(data)
diff --git a/libkdchart/KDChartDataIntern.cpp b/libkdchart/KDChartDataIntern.cpp
index ca69c2f..c1f1f1a 100644
--- a/libkdchart/KDChartDataIntern.cpp
+++ b/libkdchart/KDChartDataIntern.cpp
@@ -26,6 +26,11 @@
** licensing are not clear to you.
**
**********************************************************************/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <KDChartDataIntern.h>
/**
diff --git a/libkdchart/KDChartEnums.cpp b/libkdchart/KDChartEnums.cpp
index e361ace..3f43e0b 100644
--- a/libkdchart/KDChartEnums.cpp
+++ b/libkdchart/KDChartEnums.cpp
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "KDChartEnums.h"
TQString KDChartEnums::positionFlagToString( PositionFlag type )
diff --git a/libkdchart/KDChartHiLoPainter.cpp b/libkdchart/KDChartHiLoPainter.cpp
index 2393ef6..81ca90e 100644
--- a/libkdchart/KDChartHiLoPainter.cpp
+++ b/libkdchart/KDChartHiLoPainter.cpp
@@ -26,6 +26,11 @@
** licensing are not clear to you.
**
**********************************************************************/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "KDChartHiLoPainter.h"
#include <KDChartParams.h>
#include "KDChartTextPiece.h"
diff --git a/libkdchart/KDChartLinesPainter.cpp b/libkdchart/KDChartLinesPainter.cpp
index 24a9b90..8e4fa4e 100644
--- a/libkdchart/KDChartLinesPainter.cpp
+++ b/libkdchart/KDChartLinesPainter.cpp
@@ -26,6 +26,11 @@
** licensing are not clear to you.
**
**********************************************************************/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "KDChartLinesPainter.h"
#include <KDChartParams.h>
#include <KDChartPropertySet.h>
diff --git a/libkdchart/KDChartObjectFactory.cpp b/libkdchart/KDChartObjectFactory.cpp
index a53f84c..4ed2172 100644
--- a/libkdchart/KDChartObjectFactory.cpp
+++ b/libkdchart/KDChartObjectFactory.cpp
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "KDChartObjectFactory.h"
#include <KDChartParams.h>
#include <KDChartTable.h>
diff --git a/libkdchart/KDChartPainter.cpp b/libkdchart/KDChartPainter.cpp
index ca93953..a4465ff 100644
--- a/libkdchart/KDChartPainter.cpp
+++ b/libkdchart/KDChartPainter.cpp
@@ -26,6 +26,11 @@
** licensing are not clear to you.
**
**********************************************************************/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <KDChartParams.h>
#if defined ( SUN7 ) || defined (_SGIAPI) || defined ( TQ_WS_WIN)
#include <math.h>
diff --git a/libkdchart/KDChartParams.cpp b/libkdchart/KDChartParams.cpp
index 8df4954..97ab1f4 100644
--- a/libkdchart/KDChartParams.cpp
+++ b/libkdchart/KDChartParams.cpp
@@ -26,6 +26,11 @@
** licensing are not clear to you.
**
**********************************************************************/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <KDChartParams.h>
#include <KDChartAxisParams.h>
#include <KDChartEnums.h>
diff --git a/libkdchart/KDChartParamsWrapper.cpp b/libkdchart/KDChartParamsWrapper.cpp
index 00cdb54..f5c9075 100644
--- a/libkdchart/KDChartParamsWrapper.cpp
+++ b/libkdchart/KDChartParamsWrapper.cpp
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "KDChartParamsWrapper.h"
#include <KDChartParams.h>
diff --git a/libkdchart/KDChartParams_frame.cpp b/libkdchart/KDChartParams_frame.cpp
index dddeec0..d6bdb83 100644
--- a/libkdchart/KDChartParams_frame.cpp
+++ b/libkdchart/KDChartParams_frame.cpp
@@ -27,6 +27,10 @@
**
**********************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "KDChartParams.h"
#include <KDXMLTools.h>
diff --git a/libkdchart/KDChartParams_io.cpp b/libkdchart/KDChartParams_io.cpp
index e7f9928..7bc365f 100644
--- a/libkdchart/KDChartParams_io.cpp
+++ b/libkdchart/KDChartParams_io.cpp
@@ -26,6 +26,11 @@
** licensing are not clear to you.
**
**********************************************************************/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "KDChartParams.h"
#include <KDXMLTools.h>
diff --git a/libkdchart/KDChartPiePainter.cpp b/libkdchart/KDChartPiePainter.cpp
index 9a1b3fb..6739872 100644
--- a/libkdchart/KDChartPiePainter.cpp
+++ b/libkdchart/KDChartPiePainter.cpp
@@ -26,6 +26,11 @@
** licensing are not clear to you.
**
**********************************************************************/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "KDChartEnums.h"
#include "KDChartPiePainter.h"
#include "KDChartParams.h"
diff --git a/libkdchart/KDChartPlaneSeries.cpp b/libkdchart/KDChartPlaneSeries.cpp
index 50f2969..e1bfb85 100644
--- a/libkdchart/KDChartPlaneSeries.cpp
+++ b/libkdchart/KDChartPlaneSeries.cpp
@@ -27,6 +27,9 @@
**
**********************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "KDChartPlaneSeries.h"
diff --git a/libkdchart/KDChartPolarPainter.cpp b/libkdchart/KDChartPolarPainter.cpp
index 55249ab..15ff5f0 100644
--- a/libkdchart/KDChartPolarPainter.cpp
+++ b/libkdchart/KDChartPolarPainter.cpp
@@ -26,6 +26,11 @@
** licensing are not clear to you.
**
**********************************************************************/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "KDChartPolarPainter.h"
#include <KDChartParams.h>
#include <KDChartAxisParams.h>
diff --git a/libkdchart/KDChartPropertySet.cpp b/libkdchart/KDChartPropertySet.cpp
index cae1c3c..7b699c2 100644
--- a/libkdchart/KDChartPropertySet.cpp
+++ b/libkdchart/KDChartPropertySet.cpp
@@ -27,6 +27,10 @@
**
**********************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "KDChartPropertySet.h"
#include "KDChartParams.h"
#include <KDXMLTools.h>
diff --git a/libkdchart/KDChartRingPainter.cpp b/libkdchart/KDChartRingPainter.cpp
index 43d7f1a..ec58881 100644
--- a/libkdchart/KDChartRingPainter.cpp
+++ b/libkdchart/KDChartRingPainter.cpp
@@ -26,6 +26,11 @@
** licensing are not clear to you.
**
**********************************************************************/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "KDChartRingPainter.h"
#include "KDChartParams.h"
diff --git a/libkdchart/KDChartSeriesCollection.cpp b/libkdchart/KDChartSeriesCollection.cpp
index 812db8f..212504e 100644
--- a/libkdchart/KDChartSeriesCollection.cpp
+++ b/libkdchart/KDChartSeriesCollection.cpp
@@ -27,6 +27,9 @@
**
**********************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "KDChartSeriesCollection.h"
#include "KDChartParams.h"
diff --git a/libkdchart/KDChartTableBase.cpp b/libkdchart/KDChartTableBase.cpp
index cda7251..ab42f49 100644
--- a/libkdchart/KDChartTableBase.cpp
+++ b/libkdchart/KDChartTableBase.cpp
@@ -26,6 +26,11 @@
** licensing are not clear to you.
**
**********************************************************************/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <math.h>
#include <limits.h>
#include <tqtable.h>
diff --git a/libkdchart/KDChartTableDataWrapper.cpp b/libkdchart/KDChartTableDataWrapper.cpp
index 1baf487..a844ba6 100644
--- a/libkdchart/KDChartTableDataWrapper.cpp
+++ b/libkdchart/KDChartTableDataWrapper.cpp
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "KDChartTableDataWrapper.h"
KDChartTableDataWrapper::KDChartTableDataWrapper( KDChartTableData* data ) :TQObject(0), _data(data)
diff --git a/libkdchart/KDChartTextPiece.cpp b/libkdchart/KDChartTextPiece.cpp
index 30da273..09d4fc2 100644
--- a/libkdchart/KDChartTextPiece.cpp
+++ b/libkdchart/KDChartTextPiece.cpp
@@ -26,6 +26,11 @@
** licensing are not clear to you.
**
**********************************************************************/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "KDChartTextPiece.h"
#include <tqstylesheet.h>
diff --git a/libkdchart/KDChartVectorSeries.cpp b/libkdchart/KDChartVectorSeries.cpp
index 07570af..81c6352 100644
--- a/libkdchart/KDChartVectorSeries.cpp
+++ b/libkdchart/KDChartVectorSeries.cpp
@@ -27,6 +27,10 @@
**
**********************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "KDChartVectorSeries.h"
#include "KDChartSeriesCollection.h"
diff --git a/libkdchart/KDChartVectorTable.cpp b/libkdchart/KDChartVectorTable.cpp
index c7c97fb..b58f6f6 100644
--- a/libkdchart/KDChartVectorTable.cpp
+++ b/libkdchart/KDChartVectorTable.cpp
@@ -21,6 +21,9 @@
**
**********************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "KDChartVectorTable.moc"
diff --git a/libkdchart/KDChartWidget.cpp b/libkdchart/KDChartWidget.cpp
index 46ced0f..0424e7e 100644
--- a/libkdchart/KDChartWidget.cpp
+++ b/libkdchart/KDChartWidget.cpp
@@ -26,6 +26,11 @@
** licensing are not clear to you.
**
**********************************************************************/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <KDChartWidget.h>
#include <KDChart.h>
#include <KDChartParams.h>
diff --git a/libkdchart/KDChartWrapperFactory.cpp b/libkdchart/KDChartWrapperFactory.cpp
index b42c037..e24b9fe 100644
--- a/libkdchart/KDChartWrapperFactory.cpp
+++ b/libkdchart/KDChartWrapperFactory.cpp
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "KDChartWrapperFactory.h"
#include <KDChartTable.h>
#include <tqfont.h>
diff --git a/libkdchart/KDDrawText.cpp b/libkdchart/KDDrawText.cpp
index 19982fb..9419fb1 100644
--- a/libkdchart/KDDrawText.cpp
+++ b/libkdchart/KDDrawText.cpp
@@ -26,6 +26,11 @@
** licensing are not clear to you.
**
**********************************************************************/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <tqpainter.h>
#include <tqbitmap.h>
#include <tqpixmap.h>
diff --git a/libkdchart/KDFrame.cpp b/libkdchart/KDFrame.cpp
index 874bb3c..a6364ca 100644
--- a/libkdchart/KDFrame.cpp
+++ b/libkdchart/KDFrame.cpp
@@ -27,6 +27,10 @@
**
**********************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <tqpainter.h>
#include <tqbrush.h>
diff --git a/libkdchart/KDFrameProfileSection.cpp b/libkdchart/KDFrameProfileSection.cpp
index 2378229..dd8c0a2 100644
--- a/libkdchart/KDFrameProfileSection.cpp
+++ b/libkdchart/KDFrameProfileSection.cpp
@@ -26,6 +26,11 @@
** licensing are not clear to you.
**
**********************************************************************/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <KDFrameProfileSection.h>
#include <KDXMLTools.h>
diff --git a/libkdchart/KDXMLTools.cpp b/libkdchart/KDXMLTools.cpp
index d0060ef..4450fd3 100644
--- a/libkdchart/KDXMLTools.cpp
+++ b/libkdchart/KDXMLTools.cpp
@@ -26,6 +26,11 @@
** licensing are not clear to you.
**
**********************************************************************/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "KDXMLTools.h"
#include <tqbuffer.h>
#include <tqimage.h>