diff options
author | Slávek Banko <[email protected]> | 2022-03-14 20:54:59 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2022-03-15 09:41:48 +0100 |
commit | be67c035c6cac00d31420dc9dd5bda4ad8869d02 (patch) | |
tree | ed55fcd584bcba3d809d9d2a40f11e37bb307010 /kmymoney2/plugins/interfaces | |
parent | 115ee8d66c562ad3920a5105e598c48bb50dbaa6 (diff) | |
download | kmymoney-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 <[email protected]>
(cherry picked from commit d536400b45d5ea05df97d42b81802ef801cb2eda)
Diffstat (limited to 'kmymoney2/plugins/interfaces')
6 files changed, 12 insertions, 12 deletions
diff --git a/kmymoney2/plugins/interfaces/kmmimportinterface.cpp b/kmymoney2/plugins/interfaces/kmmimportinterface.cpp index 041044e..bf549d4 100644 --- a/kmymoney2/plugins/interfaces/kmmimportinterface.cpp +++ b/kmymoney2/plugins/interfaces/kmmimportinterface.cpp @@ -15,6 +15,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/plugins/interfaces/kmmimportinterface.h b/kmymoney2/plugins/interfaces/kmmimportinterface.h index 0e2cacc..8875314 100644 --- a/kmymoney2/plugins/interfaces/kmmimportinterface.h +++ b/kmymoney2/plugins/interfaces/kmmimportinterface.h @@ -18,10 +18,6 @@ #ifndef KMMIMPORTINTERFACE_H #define KMMIMPORTINTERFACE_H -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/plugins/interfaces/kmmstatementinterface.cpp b/kmymoney2/plugins/interfaces/kmmstatementinterface.cpp index eead74b..48e2967 100644 --- a/kmymoney2/plugins/interfaces/kmmstatementinterface.cpp +++ b/kmymoney2/plugins/interfaces/kmmstatementinterface.cpp @@ -15,6 +15,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/plugins/interfaces/kmmstatementinterface.h b/kmymoney2/plugins/interfaces/kmmstatementinterface.h index 67f527c..b4fc5fa 100644 --- a/kmymoney2/plugins/interfaces/kmmstatementinterface.h +++ b/kmymoney2/plugins/interfaces/kmmstatementinterface.h @@ -18,10 +18,6 @@ #ifndef KMMSTATEMENTINTERFACE_H #define KMMSTATEMENTINTERFACE_H -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/plugins/interfaces/kmmviewinterface.cpp b/kmymoney2/plugins/interfaces/kmmviewinterface.cpp index b4ff102..51d4a7d 100644 --- a/kmymoney2/plugins/interfaces/kmmviewinterface.cpp +++ b/kmymoney2/plugins/interfaces/kmmviewinterface.cpp @@ -15,6 +15,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/plugins/interfaces/kmmviewinterface.h b/kmymoney2/plugins/interfaces/kmmviewinterface.h index 76436e7..0f2a6f5 100644 --- a/kmymoney2/plugins/interfaces/kmmviewinterface.h +++ b/kmymoney2/plugins/interfaces/kmmviewinterface.h @@ -18,10 +18,6 @@ #ifndef KMMVIEWINTERFACE_H #define KMMVIEWINTERFACE_H -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - // ---------------------------------------------------------------------------- // QT Includes |