summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/knewfiledlg.cpp
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-14 20:54:59 +0100
commitd536400b45d5ea05df97d42b81802ef801cb2eda (patch)
tree4f939a22e459774769af71a2802535247bc2387c /kmymoney2/dialogs/knewfiledlg.cpp
parent25166939bdb48ffd0ec0afd96d812d36905f4718 (diff)
downloadkmymoney-d536400b45d5ea05df97d42b81802ef801cb2eda.tar.gz
kmymoney-d536400b45d5ea05df97d42b81802ef801cb2eda.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>
Diffstat (limited to 'kmymoney2/dialogs/knewfiledlg.cpp')
-rw-r--r--kmymoney2/dialogs/knewfiledlg.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/kmymoney2/dialogs/knewfiledlg.cpp b/kmymoney2/dialogs/knewfiledlg.cpp
index 454fe2f..b047c8f 100644
--- a/kmymoney2/dialogs/knewfiledlg.cpp
+++ b/kmymoney2/dialogs/knewfiledlg.cpp
@@ -14,7 +14,9 @@
* *
***************************************************************************/
-#include "kdecompat.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
// ----------------------------------------------------------------------------
// QT Includes
@@ -26,6 +28,7 @@
// ----------------------------------------------------------------------------
// KDE Headers
+#include <tdeversion.h>
#include <tdeglobal.h>
#include <tdelocale.h>
#include <kstandarddirs.h>