diff options
| author | Slávek Banko <slavek.banko@axis.cz> | 2022-03-14 20:54:59 +0100 |
|---|---|---|
| committer | Slávek Banko <slavek.banko@axis.cz> | 2022-03-15 09:41:48 +0100 |
| commit | be67c035c6cac00d31420dc9dd5bda4ad8869d02 (patch) | |
| tree | ed55fcd584bcba3d809d9d2a40f11e37bb307010 /kmymoney2/converter | |
| parent | 115ee8d66c562ad3920a5105e598c48bb50dbaa6 (diff) | |
| download | kmymoney-be67c035.tar.gz kmymoney-be67c035.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/converter')
| -rw-r--r-- | kmymoney2/converter/mymoneygncreader.cpp | 5 | ||||
| -rw-r--r-- | kmymoney2/converter/mymoneyqifprofile.cpp | 4 | ||||
| -rw-r--r-- | kmymoney2/converter/mymoneyqifreader.cpp | 4 | ||||
| -rw-r--r-- | kmymoney2/converter/mymoneyqifwriter.cpp | 5 | ||||
| -rw-r--r-- | kmymoney2/converter/mymoneystatementreader.cpp | 4 | ||||
| -rw-r--r-- | kmymoney2/converter/mymoneytemplate.cpp | 4 | ||||
| -rw-r--r-- | kmymoney2/converter/webpricequote.cpp | 4 |
7 files changed, 28 insertions, 2 deletions
diff --git a/kmymoney2/converter/mymoneygncreader.cpp b/kmymoney2/converter/mymoneygncreader.cpp index dcf7d56..14d7b03 100644 --- a/kmymoney2/converter/mymoneygncreader.cpp +++ b/kmymoney2/converter/mymoneygncreader.cpp @@ -20,6 +20,10 @@ email : mte@users.sourceforge.net * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + // ---------------------------------------------------------------------------- // QT Includes #include <tqfile.h> @@ -44,7 +48,6 @@ email : mte@users.sourceforge.net // Project Includes #include "mymoneygncreader.h" #ifndef _GNCFILEANON - #include "config.h" #include "../mymoney/storage/imymoneystorage.h" #include "../kmymoneyutils.h" #include "../mymoney/mymoneyfile.h" diff --git a/kmymoney2/converter/mymoneyqifprofile.cpp b/kmymoney2/converter/mymoneyqifprofile.cpp index 803aa97..a38b687 100644 --- a/kmymoney2/converter/mymoneyqifprofile.cpp +++ b/kmymoney2/converter/mymoneyqifprofile.cpp @@ -15,6 +15,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/converter/mymoneyqifreader.cpp b/kmymoney2/converter/mymoneyqifreader.cpp index a656da1..9f68d85 100644 --- a/kmymoney2/converter/mymoneyqifreader.cpp +++ b/kmymoney2/converter/mymoneyqifreader.cpp @@ -21,6 +21,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include <iostream> // ---------------------------------------------------------------------------- diff --git a/kmymoney2/converter/mymoneyqifwriter.cpp b/kmymoney2/converter/mymoneyqifwriter.cpp index b9e3e9f..4a519d6 100644 --- a/kmymoney2/converter/mymoneyqifwriter.cpp +++ b/kmymoney2/converter/mymoneyqifwriter.cpp @@ -19,6 +19,11 @@ * (at your option) any later version. * * * ***************************************************************************/ + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + // ---------------------------------------------------------------------------- // QT Headers diff --git a/kmymoney2/converter/mymoneystatementreader.cpp b/kmymoney2/converter/mymoneystatementreader.cpp index 9edcc09..6b36888 100644 --- a/kmymoney2/converter/mymoneystatementreader.cpp +++ b/kmymoney2/converter/mymoneystatementreader.cpp @@ -21,6 +21,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include <typeinfo> // ---------------------------------------------------------------------------- diff --git a/kmymoney2/converter/mymoneytemplate.cpp b/kmymoney2/converter/mymoneytemplate.cpp index fdf9cc9..a1c3f41 100644 --- a/kmymoney2/converter/mymoneytemplate.cpp +++ b/kmymoney2/converter/mymoneytemplate.cpp @@ -15,7 +15,9 @@ * * ***************************************************************************/ -#include "kdecompat.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/converter/webpricequote.cpp b/kmymoney2/converter/webpricequote.cpp index dddf231..76ea53e 100644 --- a/kmymoney2/converter/webpricequote.cpp +++ b/kmymoney2/converter/webpricequote.cpp @@ -15,6 +15,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + // ---------------------------------------------------------------------------- // QT Headers |
