From d536400b45d5ea05df97d42b81802ef801cb2eda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= 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/mymoney/mymoneyaccount.cpp | 4 +++ kmymoney2/mymoney/mymoneyaccount.h | 8 ++---- kmymoney2/mymoney/mymoneyaccounttest.cpp | 4 +++ kmymoney2/mymoney/mymoneybudget.h | 4 --- kmymoney2/mymoney/mymoneycategory.cpp | 4 +++ kmymoney2/mymoney/mymoneyexception.cpp | 4 +++ kmymoney2/mymoney/mymoneyexception.h | 4 --- kmymoney2/mymoney/mymoneyexceptiontest.cpp | 4 +++ kmymoney2/mymoney/mymoneyfile.cpp | 6 +++-- kmymoney2/mymoney/mymoneyfile.h | 4 --- kmymoney2/mymoney/mymoneyfiletest.cpp | 4 +++ kmymoney2/mymoney/mymoneyfinancialcalculator.cpp | 5 ++-- kmymoney2/mymoney/mymoneyfinancialcalculator.h | 4 --- .../mymoney/mymoneyfinancialcalculatortest.cpp | 5 ++++ kmymoney2/mymoney/mymoneyforecast.h | 10 +++---- kmymoney2/mymoney/mymoneyforecasttest.cpp | 4 +++ kmymoney2/mymoney/mymoneyinstitution.cpp | 4 +++ kmymoney2/mymoney/mymoneyinstitution.h | 10 +++---- kmymoney2/mymoney/mymoneyinstitutiontest.cpp | 4 +++ kmymoney2/mymoney/mymoneyinvesttransaction.cpp | 4 +++ kmymoney2/mymoney/mymoneyinvesttransaction.h | 2 +- kmymoney2/mymoney/mymoneykeyvaluecontainer.cpp | 4 +++ kmymoney2/mymoney/mymoneykeyvaluecontainer.h | 4 --- kmymoney2/mymoney/mymoneykeyvaluecontainertest.cpp | 4 +++ kmymoney2/mymoney/mymoneymoney.cpp | 4 +++ kmymoney2/mymoney/mymoneymoney.h | 4 --- kmymoney2/mymoney/mymoneymoneytest.cpp | 4 +++ kmymoney2/mymoney/mymoneyobject.cpp | 4 +++ kmymoney2/mymoney/mymoneyobject.h | 4 --- kmymoney2/mymoney/mymoneyobjectcontainer.cpp | 4 +++ kmymoney2/mymoney/mymoneyobjectcontainer.h | 4 --- kmymoney2/mymoney/mymoneyobjecttest.cpp | 4 +++ kmymoney2/mymoney/mymoneyobserver.cpp | 4 +++ kmymoney2/mymoney/mymoneyobserver.h | 4 --- kmymoney2/mymoney/mymoneypayee.cpp | 4 +++ kmymoney2/mymoney/mymoneypayee.h | 4 --- kmymoney2/mymoney/mymoneypayeetest.cpp | 4 +++ kmymoney2/mymoney/mymoneyprice.cpp | 4 +++ kmymoney2/mymoney/mymoneyprice.h | 4 --- kmymoney2/mymoney/mymoneypricetest.cpp | 4 +++ kmymoney2/mymoney/mymoneyreport.h | 4 --- kmymoney2/mymoney/mymoneyscheduled.cpp | 5 ++++ kmymoney2/mymoney/mymoneyscheduled.h | 8 ++---- kmymoney2/mymoney/mymoneyscheduletest.cpp | 5 ++++ kmymoney2/mymoney/mymoneysecurity.cpp | 4 +++ kmymoney2/mymoney/mymoneysecurity.h | 4 --- kmymoney2/mymoney/mymoneysecuritytest.cpp | 4 +++ kmymoney2/mymoney/mymoneysplit.cpp | 4 +++ kmymoney2/mymoney/mymoneysplit.h | 12 +++------ kmymoney2/mymoney/mymoneysplittest.cpp | 4 +++ kmymoney2/mymoney/mymoneystatement.cpp | 5 +++- kmymoney2/mymoney/mymoneystatement.h | 4 --- kmymoney2/mymoney/mymoneysubject.cpp | 4 +++ kmymoney2/mymoney/mymoneytransaction.cpp | 4 +++ kmymoney2/mymoney/mymoneytransaction.h | 12 +++------ kmymoney2/mymoney/mymoneytransactionfilter.cpp | 4 +++ kmymoney2/mymoney/mymoneytransactionfilter.h | 4 --- kmymoney2/mymoney/mymoneytransactiontest.cpp | 4 +++ kmymoney2/mymoney/mymoneyutils.cpp | 4 +++ kmymoney2/mymoney/mymoneyutils.h | 4 --- kmymoney2/mymoney/storage/Makefile.am | 4 +-- kmymoney2/mymoney/storage/imymoneyserialize.cpp | 4 +++ kmymoney2/mymoney/storage/imymoneyserialize.h | 16 +++++------ kmymoney2/mymoney/storage/imymoneystorage.cpp | 4 +++ .../mymoney/storage/imymoneystorageformat.cpp | 4 +++ kmymoney2/mymoney/storage/mymoneydatabasemgr.cpp | 5 ++++ .../mymoney/storage/mymoneydatabasemgrtest.cpp | 4 +++ kmymoney2/mymoney/storage/mymoneymaptest.cpp | 4 +++ kmymoney2/mymoney/storage/mymoneyseqaccessmgr.cpp | 4 +++ .../mymoney/storage/mymoneyseqaccessmgrtest.cpp | 4 +++ kmymoney2/mymoney/storage/mymoneystorageanon.cpp | 6 ++--- kmymoney2/mymoney/storage/mymoneystoragedump.cpp | 4 +++ kmymoney2/mymoney/storage/mymoneystoragesql.cpp | 4 +++ kmymoney2/mymoney/storage/mymoneystoragesql.h | 31 +++++++++++----------- kmymoney2/mymoney/storage/mymoneystoragexml.cpp | 5 ++-- 75 files changed, 241 insertions(+), 143 deletions(-) (limited to 'kmymoney2/mymoney') diff --git a/kmymoney2/mymoney/mymoneyaccount.cpp b/kmymoney2/mymoney/mymoneyaccount.cpp index 56c0112..3b48602 100644 --- a/kmymoney2/mymoney/mymoneyaccount.cpp +++ b/kmymoney2/mymoney/mymoneyaccount.cpp @@ -16,6 +16,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/mymoney/mymoneyaccount.h b/kmymoney2/mymoney/mymoneyaccount.h index 8ab368c..f919a42 100644 --- a/kmymoney2/mymoney/mymoneyaccount.h +++ b/kmymoney2/mymoney/mymoneyaccount.h @@ -17,10 +17,6 @@ #ifndef MYMONEYACCOUNT_H #define MYMONEYACCOUNT_H -#ifdef HAVE_CONFIG_H -#include -#endif - // ---------------------------------------------------------------------------- // QT Includes @@ -34,14 +30,14 @@ // ---------------------------------------------------------------------------- // Project Includes +#include #include #include #include #include +#include #include #include -#include -#include "mymoneyutils.h" class MyMoneyTransaction; class MyMoneyInstitution; class MyMoneySplit; diff --git a/kmymoney2/mymoney/mymoneyaccounttest.cpp b/kmymoney2/mymoney/mymoneyaccounttest.cpp index 12ea7f1..0c2e292 100644 --- a/kmymoney2/mymoney/mymoneyaccounttest.cpp +++ b/kmymoney2/mymoney/mymoneyaccounttest.cpp @@ -14,6 +14,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "mymoneyaccounttest.h" #include #include diff --git a/kmymoney2/mymoney/mymoneybudget.h b/kmymoney2/mymoney/mymoneybudget.h index fcf20c4..6461370 100644 --- a/kmymoney2/mymoney/mymoneybudget.h +++ b/kmymoney2/mymoney/mymoneybudget.h @@ -18,10 +18,6 @@ #ifndef MYMONEYBUDGET_H #define MYMONEYBUDGET_H -#ifdef HAVE_CONFIG_H -#include -#endif - // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/mymoney/mymoneycategory.cpp b/kmymoney2/mymoney/mymoneycategory.cpp index 9a51b53..a45eaad 100644 --- a/kmymoney2/mymoney/mymoneycategory.cpp +++ b/kmymoney2/mymoney/mymoneycategory.cpp @@ -14,6 +14,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "mymoneycategory.h" MyMoneyCategory::MyMoneyCategory() diff --git a/kmymoney2/mymoney/mymoneyexception.cpp b/kmymoney2/mymoney/mymoneyexception.cpp index 47d32fc..c0cdc82 100644 --- a/kmymoney2/mymoney/mymoneyexception.cpp +++ b/kmymoney2/mymoney/mymoneyexception.cpp @@ -20,6 +20,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "mymoneyexception.h" MyMoneyException::MyMoneyException(const TQString& msg, const TQString& file, const unsigned long line) diff --git a/kmymoney2/mymoney/mymoneyexception.h b/kmymoney2/mymoney/mymoneyexception.h index 41020b3..ac616a9 100644 --- a/kmymoney2/mymoney/mymoneyexception.h +++ b/kmymoney2/mymoney/mymoneyexception.h @@ -23,10 +23,6 @@ #ifndef MYMONEYEXCEPTION_H #define MYMONEYEXCEPTION_H -#ifdef HAVE_CONFIG_H -#include -#endif - // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/mymoney/mymoneyexceptiontest.cpp b/kmymoney2/mymoney/mymoneyexceptiontest.cpp index 9d036ff..1470670 100644 --- a/kmymoney2/mymoney/mymoneyexceptiontest.cpp +++ b/kmymoney2/mymoney/mymoneyexceptiontest.cpp @@ -15,6 +15,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "mymoneyexceptiontest.h" MyMoneyExceptionTest::MyMoneyExceptionTest() diff --git a/kmymoney2/mymoney/mymoneyfile.cpp b/kmymoney2/mymoney/mymoneyfile.cpp index 2c78d8f..8091e91 100644 --- a/kmymoney2/mymoney/mymoneyfile.cpp +++ b/kmymoney2/mymoney/mymoneyfile.cpp @@ -16,6 +16,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif + // ---------------------------------------------------------------------------- // QT Includes @@ -40,8 +44,6 @@ #ifndef HAVE_CONFIG_H #define VERSION "UNKNOWN" -#else -#include "config.h" #endif const TQString MyMoneyFile::OpeningBalancesPrefix = I18N_NOOP("Opening Balances"); diff --git a/kmymoney2/mymoney/mymoneyfile.h b/kmymoney2/mymoney/mymoneyfile.h index 9bd7514..d072149 100644 --- a/kmymoney2/mymoney/mymoneyfile.h +++ b/kmymoney2/mymoney/mymoneyfile.h @@ -17,10 +17,6 @@ #ifndef MYMONEYFILE_H #define MYMONEYFILE_H -#ifdef HAVE_CONFIG_H -#include -#endif - // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/mymoney/mymoneyfiletest.cpp b/kmymoney2/mymoney/mymoneyfiletest.cpp index 1c25abd..1204683 100644 --- a/kmymoney2/mymoney/mymoneyfiletest.cpp +++ b/kmymoney2/mymoney/mymoneyfiletest.cpp @@ -14,6 +14,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "mymoneyfiletest.h" #include diff --git a/kmymoney2/mymoney/mymoneyfinancialcalculator.cpp b/kmymoney2/mymoney/mymoneyfinancialcalculator.cpp index d6686a6..cdf84db 100644 --- a/kmymoney2/mymoney/mymoneyfinancialcalculator.cpp +++ b/kmymoney2/mymoney/mymoneyfinancialcalculator.cpp @@ -20,12 +20,13 @@ * * ***************************************************************************/ -#include -#include #ifdef HAVE_CONFIG_H #include #endif +#include +#include + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/mymoney/mymoneyfinancialcalculator.h b/kmymoney2/mymoney/mymoneyfinancialcalculator.h index c603d12..d66b3c1 100644 --- a/kmymoney2/mymoney/mymoneyfinancialcalculator.h +++ b/kmymoney2/mymoney/mymoneyfinancialcalculator.h @@ -23,10 +23,6 @@ #ifndef MYMONEYFINANCIALCALCULATOR_H #define MYMONEYFINANCIALCALCULATOR_H -#ifdef HAVE_CONFIG_H -#include -#endif - #include // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/mymoney/mymoneyfinancialcalculatortest.cpp b/kmymoney2/mymoney/mymoneyfinancialcalculatortest.cpp index fa5b1a3..a2e578b 100644 --- a/kmymoney2/mymoney/mymoneyfinancialcalculatortest.cpp +++ b/kmymoney2/mymoney/mymoneyfinancialcalculatortest.cpp @@ -13,6 +13,11 @@ * (at your option) any later version. * * * ***************************************************************************/ + +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include diff --git a/kmymoney2/mymoney/mymoneyforecast.h b/kmymoney2/mymoney/mymoneyforecast.h index 6fa231c..30d4cbd 100644 --- a/kmymoney2/mymoney/mymoneyforecast.h +++ b/kmymoney2/mymoney/mymoneyforecast.h @@ -18,10 +18,6 @@ #ifndef MYMONEYFORECAST_H #define MYMONEYFORECAST_H -#ifdef HAVE_CONFIG_H -#include -#endif - // ---------------------------------------------------------------------------- // QT Includes @@ -32,12 +28,12 @@ // ---------------------------------------------------------------------------- // Project Includes -#include +#include #include +#include #include +#include #include -#include -#include "mymoneybudget.h" /** * diff --git a/kmymoney2/mymoney/mymoneyforecasttest.cpp b/kmymoney2/mymoney/mymoneyforecasttest.cpp index dc829cd..c63b176 100644 --- a/kmymoney2/mymoney/mymoneyforecasttest.cpp +++ b/kmymoney2/mymoney/mymoneyforecasttest.cpp @@ -14,6 +14,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "mymoneyforecasttest.h" #include diff --git a/kmymoney2/mymoney/mymoneyinstitution.cpp b/kmymoney2/mymoney/mymoneyinstitution.cpp index b9ab329..4971afa 100644 --- a/kmymoney2/mymoney/mymoneyinstitution.cpp +++ b/kmymoney2/mymoney/mymoneyinstitution.cpp @@ -16,6 +16,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/mymoney/mymoneyinstitution.h b/kmymoney2/mymoney/mymoneyinstitution.h index b4c1cf1..b91c0da 100644 --- a/kmymoney2/mymoney/mymoneyinstitution.h +++ b/kmymoney2/mymoney/mymoneyinstitution.h @@ -17,10 +17,6 @@ #ifndef MYMONEYINSTITUTION_H #define MYMONEYINSTITUTION_H -#ifdef HAVE_CONFIG_H -#include -#endif - // ---------------------------------------------------------------------------- // QT Includes @@ -32,10 +28,10 @@ // ---------------------------------------------------------------------------- // Project Includes -#include "mymoneyutils.h" -#include -#include #include +#include +#include +#include class MyMoneyFile; class MyMoneyMoney; diff --git a/kmymoney2/mymoney/mymoneyinstitutiontest.cpp b/kmymoney2/mymoney/mymoneyinstitutiontest.cpp index 2e537d0..556c26b 100644 --- a/kmymoney2/mymoney/mymoneyinstitutiontest.cpp +++ b/kmymoney2/mymoney/mymoneyinstitutiontest.cpp @@ -14,6 +14,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "mymoneyinstitutiontest.h" #include diff --git a/kmymoney2/mymoney/mymoneyinvesttransaction.cpp b/kmymoney2/mymoney/mymoneyinvesttransaction.cpp index 675e746..585e345 100644 --- a/kmymoney2/mymoney/mymoneyinvesttransaction.cpp +++ b/kmymoney2/mymoney/mymoneyinvesttransaction.cpp @@ -20,6 +20,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "mymoneyinvesttransaction.h" #if 0 diff --git a/kmymoney2/mymoney/mymoneyinvesttransaction.h b/kmymoney2/mymoney/mymoneyinvesttransaction.h index ee09456..1f60ac0 100644 --- a/kmymoney2/mymoney/mymoneyinvesttransaction.h +++ b/kmymoney2/mymoney/mymoneyinvesttransaction.h @@ -23,7 +23,7 @@ #ifndef MYMONEYINVESTTRANSACTION_H #define MYMONEYINVESTTRANSACTION_H -#include "mymoneytransaction.h" +#include #if 0 /** diff --git a/kmymoney2/mymoney/mymoneykeyvaluecontainer.cpp b/kmymoney2/mymoney/mymoneykeyvaluecontainer.cpp index cabf772..2203ea0 100644 --- a/kmymoney2/mymoney/mymoneykeyvaluecontainer.cpp +++ b/kmymoney2/mymoney/mymoneykeyvaluecontainer.cpp @@ -15,6 +15,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/mymoney/mymoneykeyvaluecontainer.h b/kmymoney2/mymoney/mymoneykeyvaluecontainer.h index 9be002e..9b8de1b 100644 --- a/kmymoney2/mymoney/mymoneykeyvaluecontainer.h +++ b/kmymoney2/mymoney/mymoneykeyvaluecontainer.h @@ -23,10 +23,6 @@ * @author Thomas Baumgart */ -#ifdef HAVE_CONFIG_H -#include -#endif - // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/mymoney/mymoneykeyvaluecontainertest.cpp b/kmymoney2/mymoney/mymoneykeyvaluecontainertest.cpp index bc1757d..e7e45fd 100644 --- a/kmymoney2/mymoney/mymoneykeyvaluecontainertest.cpp +++ b/kmymoney2/mymoney/mymoneykeyvaluecontainertest.cpp @@ -14,6 +14,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "mymoneykeyvaluecontainertest.h" #include diff --git a/kmymoney2/mymoney/mymoneymoney.cpp b/kmymoney2/mymoney/mymoneymoney.cpp index 304a905..ec10a0e 100644 --- a/kmymoney2/mymoney/mymoneymoney.cpp +++ b/kmymoney2/mymoney/mymoneymoney.cpp @@ -20,6 +20,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif + // make sure, that this is defined before we even include any other header file #ifndef __STDC_LIMIT_MACROS #define __STDC_LIMIT_MACROS // force definition of min and max values diff --git a/kmymoney2/mymoney/mymoneymoney.h b/kmymoney2/mymoney/mymoneymoney.h index f857b8f..97534b5 100644 --- a/kmymoney2/mymoney/mymoneymoney.h +++ b/kmymoney2/mymoney/mymoneymoney.h @@ -18,10 +18,6 @@ #include -#ifdef HAVE_CONFIG_H -#include -#endif - #ifndef HAVE_ATOLL # ifdef HAVE_STRTOLL # define atoll(a) strtoll(a, 0, 10) diff --git a/kmymoney2/mymoney/mymoneymoneytest.cpp b/kmymoney2/mymoney/mymoneymoneytest.cpp index 81967a1..116cee9 100644 --- a/kmymoney2/mymoney/mymoneymoneytest.cpp +++ b/kmymoney2/mymoney/mymoneymoneytest.cpp @@ -14,6 +14,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif + // make sure, that this is defined before we even include any other header file #ifndef __STDC_LIMIT_MACROS #define __STDC_LIMIT_MACROS // force definition of min and max values diff --git a/kmymoney2/mymoney/mymoneyobject.cpp b/kmymoney2/mymoney/mymoneyobject.cpp index a415a7c..c58d58c 100644 --- a/kmymoney2/mymoney/mymoneyobject.cpp +++ b/kmymoney2/mymoney/mymoneyobject.cpp @@ -14,6 +14,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/mymoney/mymoneyobject.h b/kmymoney2/mymoney/mymoneyobject.h index cd8d43d..73fd080 100644 --- a/kmymoney2/mymoney/mymoneyobject.h +++ b/kmymoney2/mymoney/mymoneyobject.h @@ -17,10 +17,6 @@ #ifndef MYMONEYOBJECT_H #define MYMONEYOBJECT_H -#ifdef HAVE_CONFIG_H -#include -#endif - // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/mymoney/mymoneyobjectcontainer.cpp b/kmymoney2/mymoney/mymoneyobjectcontainer.cpp index 7517e17..63f4d1c 100644 --- a/kmymoney2/mymoney/mymoneyobjectcontainer.cpp +++ b/kmymoney2/mymoney/mymoneyobjectcontainer.cpp @@ -14,6 +14,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/mymoney/mymoneyobjectcontainer.h b/kmymoney2/mymoney/mymoneyobjectcontainer.h index 977bef6..e678ba3 100644 --- a/kmymoney2/mymoney/mymoneyobjectcontainer.h +++ b/kmymoney2/mymoney/mymoneyobjectcontainer.h @@ -17,10 +17,6 @@ #ifndef MYMONEYOBJECTCONTAINER_H #define MYMONEYOBJECTCONTAINER_H -#ifdef HAVE_CONFIG_H -#include -#endif - // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/mymoney/mymoneyobjecttest.cpp b/kmymoney2/mymoney/mymoneyobjecttest.cpp index b69d63a..3921c47 100644 --- a/kmymoney2/mymoney/mymoneyobjecttest.cpp +++ b/kmymoney2/mymoney/mymoneyobjecttest.cpp @@ -14,6 +14,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "mymoneyobjecttest.h" #include "mymoneyaccount.h" diff --git a/kmymoney2/mymoney/mymoneyobserver.cpp b/kmymoney2/mymoney/mymoneyobserver.cpp index f343003..337c149 100644 --- a/kmymoney2/mymoney/mymoneyobserver.cpp +++ b/kmymoney2/mymoney/mymoneyobserver.cpp @@ -20,6 +20,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "mymoneyobserver.h" MyMoneyObserver::MyMoneyObserver() diff --git a/kmymoney2/mymoney/mymoneyobserver.h b/kmymoney2/mymoney/mymoneyobserver.h index 3ec05d0..e71a786 100644 --- a/kmymoney2/mymoney/mymoneyobserver.h +++ b/kmymoney2/mymoney/mymoneyobserver.h @@ -23,10 +23,6 @@ #ifndef MYMONEYOBSERVER_H #define MYMONEYOBSERVER_H -#ifdef HAVE_CONFIG_H -#include -#endif - // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/mymoney/mymoneypayee.cpp b/kmymoney2/mymoney/mymoneypayee.cpp index c924b62..d0211aa 100644 --- a/kmymoney2/mymoney/mymoneypayee.cpp +++ b/kmymoney2/mymoney/mymoneypayee.cpp @@ -16,6 +16,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/mymoney/mymoneypayee.h b/kmymoney2/mymoney/mymoneypayee.h index b8ffadf..118b320 100644 --- a/kmymoney2/mymoney/mymoneypayee.h +++ b/kmymoney2/mymoney/mymoneypayee.h @@ -19,10 +19,6 @@ #ifndef MYMONEYPAYEE_H #define MYMONEYPAYEE_H -#ifdef HAVE_CONFIG_H -#include -#endif - // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/mymoney/mymoneypayeetest.cpp b/kmymoney2/mymoney/mymoneypayeetest.cpp index 0dad126..ceb636e 100644 --- a/kmymoney2/mymoney/mymoneypayeetest.cpp +++ b/kmymoney2/mymoney/mymoneypayeetest.cpp @@ -11,6 +11,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "mymoneypayeetest.h" #include #include diff --git a/kmymoney2/mymoney/mymoneyprice.cpp b/kmymoney2/mymoney/mymoneyprice.cpp index a65ba65..b51e810 100644 --- a/kmymoney2/mymoney/mymoneyprice.cpp +++ b/kmymoney2/mymoney/mymoneyprice.cpp @@ -24,6 +24,10 @@ * @author Thomas Baumgart */ +#ifdef HAVE_CONFIG_H +#include +#endif + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/mymoney/mymoneyprice.h b/kmymoney2/mymoney/mymoneyprice.h index 9c4f1c0..673b78f 100644 --- a/kmymoney2/mymoney/mymoneyprice.h +++ b/kmymoney2/mymoney/mymoneyprice.h @@ -23,10 +23,6 @@ #ifndef MYMONEYPRICE_H #define MYMONEYPRICE_H -#ifdef HAVE_CONFIG_H -#include -#endif - // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/mymoney/mymoneypricetest.cpp b/kmymoney2/mymoney/mymoneypricetest.cpp index 444754a..5018ff9 100644 --- a/kmymoney2/mymoney/mymoneypricetest.cpp +++ b/kmymoney2/mymoney/mymoneypricetest.cpp @@ -14,6 +14,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "mymoneypricetest.h" #include "mymoneyexception.h" diff --git a/kmymoney2/mymoney/mymoneyreport.h b/kmymoney2/mymoney/mymoneyreport.h index a7bfc98..16e91b5 100644 --- a/kmymoney2/mymoney/mymoneyreport.h +++ b/kmymoney2/mymoney/mymoneyreport.h @@ -18,10 +18,6 @@ #ifndef MYMONEYREPORT_H #define MYMONEYREPORT_H -#ifdef HAVE_CONFIG_H -#include -#endif - // ---------------------------------------------------------------------------- // QT Includes #include diff --git a/kmymoney2/mymoney/mymoneyscheduled.cpp b/kmymoney2/mymoney/mymoneyscheduled.cpp index d2ac663..3891d6b 100644 --- a/kmymoney2/mymoney/mymoneyscheduled.cpp +++ b/kmymoney2/mymoney/mymoneyscheduled.cpp @@ -15,6 +15,11 @@ * (at your option) any later version. * * * ***************************************************************************/ + +#ifdef HAVE_CONFIG_H +#include +#endif + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/mymoney/mymoneyscheduled.h b/kmymoney2/mymoney/mymoneyscheduled.h index 1258b00..9761cc3 100644 --- a/kmymoney2/mymoney/mymoneyscheduled.h +++ b/kmymoney2/mymoney/mymoneyscheduled.h @@ -19,10 +19,6 @@ #ifndef MYMONEYSCHEDULED_H #define MYMONEYSCHEDULED_H -#ifdef HAVE_CONFIG_H -#include -#endif - // ---------------------------------------------------------------------------- // QT Includes @@ -34,10 +30,10 @@ // ---------------------------------------------------------------------------- // Project Includes -#include "mymoneytransaction.h" -#include "mymoneyaccount.h" #include +#include #include +#include class MyMoneyStorageANON; diff --git a/kmymoney2/mymoney/mymoneyscheduletest.cpp b/kmymoney2/mymoney/mymoneyscheduletest.cpp index ae45e97..fb6d542 100644 --- a/kmymoney2/mymoney/mymoneyscheduletest.cpp +++ b/kmymoney2/mymoney/mymoneyscheduletest.cpp @@ -13,6 +13,11 @@ * (at your option) any later version. * * * ***************************************************************************/ + +#ifdef HAVE_CONFIG_H +#include +#endif + // Include internationalization #include diff --git a/kmymoney2/mymoney/mymoneysecurity.cpp b/kmymoney2/mymoney/mymoneysecurity.cpp index a6c1ab8..20c5fd4 100644 --- a/kmymoney2/mymoney/mymoneysecurity.cpp +++ b/kmymoney2/mymoney/mymoneysecurity.cpp @@ -20,6 +20,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/mymoney/mymoneysecurity.h b/kmymoney2/mymoney/mymoneysecurity.h index 4013a45..5c37dd6 100644 --- a/kmymoney2/mymoney/mymoneysecurity.h +++ b/kmymoney2/mymoney/mymoneysecurity.h @@ -23,10 +23,6 @@ #ifndef MYMONEYSECURITY_H #define MYMONEYSECURITY_H -#ifdef HAVE_CONFIG_H -#include -#endif - // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/mymoney/mymoneysecuritytest.cpp b/kmymoney2/mymoney/mymoneysecuritytest.cpp index 69be2ba..3be9bd2 100644 --- a/kmymoney2/mymoney/mymoneysecuritytest.cpp +++ b/kmymoney2/mymoney/mymoneysecuritytest.cpp @@ -14,6 +14,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "mymoneysecuritytest.h" MyMoneySecurityTest::MyMoneySecurityTest() diff --git a/kmymoney2/mymoney/mymoneysplit.cpp b/kmymoney2/mymoney/mymoneysplit.cpp index 4e650d3..9120f28 100644 --- a/kmymoney2/mymoney/mymoneysplit.cpp +++ b/kmymoney2/mymoney/mymoneysplit.cpp @@ -20,6 +20,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "mymoneysplit.h" #include "mymoneytransaction.h" diff --git a/kmymoney2/mymoney/mymoneysplit.h b/kmymoney2/mymoney/mymoneysplit.h index b300aa1..b32edb7 100644 --- a/kmymoney2/mymoney/mymoneysplit.h +++ b/kmymoney2/mymoney/mymoneysplit.h @@ -23,10 +23,6 @@ #ifndef MYMONEYSPLIT_H #define MYMONEYSPLIT_H -#ifdef HAVE_CONFIG_H -#include -#endif - // ---------------------------------------------------------------------------- // QT Includes @@ -36,12 +32,12 @@ // ---------------------------------------------------------------------------- // Project Includes -#include "mymoneyexception.h" -#include "mymoneyutils.h" -#include "mymoneymoney.h" #include -#include +#include #include +#include +#include +#include class MyMoneyTransaction; /** diff --git a/kmymoney2/mymoney/mymoneysplittest.cpp b/kmymoney2/mymoney/mymoneysplittest.cpp index 806b556..8171520 100644 --- a/kmymoney2/mymoney/mymoneysplittest.cpp +++ b/kmymoney2/mymoney/mymoneysplittest.cpp @@ -14,6 +14,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "mymoneysplittest.h" #include diff --git a/kmymoney2/mymoney/mymoneystatement.cpp b/kmymoney2/mymoney/mymoneystatement.cpp index 9e61e09..89a374b 100644 --- a/kmymoney2/mymoney/mymoneystatement.cpp +++ b/kmymoney2/mymoney/mymoneystatement.cpp @@ -21,6 +21,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif + // ---------------------------------------------------------------------------- // QT Includes @@ -32,7 +36,6 @@ // ---------------------------------------------------------------------------- // Project Includes -#include "../../kdecompat.h" #include "mymoneystatement.h" const TQStringList kAccountTypeTxt = TQStringList::split(",","none,checkings,savings,investment,creditcard,invalid"); diff --git a/kmymoney2/mymoney/mymoneystatement.h b/kmymoney2/mymoney/mymoneystatement.h index 8f4467f..b3446be 100644 --- a/kmymoney2/mymoney/mymoneystatement.h +++ b/kmymoney2/mymoney/mymoneystatement.h @@ -24,10 +24,6 @@ #ifndef MYMONEYSTATEMENT_H #define MYMONEYSTATEMENT_H -#ifdef HAVE_CONFIG_H -#include -#endif - // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/mymoney/mymoneysubject.cpp b/kmymoney2/mymoney/mymoneysubject.cpp index d7a4c40..3dc76b5 100644 --- a/kmymoney2/mymoney/mymoneysubject.cpp +++ b/kmymoney2/mymoney/mymoneysubject.cpp @@ -20,6 +20,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "mymoneysubject.h" #include "mymoneyobserver.h" #include diff --git a/kmymoney2/mymoney/mymoneytransaction.cpp b/kmymoney2/mymoney/mymoneytransaction.cpp index cc0f6d2..25a306a 100644 --- a/kmymoney2/mymoney/mymoneytransaction.cpp +++ b/kmymoney2/mymoney/mymoneytransaction.cpp @@ -17,6 +17,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/mymoney/mymoneytransaction.h b/kmymoney2/mymoney/mymoneytransaction.h index 6787c1d..5ba06c4 100644 --- a/kmymoney2/mymoney/mymoneytransaction.h +++ b/kmymoney2/mymoney/mymoneytransaction.h @@ -19,10 +19,6 @@ #ifndef MYMONEYTRANSACTION_H #define MYMONEYTRANSACTION_H -#ifdef HAVE_CONFIG_H -#include -#endif - // ---------------------------------------------------------------------------- // QT Includes @@ -34,11 +30,11 @@ // ---------------------------------------------------------------------------- // Project Includes -#include "mymoneyutils.h" -#include "mymoneymoney.h" -#include "mymoneykeyvaluecontainer.h" -#include "mymoneysplit.h" #include +#include +#include +#include +#include /** * This class represents a transaction within the MyMoneyEngine. A transaction diff --git a/kmymoney2/mymoney/mymoneytransactionfilter.cpp b/kmymoney2/mymoney/mymoneytransactionfilter.cpp index 823ccfc..fa4fd91 100644 --- a/kmymoney2/mymoney/mymoneytransactionfilter.cpp +++ b/kmymoney2/mymoney/mymoneytransactionfilter.cpp @@ -20,6 +20,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/mymoney/mymoneytransactionfilter.h b/kmymoney2/mymoney/mymoneytransactionfilter.h index 50226cf..1a028e6 100644 --- a/kmymoney2/mymoney/mymoneytransactionfilter.h +++ b/kmymoney2/mymoney/mymoneytransactionfilter.h @@ -23,10 +23,6 @@ #ifndef MYMONEYTRANSACTIONFILTER_H #define MYMONEYTRANSACTIONFILTER_H -#ifdef HAVE_CONFIG_H -#include -#endif - // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/mymoney/mymoneytransactiontest.cpp b/kmymoney2/mymoney/mymoneytransactiontest.cpp index b69ade8..a2c9340 100644 --- a/kmymoney2/mymoney/mymoneytransactiontest.cpp +++ b/kmymoney2/mymoney/mymoneytransactiontest.cpp @@ -14,6 +14,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "mymoneytransactiontest.h" MyMoneyTransactionTest::MyMoneyTransactionTest () diff --git a/kmymoney2/mymoney/mymoneyutils.cpp b/kmymoney2/mymoney/mymoneyutils.cpp index 8012200..49d5cac 100644 --- a/kmymoney2/mymoney/mymoneyutils.cpp +++ b/kmymoney2/mymoney/mymoneyutils.cpp @@ -20,6 +20,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include "mymoneyutils.h" diff --git a/kmymoney2/mymoney/mymoneyutils.h b/kmymoney2/mymoney/mymoneyutils.h index 9e111d6..e2e2ea1 100644 --- a/kmymoney2/mymoney/mymoneyutils.h +++ b/kmymoney2/mymoney/mymoneyutils.h @@ -23,10 +23,6 @@ #ifndef _MYMONEYUTILS_H_ #define _MYMONEYUTILS_H_ -#ifdef HAVE_CONFIG_H -#include -#endif - #include #include #include diff --git a/kmymoney2/mymoney/storage/Makefile.am b/kmymoney2/mymoney/storage/Makefile.am index 85d4664..ce8dcd8 100644 --- a/kmymoney2/mymoney/storage/Makefile.am +++ b/kmymoney2/mymoney/storage/Makefile.am @@ -8,9 +8,9 @@ libstorage_a_METASOURCES = AUTO libstorage_a_SOURCES = imymoneystorageformat.cpp mymoneystoragexml.cpp mymoneystoragedump.cpp mymoneyseqaccessmgr.cpp mymoneydatabasemgr.cpp imymoneystorage.cpp imymoneyserialize.cpp mymoneystorageanon.cpp mymoneystoragesql.cpp instdir=$(includedir)/kmymoney -inst_HEADERS = imymoneystorage.h imymoneyserialize.h imymoneystorageformat.h +inst_HEADERS = imymoneystorage.h imymoneyserialize.h imymoneystorageformat.h mymoneystoragesql.h -noinst_HEADERS = mymoneyseqaccessmgr.h mymoneydatabasemgr.h mymoneystorageanon.h mymoneystoragedump.h mymoneystoragexml.h mymoneyseqaccessmgrtest.h mymoneydatabasemgrtest.h mymoneystoragesql.h mymoneystoragebin.h mymoneymap.h mymoneymaptest.h +noinst_HEADERS = mymoneyseqaccessmgr.h mymoneydatabasemgr.h mymoneystorageanon.h mymoneystoragedump.h mymoneystoragexml.h mymoneyseqaccessmgrtest.h mymoneydatabasemgrtest.h mymoneystoragebin.h mymoneymap.h mymoneymaptest.h check_LIBRARIES = libstoragetest.a diff --git a/kmymoney2/mymoney/storage/imymoneyserialize.cpp b/kmymoney2/mymoney/storage/imymoneyserialize.cpp index 14b76dd..1ac496f 100644 --- a/kmymoney2/mymoney/storage/imymoneyserialize.cpp +++ b/kmymoney2/mymoney/storage/imymoneyserialize.cpp @@ -20,6 +20,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "imymoneyserialize.h" IMyMoneySerialize::IMyMoneySerialize() diff --git a/kmymoney2/mymoney/storage/imymoneyserialize.h b/kmymoney2/mymoney/storage/imymoneyserialize.h index 086f040..3132747 100644 --- a/kmymoney2/mymoney/storage/imymoneyserialize.h +++ b/kmymoney2/mymoney/storage/imymoneyserialize.h @@ -32,18 +32,18 @@ // ---------------------------------------------------------------------------- // Project Includes -#include -#include #include -#include +#include +#include #include -#include -#include -#include #include #include -#include -#include "mymoneystoragesql.h" +#include +#include +#include +#include +#include +#include /** * @author Thomas Baumgart diff --git a/kmymoney2/mymoney/storage/imymoneystorage.cpp b/kmymoney2/mymoney/storage/imymoneystorage.cpp index f70de9c..75608e1 100644 --- a/kmymoney2/mymoney/storage/imymoneystorage.cpp +++ b/kmymoney2/mymoney/storage/imymoneystorage.cpp @@ -20,6 +20,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "imymoneystorage.h" bool MyMoneyFileBitArray::testBit(uint index) const diff --git a/kmymoney2/mymoney/storage/imymoneystorageformat.cpp b/kmymoney2/mymoney/storage/imymoneystorageformat.cpp index bc3bbb2..011c921 100644 --- a/kmymoney2/mymoney/storage/imymoneystorageformat.cpp +++ b/kmymoney2/mymoney/storage/imymoneystorageformat.cpp @@ -20,6 +20,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "imymoneystorageformat.h" IMyMoneyStorageFormat::IMyMoneyStorageFormat() diff --git a/kmymoney2/mymoney/storage/mymoneydatabasemgr.cpp b/kmymoney2/mymoney/storage/mymoneydatabasemgr.cpp index 555ce4d..4386f63 100644 --- a/kmymoney2/mymoney/storage/mymoneydatabasemgr.cpp +++ b/kmymoney2/mymoney/storage/mymoneydatabasemgr.cpp @@ -14,6 +14,11 @@ * (at your option) any later version. * * * ***************************************************************************/ + +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include diff --git a/kmymoney2/mymoney/storage/mymoneydatabasemgrtest.cpp b/kmymoney2/mymoney/storage/mymoneydatabasemgrtest.cpp index 82b2cd1..dd8c6e8 100644 --- a/kmymoney2/mymoney/storage/mymoneydatabasemgrtest.cpp +++ b/kmymoney2/mymoney/storage/mymoneydatabasemgrtest.cpp @@ -14,6 +14,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "mymoneydatabasemgrtest.h" #include #include diff --git a/kmymoney2/mymoney/storage/mymoneymaptest.cpp b/kmymoney2/mymoney/storage/mymoneymaptest.cpp index 123fcc8..3e90376 100644 --- a/kmymoney2/mymoney/storage/mymoneymaptest.cpp +++ b/kmymoney2/mymoney/storage/mymoneymaptest.cpp @@ -14,6 +14,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "mymoneymaptest.h" #include diff --git a/kmymoney2/mymoney/storage/mymoneyseqaccessmgr.cpp b/kmymoney2/mymoney/storage/mymoneyseqaccessmgr.cpp index fce4af1..92db207 100644 --- a/kmymoney2/mymoney/storage/mymoneyseqaccessmgr.cpp +++ b/kmymoney2/mymoney/storage/mymoneyseqaccessmgr.cpp @@ -17,6 +17,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include "mymoneyseqaccessmgr.h" #include "../mymoneytransactionfilter.h" diff --git a/kmymoney2/mymoney/storage/mymoneyseqaccessmgrtest.cpp b/kmymoney2/mymoney/storage/mymoneyseqaccessmgrtest.cpp index e64e0b5..c2f48cf 100644 --- a/kmymoney2/mymoney/storage/mymoneyseqaccessmgrtest.cpp +++ b/kmymoney2/mymoney/storage/mymoneyseqaccessmgrtest.cpp @@ -14,6 +14,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "mymoneyseqaccessmgrtest.h" #include diff --git a/kmymoney2/mymoney/storage/mymoneystorageanon.cpp b/kmymoney2/mymoney/storage/mymoneystorageanon.cpp index bcfedcb..a639bda 100644 --- a/kmymoney2/mymoney/storage/mymoneystorageanon.cpp +++ b/kmymoney2/mymoney/storage/mymoneystorageanon.cpp @@ -21,7 +21,9 @@ * * ***************************************************************************/ -#include "config.h" +#ifdef HAVE_CONFIG_H +#include +#endif // ---------------------------------------------------------------------------- // QT Includes @@ -33,8 +35,6 @@ // ---------------------------------------------------------------------------- // KDE Includes -#include "kdecompat.h" - // ---------------------------------------------------------------------------- // Project Includes diff --git a/kmymoney2/mymoney/storage/mymoneystoragedump.cpp b/kmymoney2/mymoney/storage/mymoneystoragedump.cpp index 6dd8beb..f9c6b43 100644 --- a/kmymoney2/mymoney/storage/mymoneystoragedump.cpp +++ b/kmymoney2/mymoney/storage/mymoneystoragedump.cpp @@ -20,6 +20,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif + // ---------------------------------------------------------------------------- // QT Includes diff --git a/kmymoney2/mymoney/storage/mymoneystoragesql.cpp b/kmymoney2/mymoney/storage/mymoneystoragesql.cpp index fd4abe6..5a9dc95 100644 --- a/kmymoney2/mymoney/storage/mymoneystoragesql.cpp +++ b/kmymoney2/mymoney/storage/mymoneystoragesql.cpp @@ -16,6 +16,10 @@ * * ***************************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include diff --git a/kmymoney2/mymoney/storage/mymoneystoragesql.h b/kmymoney2/mymoney/storage/mymoneystoragesql.h index 6bf7289..ba4f279 100644 --- a/kmymoney2/mymoney/storage/mymoneystoragesql.h +++ b/kmymoney2/mymoney/storage/mymoneystoragesql.h @@ -28,22 +28,21 @@ class TQIODevice; // ---------------------------------------------------------------------------- // Project Includes -#include "imymoneystorageformat.h" -#include "../mymoneyinstitution.h" -#include "../mymoneypayee.h" -#include "../mymoneyaccount.h" -#include "../mymoneytransaction.h" -#include "../mymoneysplit.h" -#include "../mymoneyscheduled.h" -#include "../mymoneysecurity.h" -#include "../mymoneyprice.h" -#include "../mymoneyreport.h" -#include "../mymoneybudget.h" -#include "../mymoneyfile.h" -#include "../mymoneykeyvaluecontainer.h" -#include "mymoneymap.h" -#include "../mymoneymoney.h" -#include "../mymoneytransactionfilter.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include // This is a convenience functor to make it easier to use STL algorithms // It will return false if the MyMoneyTransaction DOES match the filter. diff --git a/kmymoney2/mymoney/storage/mymoneystoragexml.cpp b/kmymoney2/mymoney/storage/mymoneystoragexml.cpp index 2f1d67e..3ec9cfd 100644 --- a/kmymoney2/mymoney/storage/mymoneystoragexml.cpp +++ b/kmymoney2/mymoney/storage/mymoneystoragexml.cpp @@ -17,7 +17,9 @@ * * ***************************************************************************/ -#include "config.h" +#ifdef HAVE_CONFIG_H +#include +#endif // ---------------------------------------------------------------------------- // QT Includes @@ -30,7 +32,6 @@ // ---------------------------------------------------------------------------- // KDE Includes -#include "kdecompat.h" #include #include -- cgit v1.2.1