summaryrefslogtreecommitdiffstats
path: root/kmymoney2/reports
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-15 09:41:48 +0100
commitbe67c035c6cac00d31420dc9dd5bda4ad8869d02 (patch)
treeed55fcd584bcba3d809d9d2a40f11e37bb307010 /kmymoney2/reports
parent115ee8d66c562ad3920a5105e598c48bb50dbaa6 (diff)
downloadkmymoney-be67c035c6cac00d31420dc9dd5bda4ad8869d02.tar.gz
kmymoney-be67c035c6cac00d31420dc9dd5bda4ad8869d02.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> (cherry picked from commit d536400b45d5ea05df97d42b81802ef801cb2eda)
Diffstat (limited to 'kmymoney2/reports')
-rw-r--r--kmymoney2/reports/kreportchartview.cpp3
-rw-r--r--kmymoney2/reports/kreportchartview.h3
-rw-r--r--kmymoney2/reports/listtable.cpp4
-rw-r--r--kmymoney2/reports/objectinfotable.cpp4
-rw-r--r--kmymoney2/reports/pivotgrid.cpp4
-rw-r--r--kmymoney2/reports/pivotgridtest.cpp5
-rw-r--r--kmymoney2/reports/pivottable.cpp4
-rw-r--r--kmymoney2/reports/pivottabletest.cpp4
-rw-r--r--kmymoney2/reports/querytable.cpp4
-rw-r--r--kmymoney2/reports/querytabletest.cpp4
-rw-r--r--kmymoney2/reports/reportaccount.cpp4
-rw-r--r--kmymoney2/reports/reportstestcommon.cpp4
12 files changed, 43 insertions, 4 deletions
diff --git a/kmymoney2/reports/kreportchartview.cpp b/kmymoney2/reports/kreportchartview.cpp
index 208089f..cf2f432 100644
--- a/kmymoney2/reports/kreportchartview.cpp
+++ b/kmymoney2/reports/kreportchartview.cpp
@@ -16,8 +16,9 @@
***************************************************************************/
#ifdef HAVE_CONFIG_H
-#include "../../config.h"
+#include <config.h>
#endif
+
#ifdef HAVE_KDCHART
// ----------------------------------------------------------------------------
diff --git a/kmymoney2/reports/kreportchartview.h b/kmymoney2/reports/kreportchartview.h
index 70963f6..e3f3eff 100644
--- a/kmymoney2/reports/kreportchartview.h
+++ b/kmymoney2/reports/kreportchartview.h
@@ -19,9 +19,6 @@
#ifndef KREPORTCHARTVIEW_H
#define KREPORTCHARTVIEW_H
-#ifdef HAVE_CONFIG_H
-#include "../../config.h"
-#endif
#ifdef HAVE_KDCHART
// ----------------------------------------------------------------------------
diff --git a/kmymoney2/reports/listtable.cpp b/kmymoney2/reports/listtable.cpp
index 74ee403..a171e47 100644
--- a/kmymoney2/reports/listtable.cpp
+++ b/kmymoney2/reports/listtable.cpp
@@ -17,6 +17,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
#include <tqvaluelist.h>
diff --git a/kmymoney2/reports/objectinfotable.cpp b/kmymoney2/reports/objectinfotable.cpp
index 92baa2d..5f93729 100644
--- a/kmymoney2/reports/objectinfotable.cpp
+++ b/kmymoney2/reports/objectinfotable.cpp
@@ -17,6 +17,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
#include <tqvaluelist.h>
diff --git a/kmymoney2/reports/pivotgrid.cpp b/kmymoney2/reports/pivotgrid.cpp
index a0ba028..bc09339 100644
--- a/kmymoney2/reports/pivotgrid.cpp
+++ b/kmymoney2/reports/pivotgrid.cpp
@@ -16,6 +16,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
#include <tqlayout.h>
diff --git a/kmymoney2/reports/pivotgridtest.cpp b/kmymoney2/reports/pivotgridtest.cpp
index 3238de6..14a22b0 100644
--- a/kmymoney2/reports/pivotgridtest.cpp
+++ b/kmymoney2/reports/pivotgridtest.cpp
@@ -14,6 +14,11 @@
* (at your option) any later version. *
* *
***************************************************************************/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/*
#include <tqvaluelist.h>
#include <tqvaluevector.h>
diff --git a/kmymoney2/reports/pivottable.cpp b/kmymoney2/reports/pivottable.cpp
index 5be21bf..a85b44f 100644
--- a/kmymoney2/reports/pivottable.cpp
+++ b/kmymoney2/reports/pivottable.cpp
@@ -17,6 +17,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
#include <tqlayout.h>
diff --git a/kmymoney2/reports/pivottabletest.cpp b/kmymoney2/reports/pivottabletest.cpp
index ae91cd1..cb86a39 100644
--- a/kmymoney2/reports/pivottabletest.cpp
+++ b/kmymoney2/reports/pivottabletest.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <tqvaluelist.h>
#include <tqvaluevector.h>
#include <tqdom.h>
diff --git a/kmymoney2/reports/querytable.cpp b/kmymoney2/reports/querytable.cpp
index 84fee78..3c46d5c 100644
--- a/kmymoney2/reports/querytable.cpp
+++ b/kmymoney2/reports/querytable.cpp
@@ -23,6 +23,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
#include <tqvaluelist.h>
diff --git a/kmymoney2/reports/querytabletest.cpp b/kmymoney2/reports/querytabletest.cpp
index 52c71d8..458589d 100644
--- a/kmymoney2/reports/querytabletest.cpp
+++ b/kmymoney2/reports/querytabletest.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <tqvaluelist.h>
#include <tqvaluevector.h>
#include <tqfile.h>
diff --git a/kmymoney2/reports/reportaccount.cpp b/kmymoney2/reports/reportaccount.cpp
index c8ee493..684ffc8 100644
--- a/kmymoney2/reports/reportaccount.cpp
+++ b/kmymoney2/reports/reportaccount.cpp
@@ -16,6 +16,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/reports/reportstestcommon.cpp b/kmymoney2/reports/reportstestcommon.cpp
index 861966c..3175773 100644
--- a/kmymoney2/reports/reportstestcommon.cpp
+++ b/kmymoney2/reports/reportstestcommon.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <tqvaluelist.h>
#include <tqvaluevector.h>
#include <tqdom.h>