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/kmymoney2.cpp | |
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 <slavek.banko@axis.cz>
(cherry picked from commit d536400b45d5ea05df97d42b81802ef801cb2eda)
Diffstat (limited to 'kmymoney2/kmymoney2.cpp')
-rw-r--r-- | kmymoney2/kmymoney2.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/kmymoney2/kmymoney2.cpp b/kmymoney2/kmymoney2.cpp index 0bbf3bd..c54012d 100644 --- a/kmymoney2/kmymoney2.cpp +++ b/kmymoney2/kmymoney2.cpp @@ -20,8 +20,6 @@ # include <config.h> #endif -#include "kdecompat.h" - // ---------------------------------------------------------------------------- // Std C++ / STL Includes @@ -46,6 +44,7 @@ // ---------------------------------------------------------------------------- // KDE Includes +#include <tdeversion.h> #include <kdebug.h> #include <tdeapplication.h> #include <tdeshortcut.h> @@ -148,7 +147,6 @@ #include <kmymoney/kmymoneylistviewitem.h> #include "kmymoneyutils.h" -#include "kdecompat.h" #define RECOVER_KEY_ID "59B0F826D2B08440" #define ID_STATUS_MSG 1 |