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/dialogs | |
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/dialogs')
59 files changed, 230 insertions, 15 deletions
diff --git a/kmymoney2/dialogs/Makefile.am b/kmymoney2/dialogs/Makefile.am index 1e44553..edd5493 100644 --- a/kmymoney2/dialogs/Makefile.am +++ b/kmymoney2/dialogs/Makefile.am @@ -10,13 +10,22 @@ knewbudgetdlgdecl.ui knewbudgetdlg.cpp tdeselecttransactionsdlgdecl.ui tdeselect EXTRA_DIST = kaccountselectdlgdecl.ui kbackupdlgdecl.ui kchooseimportexportdlgdecl.ui tdeconfirmmanualenterdlgdecl.ui kcsvprogressdlgdecl.ui kcurrencycalculatordecl.ui kcurrencyeditdlgdecl.ui keditequityentrydecl.ui keditscheduledlgdecl.ui kendingbalancedlgdecl.ui kenterscheduledlgdecl.ui kequitypriceupdatedlgdecl.ui kexportdlgdecl.ui kfindtransactiondlgdecl.ui kgncimportoptionsdlgdecl.ui kimportdlgdecl.ui kmymoneypricedlgdecl.ui knewaccountdlgdecl.ui knewbankdlgdecl.ui knewequityentrydecl.ui knewfiledlgdecl.ui knewinvestmentwizarddecl.ui knewloanwizarddecl.ui konlinequoteconfigurationdecl.ui kreconciledlgdecl.ui ksecuritylisteditordecl.ui ksplitcorrectiondlg.ui ksplittransactiondlgdecl.ui kupdatestockpricedlgdecl.ui mymoneyqifprofileeditordecl.ui kgncpricesourcedlgdecl.ui kmymoneyfileinfodlgdecl.ui tdeselectdatabasedlgdecl.ui kpayeereassigndlgdecl.ui kcategoryreassigndlgdecl.ui knewbudgetdlgdecl.ui tdeselecttransactionsdlgdecl.ui ksortoptiondlg.ui ksortoptiondlg.ui.h kplugindlg.ui kloadtemplatedlgdecl.ui +BUILT_SOURCES = $(top_builddir)/kmymoney/kcurrencycalculatordecl.h + DISTCLEANFILES= kaccountselectdlgdecl.cpp kbackupdlgdecl.cpp kchooseimportexportdlgdecl.cpp kcsvprogressdlgdecl.cpp kcurrencycalculatordecl.cpp kcurrencyeditdlgdecl.cpp keditequityentrydecl.cpp keditscheduledlgdecl.cpp kendingbalancedlgdecl.cpp kenterscheduledlgdecl.cpp kequitypriceupdatedlgdecl.cpp kexportdlgdecl.cpp kfindtransactiondlgdecl.cpp kgncimportoptionsdlgdecl.cpp kimportdlgdecl.cpp kmymoneypricedlgdecl.cpp knewaccountdlgdecl.cpp knewbankdlgdecl.cpp knewequityentrydecl.cpp knewfiledlgdecl.cpp knewinvestmentwizarddecl.cpp knewloanwizarddecl.cpp konlinequoteconfigurationdecl.cpp kreconciledlgdecl.cpp kreportconfigurationdecl.cpp ksecuritylisteditordecl.cpp ksplittransactiondlgdecl.cpp kupdatestockpricedlgdecl.cpp mymoneyqifprofileeditordecl.cpp kpayeereassigndlgdecl.cpp kcategoryreassigndlgdecl.cpp tdeconfirmmanualenterdlgdecl.cpp kaccountselectdlgdecl.h kbackupdlgdecl.h kchooseimportexportdlgdecl.h kcsvprogressdlgdecl.h kcurrencycalculatordecl.h kcurrencyeditdlgdecl.h keditequityentrydecl.h keditscheduledlgdecl.h kendingbalancedlgdecl.h kenterscheduledlgdecl.h kequitypriceupdatedlgdecl.h kexportdlgdecl.h kfindtransactiondlgdecl.h kgncimportoptionsdlgdecl.h kimportdlgdecl.h kmymoneypricedlgdecl.h knewaccountdlgdecl.h knewbankdlgdecl.h knewequityentrydecl.h knewfiledlgdecl.h knewinvestmentwizarddecl.h knewloanwizarddecl.h konlinequoteconfigurationdecl.h kreconciledlgdecl.h kreportconfigurationdecl.h ksecuritylisteditordecl.h ksplittransactiondlgdecl.h kupdatestockpricedlgdecl.h mymoneyqifprofileeditordecl.h kmymoneyfileinfodlgdecl.h tdeselectdatabasedlgdecl.h kpayeereassigndlgdecl.h kcategoryreassigndlgdecl.h knewbudgetdlgdecl.cpp knewbudgetdlgdecl.h tdeselecttransactionsdlgdecl.cpp tdeselecttransactionsdlgdecl.h tdeconfirmmanualenterdlgdecl.h kloadtemplatedlgdecl.cpp kloadtemplatedlgdecl.h noinst_HEADERS = keditscheduledlg.h kaccountselectdlg.h kbackupdlg.h kchooseimportexportdlg.h kcsvprogressdlg.h kcurrencyeditdlg.h keditequityentrydlg.h keditloanwizard.h kendingbalancedlg.h kenterscheduledlg.h kequitypriceupdatedlg.h kexportdlg.h kfindtransactiondlg.h kgncimportoptionsdlg.h kimportdlg.h kmymoneypricedlg.h knewaccountdlg.h knewbankdlg.h knewequityentrydlg.h knewfiledlg.h knewinvestmentwizard.h knewloanwizard.h konlinequoteconfigurationdlg.h tderecentfileitem.h kreconciledlg.h kreportconfigurationfilterdlg.h ksecuritylisteditor.h ksplittransactiondlg.h kstartdlg.h kupdatestockpricedlg.h mymoneyqifprofileeditor.h kgncpricesourcedlg.h kmymoneyfileinfodlg.h tdeselectdatabasedlg.h kpayeereassigndlg.h kcategoryreassigndlg.h knewbudgetdlg.h tdeselecttransactionsdlg.h kmergetransactionsdlg.h tdeconfirmmanualenterdlg.h investactivities.h kbalancechartdlg.h kloadtemplatedlg.h kmymoneysplittable.h kgpgkeyselectiondlg.h transactionmatcher.h kbalancewarning.h instdir=$(includedir)/kmymoney -inst_HEADERS = transactioneditor.h investtransactioneditor.h kcurrencycalculator.h +inst_HEADERS = transactioneditor.h investtransactioneditor.h kcurrencycalculator.h kcurrencycalculatordecl.h + +$(top_builddir)/kmymoney/kcurrencycalculatordecl.h: kcurrencycalculatordecl.h + if test -h $@; then rm $@; fi + ln -s `pwd`/kcurrencycalculatordecl.h $@ SUBDIRS = settings messages: rc.cpp + +dist-hook: + -rm -rf $(distdir)/kcurrencycalculatordecl.h diff --git a/kmymoney2/dialogs/investactivities.cpp b/kmymoney2/dialogs/investactivities.cpp index c9dd317..2c348dd 100644 --- a/kmymoney2/dialogs/investactivities.cpp +++ b/kmymoney2/dialogs/investactivities.cpp @@ -15,6 +15,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/dialogs/investtransactioneditor.cpp b/kmymoney2/dialogs/investtransactioneditor.cpp index 0ef0dae..1a47f49 100644 --- a/kmymoney2/dialogs/investtransactioneditor.cpp +++ b/kmymoney2/dialogs/investtransactioneditor.cpp @@ -15,6 +15,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include <typeinfo> // ---------------------------------------------------------------------------- diff --git a/kmymoney2/dialogs/kaccountselectdlg.cpp b/kmymoney2/dialogs/kaccountselectdlg.cpp index 4f955a5..199cc2e 100644 --- a/kmymoney2/dialogs/kaccountselectdlg.cpp +++ b/kmymoney2/dialogs/kaccountselectdlg.cpp @@ -20,6 +20,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/dialogs/kbackupdlg.cpp b/kmymoney2/dialogs/kbackupdlg.cpp index 3f66233..bb9fc53 100644 --- a/kmymoney2/dialogs/kbackupdlg.cpp +++ b/kmymoney2/dialogs/kbackupdlg.cpp @@ -17,6 +17,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/dialogs/kbalancewarning.cpp b/kmymoney2/dialogs/kbalancewarning.cpp index 05aa9e7..de2f95d 100644 --- a/kmymoney2/dialogs/kbalancewarning.cpp +++ b/kmymoney2/dialogs/kbalancewarning.cpp @@ -15,6 +15,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/dialogs/kcategoryreassigndlg.cpp b/kmymoney2/dialogs/kcategoryreassigndlg.cpp index 134e53d..507c76c 100644 --- a/kmymoney2/dialogs/kcategoryreassigndlg.cpp +++ b/kmymoney2/dialogs/kcategoryreassigndlg.cpp @@ -15,6 +15,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/dialogs/kchooseimportexportdlg.cpp b/kmymoney2/dialogs/kchooseimportexportdlg.cpp index 93212b4..029f168 100644 --- a/kmymoney2/dialogs/kchooseimportexportdlg.cpp +++ b/kmymoney2/dialogs/kchooseimportexportdlg.cpp @@ -17,6 +17,11 @@ * (at your option) any later version. * * * ***************************************************************************/ + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include <tdeglobal.h> #include <tdelocale.h> #include <kstandarddirs.h> diff --git a/kmymoney2/dialogs/kcsvprogressdlg.cpp b/kmymoney2/dialogs/kcsvprogressdlg.cpp index 86dd313..c8c4f99 100644 --- a/kmymoney2/dialogs/kcsvprogressdlg.cpp +++ b/kmymoney2/dialogs/kcsvprogressdlg.cpp @@ -17,6 +17,11 @@ * (at your option) any later version. * * * ***************************************************************************/ + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include <tdeglobal.h> #include <tdelocale.h> #include <kstandarddirs.h> diff --git a/kmymoney2/dialogs/kcurrencycalculator.cpp b/kmymoney2/dialogs/kcurrencycalculator.cpp index 1bc5997..bd44f4c 100644 --- a/kmymoney2/dialogs/kcurrencycalculator.cpp +++ b/kmymoney2/dialogs/kcurrencycalculator.cpp @@ -20,6 +20,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/dialogs/kcurrencycalculator.h b/kmymoney2/dialogs/kcurrencycalculator.h index 429d177..e519485 100644 --- a/kmymoney2/dialogs/kcurrencycalculator.h +++ b/kmymoney2/dialogs/kcurrencycalculator.h @@ -34,7 +34,7 @@ // ---------------------------------------------------------------------------- // Project Includes -#include "../dialogs/kcurrencycalculatordecl.h" +#include <kmymoney/kcurrencycalculatordecl.h> #include <kmymoney/mymoneyfile.h> /** diff --git a/kmymoney2/dialogs/kcurrencyeditdlg.cpp b/kmymoney2/dialogs/kcurrencyeditdlg.cpp index 0a860a1..6424a0e 100644 --- a/kmymoney2/dialogs/kcurrencyeditdlg.cpp +++ b/kmymoney2/dialogs/kcurrencyeditdlg.cpp @@ -20,6 +20,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include <locale.h> // ---------------------------------------------------------------------------- diff --git a/kmymoney2/dialogs/keditequityentrydlg.cpp b/kmymoney2/dialogs/keditequityentrydlg.cpp index b47794f..edfe43f 100644 --- a/kmymoney2/dialogs/keditequityentrydlg.cpp +++ b/kmymoney2/dialogs/keditequityentrydlg.cpp @@ -20,6 +20,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + // ---------------------------------------------------------------------------- // QT Includes #include <tqtimer.h> diff --git a/kmymoney2/dialogs/keditloanwizard.cpp b/kmymoney2/dialogs/keditloanwizard.cpp index 3ba06a0..1355261 100644 --- a/kmymoney2/dialogs/keditloanwizard.cpp +++ b/kmymoney2/dialogs/keditloanwizard.cpp @@ -20,6 +20,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/dialogs/keditscheduledlg.cpp b/kmymoney2/dialogs/keditscheduledlg.cpp index 6ec37b8..92d19c1 100644 --- a/kmymoney2/dialogs/keditscheduledlg.cpp +++ b/kmymoney2/dialogs/keditscheduledlg.cpp @@ -15,6 +15,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/dialogs/kendingbalancedlg.cpp b/kmymoney2/dialogs/kendingbalancedlg.cpp index e0d795f..0e692c0 100644 --- a/kmymoney2/dialogs/kendingbalancedlg.cpp +++ b/kmymoney2/dialogs/kendingbalancedlg.cpp @@ -15,6 +15,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/dialogs/kenterscheduledlg.cpp b/kmymoney2/dialogs/kenterscheduledlg.cpp index 06a0d42..263e35e 100644 --- a/kmymoney2/dialogs/kenterscheduledlg.cpp +++ b/kmymoney2/dialogs/kenterscheduledlg.cpp @@ -15,6 +15,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/dialogs/kequitypriceupdatedlg.cpp b/kmymoney2/dialogs/kequitypriceupdatedlg.cpp index 86206a4..8679d0c 100644 --- a/kmymoney2/dialogs/kequitypriceupdatedlg.cpp +++ b/kmymoney2/dialogs/kequitypriceupdatedlg.cpp @@ -21,6 +21,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/dialogs/kexportdlg.cpp b/kmymoney2/dialogs/kexportdlg.cpp index 2df68a9..5170a19 100644 --- a/kmymoney2/dialogs/kexportdlg.cpp +++ b/kmymoney2/dialogs/kexportdlg.cpp @@ -17,6 +17,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + // ---------------------------------------------------------------------------- // QT Headers diff --git a/kmymoney2/dialogs/kfindtransactiondlg.cpp b/kmymoney2/dialogs/kfindtransactiondlg.cpp index fc30157..6a4f245 100644 --- a/kmymoney2/dialogs/kfindtransactiondlg.cpp +++ b/kmymoney2/dialogs/kfindtransactiondlg.cpp @@ -14,6 +14,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/dialogs/kgncimportoptionsdlg.cpp b/kmymoney2/dialogs/kgncimportoptionsdlg.cpp index 5ada14a..c1edb47 100644 --- a/kmymoney2/dialogs/kgncimportoptionsdlg.cpp +++ b/kmymoney2/dialogs/kgncimportoptionsdlg.cpp @@ -15,6 +15,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + // ---------------------------------------------------------------------------- // QT Includes #include <tqcheckbox.h> diff --git a/kmymoney2/dialogs/kgncpricesourcedlg.cpp b/kmymoney2/dialogs/kgncpricesourcedlg.cpp index 88dc13f..9a1e2bb 100644 --- a/kmymoney2/dialogs/kgncpricesourcedlg.cpp +++ b/kmymoney2/dialogs/kgncpricesourcedlg.cpp @@ -15,6 +15,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + // ---------------------------------------------------------------------------- // QT Includes #include <tqlabel.h> diff --git a/kmymoney2/dialogs/kgpgkeyselectiondlg.cpp b/kmymoney2/dialogs/kgpgkeyselectiondlg.cpp index c09d477..992c1b2 100644 --- a/kmymoney2/dialogs/kgpgkeyselectiondlg.cpp +++ b/kmymoney2/dialogs/kgpgkeyselectiondlg.cpp @@ -14,6 +14,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/dialogs/kimportdlg.cpp b/kmymoney2/dialogs/kimportdlg.cpp index 050e6b9..dd376c4 100644 --- a/kmymoney2/dialogs/kimportdlg.cpp +++ b/kmymoney2/dialogs/kimportdlg.cpp @@ -18,6 +18,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + // ---------------------------------------------------------------------------- // QT Headers diff --git a/kmymoney2/dialogs/kmergetransactionsdlg.cpp b/kmymoney2/dialogs/kmergetransactionsdlg.cpp index 4b3f965..b64f148 100644 --- a/kmymoney2/dialogs/kmergetransactionsdlg.cpp +++ b/kmymoney2/dialogs/kmergetransactionsdlg.cpp @@ -15,6 +15,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/dialogs/kmymoneyfileinfodlg.cpp b/kmymoney2/dialogs/kmymoneyfileinfodlg.cpp index 4453f7b..da23184 100644 --- a/kmymoney2/dialogs/kmymoneyfileinfodlg.cpp +++ b/kmymoney2/dialogs/kmymoneyfileinfodlg.cpp @@ -15,6 +15,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/dialogs/kmymoneypricedlg.cpp b/kmymoney2/dialogs/kmymoneypricedlg.cpp index 5824053..758c072 100644 --- a/kmymoney2/dialogs/kmymoneypricedlg.cpp +++ b/kmymoney2/dialogs/kmymoneypricedlg.cpp @@ -20,6 +20,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/dialogs/kmymoneysplittable.cpp b/kmymoney2/dialogs/kmymoneysplittable.cpp index 422f146..231aaf8 100644 --- a/kmymoney2/dialogs/kmymoneysplittable.cpp +++ b/kmymoney2/dialogs/kmymoneysplittable.cpp @@ -20,7 +20,9 @@ * * ***************************************************************************/ -#include <kdecompat.h> +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/dialogs/knewbudgetdlg.cpp b/kmymoney2/dialogs/knewbudgetdlg.cpp index 1db17ce..b2a8443 100644 --- a/kmymoney2/dialogs/knewbudgetdlg.cpp +++ b/kmymoney2/dialogs/knewbudgetdlg.cpp @@ -15,6 +15,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/dialogs/knewequityentrydlg.cpp b/kmymoney2/dialogs/knewequityentrydlg.cpp index 60e2fe0..c695a4a 100644 --- a/kmymoney2/dialogs/knewequityentrydlg.cpp +++ b/kmymoney2/dialogs/knewequityentrydlg.cpp @@ -20,6 +20,9 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif // ---------------------------------------------------------------------------- // QT Includes 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> diff --git a/kmymoney2/dialogs/knewinvestmentwizard.cpp b/kmymoney2/dialogs/knewinvestmentwizard.cpp index 4fcef59..14da19c 100644 --- a/kmymoney2/dialogs/knewinvestmentwizard.cpp +++ b/kmymoney2/dialogs/knewinvestmentwizard.cpp @@ -15,6 +15,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/dialogs/knewloanwizard.cpp b/kmymoney2/dialogs/knewloanwizard.cpp index 4bee510..8b11ab5 100644 --- a/kmymoney2/dialogs/knewloanwizard.cpp +++ b/kmymoney2/dialogs/knewloanwizard.cpp @@ -20,6 +20,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include <math.h> // ---------------------------------------------------------------------------- diff --git a/kmymoney2/dialogs/konlinequoteconfigurationdlg.cpp b/kmymoney2/dialogs/konlinequoteconfigurationdlg.cpp index ebd4e32..d26b03f 100644 --- a/kmymoney2/dialogs/konlinequoteconfigurationdlg.cpp +++ b/kmymoney2/dialogs/konlinequoteconfigurationdlg.cpp @@ -15,6 +15,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/dialogs/kpayeereassigndlg.cpp b/kmymoney2/dialogs/kpayeereassigndlg.cpp index 10e4982..cc281f6 100644 --- a/kmymoney2/dialogs/kpayeereassigndlg.cpp +++ b/kmymoney2/dialogs/kpayeereassigndlg.cpp @@ -17,6 +17,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/dialogs/kreconciledlg.cpp b/kmymoney2/dialogs/kreconciledlg.cpp index c66f495..9d50502 100644 --- a/kmymoney2/dialogs/kreconciledlg.cpp +++ b/kmymoney2/dialogs/kreconciledlg.cpp @@ -14,6 +14,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include <tdemessagebox.h> #include <tdeglobal.h> #include <tdelocale.h> diff --git a/kmymoney2/dialogs/ksecuritylisteditor.cpp b/kmymoney2/dialogs/ksecuritylisteditor.cpp index 85a399d..5113e32 100644 --- a/kmymoney2/dialogs/ksecuritylisteditor.cpp +++ b/kmymoney2/dialogs/ksecuritylisteditor.cpp @@ -15,6 +15,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/dialogs/ksplittransactiondlg.cpp b/kmymoney2/dialogs/ksplittransactiondlg.cpp index 2a3d0f5..6a06618 100644 --- a/kmymoney2/dialogs/ksplittransactiondlg.cpp +++ b/kmymoney2/dialogs/ksplittransactiondlg.cpp @@ -20,6 +20,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/dialogs/kstartdlg.cpp b/kmymoney2/dialogs/kstartdlg.cpp index 7f25e14..aaef641 100644 --- a/kmymoney2/dialogs/kstartdlg.cpp +++ b/kmymoney2/dialogs/kstartdlg.cpp @@ -12,7 +12,7 @@ ***************************************************************************/ #ifdef HAVE_CONFIG_H -#include "config.h" +#include <config.h> #endif // ---------------------------------------------------------------------------- @@ -29,7 +29,7 @@ // ---------------------------------------------------------------------------- // KDE Includes -#include "kdecompat.h" +#include <tdeversion.h> #include <kstandarddirs.h> diff --git a/kmymoney2/dialogs/kstartdlg.h b/kmymoney2/dialogs/kstartdlg.h index 7e04414..559c4e2 100644 --- a/kmymoney2/dialogs/kstartdlg.h +++ b/kmymoney2/dialogs/kstartdlg.h @@ -16,10 +16,6 @@ #ifndef KSTARTDLG_H #define KSTARTDLG_H -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - #include <kdialogbase.h> #include <tdelocale.h> diff --git a/kmymoney2/dialogs/kupdatestockpricedlg.cpp b/kmymoney2/dialogs/kupdatestockpricedlg.cpp index 84253e6..924105d 100644 --- a/kmymoney2/dialogs/kupdatestockpricedlg.cpp +++ b/kmymoney2/dialogs/kupdatestockpricedlg.cpp @@ -20,6 +20,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/dialogs/kupdatestockpricedlg.h b/kmymoney2/dialogs/kupdatestockpricedlg.h index f434bb1..8885ee4 100644 --- a/kmymoney2/dialogs/kupdatestockpricedlg.h +++ b/kmymoney2/dialogs/kupdatestockpricedlg.h @@ -24,10 +24,6 @@ #ifndef KUPDATESTOCKPRICEDLG_H #define KUPDATESTOCKPRICEDLG_H -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/dialogs/mymoneyqifprofileeditor.cpp b/kmymoney2/dialogs/mymoneyqifprofileeditor.cpp index 2accde3..4dda2df 100644 --- a/kmymoney2/dialogs/mymoneyqifprofileeditor.cpp +++ b/kmymoney2/dialogs/mymoneyqifprofileeditor.cpp @@ -15,6 +15,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + // ---------------------------------------------------------------------------- // QT Includes @@ -27,7 +31,7 @@ // ---------------------------------------------------------------------------- // KDE Includes -#include "kdecompat.h" +#include <tdeversion.h> #include <tdelocale.h> #include <tdeglobal.h> #include <tdeconfig.h> 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 <config.h> +#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 <config.h> +#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 <config.h> +#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 <config.h> +#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 <config.h> +#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 <config.h> +#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 <config.h> +#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 <config.h> +#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 <config.h> +#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 <config.h> +#endif + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/dialogs/tdeconfirmmanualenterdlg.cpp b/kmymoney2/dialogs/tdeconfirmmanualenterdlg.cpp index aaee1d5..84609a0 100644 --- a/kmymoney2/dialogs/tdeconfirmmanualenterdlg.cpp +++ b/kmymoney2/dialogs/tdeconfirmmanualenterdlg.cpp @@ -15,6 +15,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/dialogs/tderecentfileitem.cpp b/kmymoney2/dialogs/tderecentfileitem.cpp index 2df5819..0303e03 100644 --- a/kmymoney2/dialogs/tderecentfileitem.cpp +++ b/kmymoney2/dialogs/tderecentfileitem.cpp @@ -20,6 +20,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/dialogs/tdeselectdatabasedlg.cpp b/kmymoney2/dialogs/tdeselectdatabasedlg.cpp index 30d91cc..59a2743 100644 --- a/kmymoney2/dialogs/tdeselectdatabasedlg.cpp +++ b/kmymoney2/dialogs/tdeselectdatabasedlg.cpp @@ -15,6 +15,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include <unistd.h> #include <sys/types.h> #include <pwd.h> diff --git a/kmymoney2/dialogs/tdeselecttransactionsdlg.cpp b/kmymoney2/dialogs/tdeselecttransactionsdlg.cpp index de70bba..7c7a03f 100644 --- a/kmymoney2/dialogs/tdeselecttransactionsdlg.cpp +++ b/kmymoney2/dialogs/tdeselecttransactionsdlg.cpp @@ -15,6 +15,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/dialogs/transactioneditor.cpp b/kmymoney2/dialogs/transactioneditor.cpp index 8ff4dfe..3456a93 100644 --- a/kmymoney2/dialogs/transactioneditor.cpp +++ b/kmymoney2/dialogs/transactioneditor.cpp @@ -15,6 +15,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/dialogs/transactionmatcher.cpp b/kmymoney2/dialogs/transactionmatcher.cpp index f9f36a7..ecf54eb 100644 --- a/kmymoney2/dialogs/transactionmatcher.cpp +++ b/kmymoney2/dialogs/transactionmatcher.cpp @@ -15,6 +15,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + // ---------------------------------------------------------------------------- // QT Includes |