From d536400b45d5ea05df97d42b81802ef801cb2eda Mon Sep 17 00:00:00 2001 From: Slávek Banko Date: Mon, 14 Mar 2022 20:54:59 +0100 Subject: 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. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- kmymoney2/dialogs/settings/ksettingscolors.cpp | 4 ++++ kmymoney2/dialogs/settings/ksettingsfonts.cpp | 4 ++++ kmymoney2/dialogs/settings/ksettingsforecast.cpp | 4 ++++ kmymoney2/dialogs/settings/ksettingsgeneral.cpp | 4 ++++ kmymoney2/dialogs/settings/ksettingsgpg.cpp | 4 ++++ kmymoney2/dialogs/settings/ksettingshome.cpp | 4 ++++ kmymoney2/dialogs/settings/ksettingsonlinequotes.cpp | 4 ++++ kmymoney2/dialogs/settings/ksettingsplugins.cpp | 4 ++++ kmymoney2/dialogs/settings/ksettingsregister.cpp | 4 ++++ kmymoney2/dialogs/settings/ksettingsschedules.cpp | 4 ++++ 10 files changed, 40 insertions(+) (limited to 'kmymoney2/dialogs/settings') diff --git a/kmymoney2/dialogs/settings/ksettingscolors.cpp b/kmymoney2/dialogs/settings/ksettingscolors.cpp index 9fe1990..6c55767 100644 --- a/kmymoney2/dialogs/settings/ksettingscolors.cpp +++ b/kmymoney2/dialogs/settings/ksettingscolors.cpp @@ -14,6 +14,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/dialogs/settings/ksettingsfonts.cpp b/kmymoney2/dialogs/settings/ksettingsfonts.cpp index 4bc1ddc..690524c 100644 --- a/kmymoney2/dialogs/settings/ksettingsfonts.cpp +++ b/kmymoney2/dialogs/settings/ksettingsfonts.cpp @@ -14,6 +14,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/dialogs/settings/ksettingsforecast.cpp b/kmymoney2/dialogs/settings/ksettingsforecast.cpp index a0b4ea0..206d656 100644 --- a/kmymoney2/dialogs/settings/ksettingsforecast.cpp +++ b/kmymoney2/dialogs/settings/ksettingsforecast.cpp @@ -14,6 +14,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/dialogs/settings/ksettingsgeneral.cpp b/kmymoney2/dialogs/settings/ksettingsgeneral.cpp index 25b9cd6..ee6e7f3 100644 --- a/kmymoney2/dialogs/settings/ksettingsgeneral.cpp +++ b/kmymoney2/dialogs/settings/ksettingsgeneral.cpp @@ -14,6 +14,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/dialogs/settings/ksettingsgpg.cpp b/kmymoney2/dialogs/settings/ksettingsgpg.cpp index 90e3b06..3950f4a 100644 --- a/kmymoney2/dialogs/settings/ksettingsgpg.cpp +++ b/kmymoney2/dialogs/settings/ksettingsgpg.cpp @@ -14,6 +14,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/dialogs/settings/ksettingshome.cpp b/kmymoney2/dialogs/settings/ksettingshome.cpp index bcaf4d5..2acae5f 100644 --- a/kmymoney2/dialogs/settings/ksettingshome.cpp +++ b/kmymoney2/dialogs/settings/ksettingshome.cpp @@ -14,6 +14,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/dialogs/settings/ksettingsonlinequotes.cpp b/kmymoney2/dialogs/settings/ksettingsonlinequotes.cpp index f2f9ead..f09b574 100644 --- a/kmymoney2/dialogs/settings/ksettingsonlinequotes.cpp +++ b/kmymoney2/dialogs/settings/ksettingsonlinequotes.cpp @@ -15,6 +15,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/dialogs/settings/ksettingsplugins.cpp b/kmymoney2/dialogs/settings/ksettingsplugins.cpp index 0eed4ae..1b18905 100644 --- a/kmymoney2/dialogs/settings/ksettingsplugins.cpp +++ b/kmymoney2/dialogs/settings/ksettingsplugins.cpp @@ -15,6 +15,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/dialogs/settings/ksettingsregister.cpp b/kmymoney2/dialogs/settings/ksettingsregister.cpp index 5929eaf..d60d8cf 100644 --- a/kmymoney2/dialogs/settings/ksettingsregister.cpp +++ b/kmymoney2/dialogs/settings/ksettingsregister.cpp @@ -14,6 +14,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/dialogs/settings/ksettingsschedules.cpp b/kmymoney2/dialogs/settings/ksettingsschedules.cpp index f51c465..59e6f5e 100644 --- a/kmymoney2/dialogs/settings/ksettingsschedules.cpp +++ b/kmymoney2/dialogs/settings/ksettingsschedules.cpp @@ -14,6 +14,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif + // ---------------------------------------------------------------------------- // QT Includes -- cgit v1.2.3