summaryrefslogtreecommitdiffstats
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-15 09:41:48 +0100
commitbe67c035c6cac00d31420dc9dd5bda4ad8869d02 (patch)
treeed55fcd584bcba3d809d9d2a40f11e37bb307010
parent115ee8d66c562ad3920a5105e598c48bb50dbaa6 (diff)
downloadkmymoney-be67c035.tar.gz
kmymoney-be67c035.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)
-rw-r--r--kmymoney2/Makefile.am2
-rw-r--r--kmymoney2/converter/mymoneygncreader.cpp5
-rw-r--r--kmymoney2/converter/mymoneyqifprofile.cpp4
-rw-r--r--kmymoney2/converter/mymoneyqifreader.cpp4
-rw-r--r--kmymoney2/converter/mymoneyqifwriter.cpp5
-rw-r--r--kmymoney2/converter/mymoneystatementreader.cpp4
-rw-r--r--kmymoney2/converter/mymoneytemplate.cpp4
-rw-r--r--kmymoney2/converter/webpricequote.cpp4
-rw-r--r--kmymoney2/dialogs/Makefile.am11
-rw-r--r--kmymoney2/dialogs/investactivities.cpp4
-rw-r--r--kmymoney2/dialogs/investtransactioneditor.cpp4
-rw-r--r--kmymoney2/dialogs/kaccountselectdlg.cpp4
-rw-r--r--kmymoney2/dialogs/kbackupdlg.cpp4
-rw-r--r--kmymoney2/dialogs/kbalancewarning.cpp4
-rw-r--r--kmymoney2/dialogs/kcategoryreassigndlg.cpp4
-rw-r--r--kmymoney2/dialogs/kchooseimportexportdlg.cpp5
-rw-r--r--kmymoney2/dialogs/kcsvprogressdlg.cpp5
-rw-r--r--kmymoney2/dialogs/kcurrencycalculator.cpp4
-rw-r--r--kmymoney2/dialogs/kcurrencycalculator.h2
-rw-r--r--kmymoney2/dialogs/kcurrencyeditdlg.cpp4
-rw-r--r--kmymoney2/dialogs/keditequityentrydlg.cpp4
-rw-r--r--kmymoney2/dialogs/keditloanwizard.cpp4
-rw-r--r--kmymoney2/dialogs/keditscheduledlg.cpp4
-rw-r--r--kmymoney2/dialogs/kendingbalancedlg.cpp4
-rw-r--r--kmymoney2/dialogs/kenterscheduledlg.cpp4
-rw-r--r--kmymoney2/dialogs/kequitypriceupdatedlg.cpp4
-rw-r--r--kmymoney2/dialogs/kexportdlg.cpp4
-rw-r--r--kmymoney2/dialogs/kfindtransactiondlg.cpp4
-rw-r--r--kmymoney2/dialogs/kgncimportoptionsdlg.cpp4
-rw-r--r--kmymoney2/dialogs/kgncpricesourcedlg.cpp4
-rw-r--r--kmymoney2/dialogs/kgpgkeyselectiondlg.cpp4
-rw-r--r--kmymoney2/dialogs/kimportdlg.cpp4
-rw-r--r--kmymoney2/dialogs/kmergetransactionsdlg.cpp4
-rw-r--r--kmymoney2/dialogs/kmymoneyfileinfodlg.cpp4
-rw-r--r--kmymoney2/dialogs/kmymoneypricedlg.cpp4
-rw-r--r--kmymoney2/dialogs/kmymoneysplittable.cpp4
-rw-r--r--kmymoney2/dialogs/knewbudgetdlg.cpp4
-rw-r--r--kmymoney2/dialogs/knewequityentrydlg.cpp3
-rw-r--r--kmymoney2/dialogs/knewfiledlg.cpp5
-rw-r--r--kmymoney2/dialogs/knewinvestmentwizard.cpp4
-rw-r--r--kmymoney2/dialogs/knewloanwizard.cpp4
-rw-r--r--kmymoney2/dialogs/konlinequoteconfigurationdlg.cpp4
-rw-r--r--kmymoney2/dialogs/kpayeereassigndlg.cpp4
-rw-r--r--kmymoney2/dialogs/kreconciledlg.cpp4
-rw-r--r--kmymoney2/dialogs/ksecuritylisteditor.cpp4
-rw-r--r--kmymoney2/dialogs/ksplittransactiondlg.cpp4
-rw-r--r--kmymoney2/dialogs/kstartdlg.cpp4
-rw-r--r--kmymoney2/dialogs/kstartdlg.h4
-rw-r--r--kmymoney2/dialogs/kupdatestockpricedlg.cpp4
-rw-r--r--kmymoney2/dialogs/kupdatestockpricedlg.h4
-rw-r--r--kmymoney2/dialogs/mymoneyqifprofileeditor.cpp6
-rw-r--r--kmymoney2/dialogs/settings/ksettingscolors.cpp4
-rw-r--r--kmymoney2/dialogs/settings/ksettingsfonts.cpp4
-rw-r--r--kmymoney2/dialogs/settings/ksettingsforecast.cpp4
-rw-r--r--kmymoney2/dialogs/settings/ksettingsgeneral.cpp4
-rw-r--r--kmymoney2/dialogs/settings/ksettingsgpg.cpp4
-rw-r--r--kmymoney2/dialogs/settings/ksettingshome.cpp4
-rw-r--r--kmymoney2/dialogs/settings/ksettingsonlinequotes.cpp4
-rw-r--r--kmymoney2/dialogs/settings/ksettingsplugins.cpp4
-rw-r--r--kmymoney2/dialogs/settings/ksettingsregister.cpp4
-rw-r--r--kmymoney2/dialogs/settings/ksettingsschedules.cpp4
-rw-r--r--kmymoney2/dialogs/tdeconfirmmanualenterdlg.cpp4
-rw-r--r--kmymoney2/dialogs/tderecentfileitem.cpp4
-rw-r--r--kmymoney2/dialogs/tdeselectdatabasedlg.cpp4
-rw-r--r--kmymoney2/dialogs/tdeselecttransactionsdlg.cpp4
-rw-r--r--kmymoney2/dialogs/transactioneditor.cpp4
-rw-r--r--kmymoney2/dialogs/transactionmatcher.cpp4
-rw-r--r--kmymoney2/kmymoney2.cpp4
-rw-r--r--kmymoney2/kmymoney2.h4
-rw-r--r--kmymoney2/kmymoneyglobalsettings.cpp4
-rw-r--r--kmymoney2/kmymoneyglobalsettings.h4
-rw-r--r--kmymoney2/kmymoneytest.cpp4
-rw-r--r--kmymoney2/kmymoneyutils.cpp4
-rw-r--r--kmymoney2/kstartuplogo.cpp4
-rw-r--r--kmymoney2/mymoney/mymoneyaccount.cpp4
-rw-r--r--kmymoney2/mymoney/mymoneyaccount.h8
-rw-r--r--kmymoney2/mymoney/mymoneyaccounttest.cpp4
-rw-r--r--kmymoney2/mymoney/mymoneybudget.h4
-rw-r--r--kmymoney2/mymoney/mymoneycategory.cpp4
-rw-r--r--kmymoney2/mymoney/mymoneyexception.cpp4
-rw-r--r--kmymoney2/mymoney/mymoneyexception.h4
-rw-r--r--kmymoney2/mymoney/mymoneyexceptiontest.cpp4
-rw-r--r--kmymoney2/mymoney/mymoneyfile.cpp6
-rw-r--r--kmymoney2/mymoney/mymoneyfile.h4
-rw-r--r--kmymoney2/mymoney/mymoneyfiletest.cpp4
-rw-r--r--kmymoney2/mymoney/mymoneyfinancialcalculator.cpp5
-rw-r--r--kmymoney2/mymoney/mymoneyfinancialcalculator.h4
-rw-r--r--kmymoney2/mymoney/mymoneyfinancialcalculatortest.cpp5
-rw-r--r--kmymoney2/mymoney/mymoneyforecast.h10
-rw-r--r--kmymoney2/mymoney/mymoneyforecasttest.cpp4
-rw-r--r--kmymoney2/mymoney/mymoneyinstitution.cpp4
-rw-r--r--kmymoney2/mymoney/mymoneyinstitution.h10
-rw-r--r--kmymoney2/mymoney/mymoneyinstitutiontest.cpp4
-rw-r--r--kmymoney2/mymoney/mymoneyinvesttransaction.cpp4
-rw-r--r--kmymoney2/mymoney/mymoneyinvesttransaction.h2
-rw-r--r--kmymoney2/mymoney/mymoneykeyvaluecontainer.cpp4
-rw-r--r--kmymoney2/mymoney/mymoneykeyvaluecontainer.h4
-rw-r--r--kmymoney2/mymoney/mymoneykeyvaluecontainertest.cpp4
-rw-r--r--kmymoney2/mymoney/mymoneymoney.cpp4
-rw-r--r--kmymoney2/mymoney/mymoneymoney.h4
-rw-r--r--kmymoney2/mymoney/mymoneymoneytest.cpp4
-rw-r--r--kmymoney2/mymoney/mymoneyobject.cpp4
-rw-r--r--kmymoney2/mymoney/mymoneyobject.h4
-rw-r--r--kmymoney2/mymoney/mymoneyobjectcontainer.cpp4
-rw-r--r--kmymoney2/mymoney/mymoneyobjectcontainer.h4
-rw-r--r--kmymoney2/mymoney/mymoneyobjecttest.cpp4
-rw-r--r--kmymoney2/mymoney/mymoneyobserver.cpp4
-rw-r--r--kmymoney2/mymoney/mymoneyobserver.h4
-rw-r--r--kmymoney2/mymoney/mymoneypayee.cpp4
-rw-r--r--kmymoney2/mymoney/mymoneypayee.h4
-rw-r--r--kmymoney2/mymoney/mymoneypayeetest.cpp4
-rw-r--r--kmymoney2/mymoney/mymoneyprice.cpp4
-rw-r--r--kmymoney2/mymoney/mymoneyprice.h4
-rw-r--r--kmymoney2/mymoney/mymoneypricetest.cpp4
-rw-r--r--kmymoney2/mymoney/mymoneyreport.h4
-rw-r--r--kmymoney2/mymoney/mymoneyscheduled.cpp5
-rw-r--r--kmymoney2/mymoney/mymoneyscheduled.h8
-rw-r--r--kmymoney2/mymoney/mymoneyscheduletest.cpp5
-rw-r--r--kmymoney2/mymoney/mymoneysecurity.cpp4
-rw-r--r--kmymoney2/mymoney/mymoneysecurity.h4
-rw-r--r--kmymoney2/mymoney/mymoneysecuritytest.cpp4
-rw-r--r--kmymoney2/mymoney/mymoneysplit.cpp4
-rw-r--r--kmymoney2/mymoney/mymoneysplit.h12
-rw-r--r--kmymoney2/mymoney/mymoneysplittest.cpp4
-rw-r--r--kmymoney2/mymoney/mymoneystatement.cpp5
-rw-r--r--kmymoney2/mymoney/mymoneystatement.h4
-rw-r--r--kmymoney2/mymoney/mymoneysubject.cpp4
-rw-r--r--kmymoney2/mymoney/mymoneytransaction.cpp4
-rw-r--r--kmymoney2/mymoney/mymoneytransaction.h12
-rw-r--r--kmymoney2/mymoney/mymoneytransactionfilter.cpp4
-rw-r--r--kmymoney2/mymoney/mymoneytransactionfilter.h4
-rw-r--r--kmymoney2/mymoney/mymoneytransactiontest.cpp4
-rw-r--r--kmymoney2/mymoney/mymoneyutils.cpp4
-rw-r--r--kmymoney2/mymoney/mymoneyutils.h4
-rw-r--r--kmymoney2/mymoney/storage/Makefile.am4
-rw-r--r--kmymoney2/mymoney/storage/imymoneyserialize.cpp4
-rw-r--r--kmymoney2/mymoney/storage/imymoneyserialize.h16
-rw-r--r--kmymoney2/mymoney/storage/imymoneystorage.cpp4
-rw-r--r--kmymoney2/mymoney/storage/imymoneystorageformat.cpp4
-rw-r--r--kmymoney2/mymoney/storage/mymoneydatabasemgr.cpp5
-rw-r--r--kmymoney2/mymoney/storage/mymoneydatabasemgrtest.cpp4
-rw-r--r--kmymoney2/mymoney/storage/mymoneymaptest.cpp4
-rw-r--r--kmymoney2/mymoney/storage/mymoneyseqaccessmgr.cpp4
-rw-r--r--kmymoney2/mymoney/storage/mymoneyseqaccessmgrtest.cpp4
-rw-r--r--kmymoney2/mymoney/storage/mymoneystorageanon.cpp6
-rw-r--r--kmymoney2/mymoney/storage/mymoneystoragedump.cpp4
-rw-r--r--kmymoney2/mymoney/storage/mymoneystoragesql.cpp4
-rw-r--r--kmymoney2/mymoney/storage/mymoneystoragesql.h31
-rw-r--r--kmymoney2/mymoney/storage/mymoneystoragexml.cpp5
-rw-r--r--kmymoney2/plugins/importinterface.cpp4
-rw-r--r--kmymoney2/plugins/importinterface.h4
-rw-r--r--kmymoney2/plugins/interfaces/kmmimportinterface.cpp4
-rw-r--r--kmymoney2/plugins/interfaces/kmmimportinterface.h4
-rw-r--r--kmymoney2/plugins/interfaces/kmmstatementinterface.cpp4
-rw-r--r--kmymoney2/plugins/interfaces/kmmstatementinterface.h4
-rw-r--r--kmymoney2/plugins/interfaces/kmmviewinterface.cpp4
-rw-r--r--kmymoney2/plugins/interfaces/kmmviewinterface.h4
-rw-r--r--kmymoney2/plugins/kmymoneyplugin.cpp4
-rw-r--r--kmymoney2/plugins/kmymoneyplugin.h4
-rw-r--r--kmymoney2/plugins/ofximport/dialogs/kofxdirectconnectdlg.cpp2
-rw-r--r--kmymoney2/plugins/ofximport/dialogs/kofxdirectconnectdlg.h4
-rw-r--r--kmymoney2/plugins/ofximport/dialogs/mymoneyofxconnector.cpp2
-rw-r--r--kmymoney2/plugins/ofximport/dialogs/mymoneyofxconnector.h4
-rw-r--r--kmymoney2/plugins/ofximport/ofximporterplugin.cpp4
-rw-r--r--kmymoney2/plugins/pluginloader.cpp4
-rw-r--r--kmymoney2/plugins/pluginloader.h4
-rw-r--r--kmymoney2/plugins/statementinterface.cpp4
-rw-r--r--kmymoney2/plugins/statementinterface.h4
-rw-r--r--kmymoney2/plugins/viewinterface.cpp4
-rw-r--r--kmymoney2/plugins/viewinterface.h4
-rw-r--r--kmymoney2/reports/kreportchartview.cpp3
-rw-r--r--kmymoney2/reports/kreportchartview.h3
-rw-r--r--kmymoney2/reports/listtable.cpp4
-rw-r--r--kmymoney2/reports/objectinfotable.cpp4
-rw-r--r--kmymoney2/reports/pivotgrid.cpp4
-rw-r--r--kmymoney2/reports/pivotgridtest.cpp5
-rw-r--r--kmymoney2/reports/pivottable.cpp4
-rw-r--r--kmymoney2/reports/pivottabletest.cpp4
-rw-r--r--kmymoney2/reports/querytable.cpp4
-rw-r--r--kmymoney2/reports/querytabletest.cpp4
-rw-r--r--kmymoney2/reports/reportaccount.cpp4
-rw-r--r--kmymoney2/reports/reportstestcommon.cpp4
-rw-r--r--kmymoney2/views/kaccountsview.cpp4
-rw-r--r--kmymoney2/views/kbudgetview.cpp3
-rw-r--r--kmymoney2/views/kcategoriesview.cpp4
-rw-r--r--kmymoney2/views/kforecastview.cpp4
-rw-r--r--kmymoney2/views/kgloballedgerview.cpp5
-rw-r--r--kmymoney2/views/khomeview.cpp4
-rw-r--r--kmymoney2/views/kinstitutionsview.cpp4
-rw-r--r--kmymoney2/views/kinvestmentlistitem.cpp4
-rw-r--r--kmymoney2/views/kinvestmentview.cpp5
-rw-r--r--kmymoney2/views/kmymoneyfile.cpp4
-rw-r--r--kmymoney2/views/kmymoneytransaction.cpp4
-rw-r--r--kmymoney2/views/kmymoneyview.cpp2
-rw-r--r--kmymoney2/views/kmymoneyview.h4
-rw-r--r--kmymoney2/views/kpayeesview.cpp3
-rw-r--r--kmymoney2/views/kreportsview.cpp2
-rw-r--r--kmymoney2/views/kreportsview.h2
-rw-r--r--kmymoney2/views/kscheduledlistitem.cpp4
-rw-r--r--kmymoney2/views/kscheduledview.cpp4
-rw-r--r--kmymoney2/widgets/Makefile.am15
-rw-r--r--kmymoney2/widgets/kaccounttemplateselector.cpp4
-rw-r--r--kmymoney2/widgets/kbudgetvalues.cpp4
-rw-r--r--kmymoney2/widgets/kbudgetvalues.h2
-rw-r--r--kmymoney2/widgets/kguiutils.cpp4
-rw-r--r--kmymoney2/widgets/kmymoneyaccountcombo.cpp4
-rw-r--r--kmymoney2/widgets/kmymoneyaccountcompletion.cpp4
-rw-r--r--kmymoney2/widgets/kmymoneyaccountcompletion.h2
-rw-r--r--kmymoney2/widgets/kmymoneyaccountselector.cpp4
-rw-r--r--kmymoney2/widgets/kmymoneyaccounttree.cpp4
-rw-r--r--kmymoney2/widgets/kmymoneyaccounttreebase.cpp4
-rw-r--r--kmymoney2/widgets/kmymoneyaccounttreebudget.cpp4
-rw-r--r--kmymoney2/widgets/kmymoneyaccounttreebudget.h4
-rw-r--r--kmymoney2/widgets/kmymoneyaccounttreeforecast.cpp4
-rw-r--r--kmymoney2/widgets/kmymoneyaccounttreeforecast.h4
-rw-r--r--kmymoney2/widgets/kmymoneybriefschedule.cpp4
-rw-r--r--kmymoney2/widgets/kmymoneycalculator.cpp4
-rw-r--r--kmymoney2/widgets/kmymoneycalendar.cpp6
-rw-r--r--kmymoney2/widgets/kmymoneycalendar.h2
-rw-r--r--kmymoney2/widgets/kmymoneycategory.cpp4
-rw-r--r--kmymoney2/widgets/kmymoneycategory.h1
-rw-r--r--kmymoney2/widgets/kmymoneychecklistitem.cpp4
-rw-r--r--kmymoney2/widgets/kmymoneycombo.cpp4
-rw-r--r--kmymoney2/widgets/kmymoneycompletion.cpp4
-rw-r--r--kmymoney2/widgets/kmymoneycurrencyselector.cpp4
-rw-r--r--kmymoney2/widgets/kmymoneydateinput.cpp6
-rw-r--r--kmymoney2/widgets/kmymoneydatetbl.cpp6
-rw-r--r--kmymoney2/widgets/kmymoneydatetbl.h2
-rw-r--r--kmymoney2/widgets/kmymoneyedit.cpp4
-rw-r--r--kmymoney2/widgets/kmymoneyedit.h2
-rw-r--r--kmymoney2/widgets/kmymoneyforecastlistviewitem.cpp4
-rw-r--r--kmymoney2/widgets/kmymoneygpgconfig.cpp4
-rw-r--r--kmymoney2/widgets/kmymoneylineedit.cpp4
-rw-r--r--kmymoney2/widgets/kmymoneylistviewitem.cpp4
-rw-r--r--kmymoney2/widgets/kmymoneyonlinequoteconfig.cpp4
-rw-r--r--kmymoney2/widgets/kmymoneypriceview.cpp4
-rw-r--r--kmymoney2/widgets/kmymoneyscheduledcalendar.cpp4
-rw-r--r--kmymoney2/widgets/kmymoneyscheduleddatetbl.cpp5
-rw-r--r--kmymoney2/widgets/kmymoneyselector.cpp4
-rw-r--r--kmymoney2/widgets/kmymoneytitlelabel.cpp4
-rw-r--r--kmymoney2/widgets/kmymoneywizard.cpp4
-rw-r--r--kmymoney2/widgets/register.cpp4
-rw-r--r--kmymoney2/widgets/registeritem.cpp4
-rw-r--r--kmymoney2/widgets/registersearchline.cpp4
-rw-r--r--kmymoney2/widgets/scheduledtransaction.cpp4
-rw-r--r--kmymoney2/widgets/selectedtransaction.cpp4
-rw-r--r--kmymoney2/widgets/stdtransactiondownloaded.cpp4
-rw-r--r--kmymoney2/widgets/stdtransactionmatched.cpp4
-rw-r--r--kmymoney2/widgets/tdelistviewsearchline.cpp4
-rw-r--r--kmymoney2/widgets/transaction.cpp4
-rw-r--r--kmymoney2/widgets/transactioneditorcontainer.cpp4
-rw-r--r--kmymoney2/widgets/transactionform.cpp4
-rw-r--r--kmymoney2/widgets/transactionform.h3
-rw-r--r--kmymoney2/wizards/newaccountwizard/knewaccountwizard.cpp4
-rw-r--r--kmymoney2/wizards/newuserwizard/knewuserwizard.cpp4
-rw-r--r--kmymoney2/wizards/wizardpages/accounts.cpp4
-rw-r--r--kmymoney2/wizards/wizardpages/currency.cpp4
-rw-r--r--kmymoney2/wizards/wizardpages/userinfo.cpp4
-rw-r--r--libkdchart/KDChart.cpp5
-rw-r--r--libkdchart/KDChartAreaPainter.cpp5
-rw-r--r--libkdchart/KDChartAxesPainter.cpp5
-rw-r--r--libkdchart/KDChartAxisParams.cpp5
-rw-r--r--libkdchart/KDChartAxisParamsWrapper.cpp4
-rw-r--r--libkdchart/KDChartBWPainter.cpp5
-rw-r--r--libkdchart/KDChartBarPainter.cpp4
-rw-r--r--libkdchart/KDChartBaseSeries.cpp3
-rw-r--r--libkdchart/KDChartCustomBox.cpp5
-rw-r--r--libkdchart/KDChartCustomBoxWrapper.cpp4
-rw-r--r--libkdchart/KDChartDataIntern.cpp5
-rw-r--r--libkdchart/KDChartEnums.cpp4
-rw-r--r--libkdchart/KDChartHiLoPainter.cpp5
-rw-r--r--libkdchart/KDChartLinesPainter.cpp5
-rw-r--r--libkdchart/KDChartObjectFactory.cpp4
-rw-r--r--libkdchart/KDChartPainter.cpp5
-rw-r--r--libkdchart/KDChartParams.cpp5
-rw-r--r--libkdchart/KDChartParamsWrapper.cpp4
-rw-r--r--libkdchart/KDChartParams_frame.cpp4
-rw-r--r--libkdchart/KDChartParams_io.cpp5
-rw-r--r--libkdchart/KDChartPiePainter.cpp5
-rw-r--r--libkdchart/KDChartPlaneSeries.cpp3
-rw-r--r--libkdchart/KDChartPolarPainter.cpp5
-rw-r--r--libkdchart/KDChartPropertySet.cpp4
-rw-r--r--libkdchart/KDChartRingPainter.cpp5
-rw-r--r--libkdchart/KDChartSeriesCollection.cpp3
-rw-r--r--libkdchart/KDChartTableBase.cpp5
-rw-r--r--libkdchart/KDChartTableDataWrapper.cpp4
-rw-r--r--libkdchart/KDChartTextPiece.cpp5
-rw-r--r--libkdchart/KDChartVectorSeries.cpp4
-rw-r--r--libkdchart/KDChartVectorTable.cpp3
-rw-r--r--libkdchart/KDChartWidget.cpp5
-rw-r--r--libkdchart/KDChartWrapperFactory.cpp4
-rw-r--r--libkdchart/KDDrawText.cpp5
-rw-r--r--libkdchart/KDFrame.cpp4
-rw-r--r--libkdchart/KDFrameProfileSection.cpp5
-rw-r--r--libkdchart/KDXMLTools.cpp5
-rw-r--r--libkgpgfile/kgpgfile.cpp2
296 files changed, 1031 insertions, 254 deletions
diff --git a/kmymoney2/Makefile.am b/kmymoney2/Makefile.am
index e00baab..75c76b4 100644
--- a/kmymoney2/Makefile.am
+++ b/kmymoney2/Makefile.am
@@ -21,7 +21,7 @@ $(top_builddir)/kmymoney/kmymoneysettings.h: kmymoneysettings.h
kde_kcfg_DATA = kmymoney2.kcfg
instdir=$(includedir)/kmymoney
-inst_HEADERS = export.h kmymoneyutils.h kmymoneyglobalsettings.h
+inst_HEADERS = export.h kmymoneyutils.h kmymoneyglobalsettings.h kmymoneysettings.h
noinst_HEADERS = kmymoney2.h kstartuplogo.h
install-data-local:
diff --git a/kmymoney2/converter/mymoneygncreader.cpp b/kmymoney2/converter/mymoneygncreader.cpp
index dcf7d56..14d7b03 100644
--- a/kmymoney2/converter/mymoneygncreader.cpp
+++ b/kmymoney2/converter/mymoneygncreader.cpp
@@ -20,6 +20,10 @@ email : mte@users.sourceforge.net
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
#include <tqfile.h>
@@ -44,7 +48,6 @@ email : mte@users.sourceforge.net
// Project Includes
#include "mymoneygncreader.h"
#ifndef _GNCFILEANON
- #include "config.h"
#include "../mymoney/storage/imymoneystorage.h"
#include "../kmymoneyutils.h"
#include "../mymoney/mymoneyfile.h"
diff --git a/kmymoney2/converter/mymoneyqifprofile.cpp b/kmymoney2/converter/mymoneyqifprofile.cpp
index 803aa97..a38b687 100644
--- a/kmymoney2/converter/mymoneyqifprofile.cpp
+++ b/kmymoney2/converter/mymoneyqifprofile.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/converter/mymoneyqifreader.cpp b/kmymoney2/converter/mymoneyqifreader.cpp
index a656da1..9f68d85 100644
--- a/kmymoney2/converter/mymoneyqifreader.cpp
+++ b/kmymoney2/converter/mymoneyqifreader.cpp
@@ -21,6 +21,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <iostream>
// ----------------------------------------------------------------------------
diff --git a/kmymoney2/converter/mymoneyqifwriter.cpp b/kmymoney2/converter/mymoneyqifwriter.cpp
index b9e3e9f..4a519d6 100644
--- a/kmymoney2/converter/mymoneyqifwriter.cpp
+++ b/kmymoney2/converter/mymoneyqifwriter.cpp
@@ -19,6 +19,11 @@
* (at your option) any later version. *
* *
***************************************************************************/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Headers
diff --git a/kmymoney2/converter/mymoneystatementreader.cpp b/kmymoney2/converter/mymoneystatementreader.cpp
index 9edcc09..6b36888 100644
--- a/kmymoney2/converter/mymoneystatementreader.cpp
+++ b/kmymoney2/converter/mymoneystatementreader.cpp
@@ -21,6 +21,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <typeinfo>
// ----------------------------------------------------------------------------
diff --git a/kmymoney2/converter/mymoneytemplate.cpp b/kmymoney2/converter/mymoneytemplate.cpp
index fdf9cc9..a1c3f41 100644
--- a/kmymoney2/converter/mymoneytemplate.cpp
+++ b/kmymoney2/converter/mymoneytemplate.cpp
@@ -15,7 +15,9 @@
* *
***************************************************************************/
-#include "kdecompat.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/converter/webpricequote.cpp b/kmymoney2/converter/webpricequote.cpp
index dddf231..76ea53e 100644
--- a/kmymoney2/converter/webpricequote.cpp
+++ b/kmymoney2/converter/webpricequote.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Headers
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
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
diff --git a/kmymoney2/kmymoney2.h b/kmymoney2/kmymoney2.h
index 0240c18..4c03de1 100644
--- a/kmymoney2/kmymoney2.h
+++ b/kmymoney2/kmymoney2.h
@@ -16,10 +16,6 @@
#ifndef KMYMONEY2_H
#define KMYMONEY2_H
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/kmymoneyglobalsettings.cpp b/kmymoney2/kmymoneyglobalsettings.cpp
index ee5d5ae..dd8e36b 100644
--- a/kmymoney2/kmymoneyglobalsettings.cpp
+++ b/kmymoney2/kmymoneyglobalsettings.cpp
@@ -14,6 +14,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/kmymoneyglobalsettings.h b/kmymoney2/kmymoneyglobalsettings.h
index 6ef9c1b..9c5251a 100644
--- a/kmymoney2/kmymoneyglobalsettings.h
+++ b/kmymoney2/kmymoneyglobalsettings.h
@@ -17,10 +17,6 @@
#ifndef KMYMONEYGLOBALSETTINGS_H
#define KMYMONEYGLOBALSETTINGS_H
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/kmymoneytest.cpp b/kmymoney2/kmymoneytest.cpp
index 64cff53..e42e142 100644
--- a/kmymoney2/kmymoneytest.cpp
+++ b/kmymoney2/kmymoneytest.cpp
@@ -14,7 +14,9 @@
* *
***************************************************************************/
-#include "config.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <iostream>
#include <string>
diff --git a/kmymoney2/kmymoneyutils.cpp b/kmymoney2/kmymoneyutils.cpp
index 7540d50..59386a8 100644
--- a/kmymoney2/kmymoneyutils.cpp
+++ b/kmymoney2/kmymoneyutils.cpp
@@ -20,6 +20,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/kstartuplogo.cpp b/kmymoney2/kstartuplogo.cpp
index 84f734f..547e751 100644
--- a/kmymoney2/kstartuplogo.cpp
+++ b/kmymoney2/kstartuplogo.cpp
@@ -14,7 +14,9 @@
* *
***************************************************************************/
-#include <kdecompat.h>
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
// ----------------------------------------------------------------------------
// QT Includes
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 <config.h>
+#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 <config.h>
-#endif
-
// ----------------------------------------------------------------------------
// QT Includes
@@ -34,14 +30,14 @@
// ----------------------------------------------------------------------------
// Project Includes
+#include <kmymoney/export.h>
#include <kmymoney/mymoneymoney.h>
#include <kmymoney/mymoneyobject.h>
#include <kmymoney/mymoneykeyvaluecontainer.h>
#include <kmymoney/mymoneysecurity.h>
+#include <kmymoney/mymoneyutils.h>
#include <kmymoney2/views/kmymoneytransaction.h>
#include <kmymoney2/mymoney/mymoneysplit.h>
-#include <kmymoney/export.h>
-#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 <config.h>
+#endif
+
#include "mymoneyaccounttest.h"
#include <kmymoney/mymoneyexception.h>
#include <kmymoney/mymoneysplit.h>
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 <config.h>
-#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 <config.h>
+#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 <config.h>
+#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 <config.h>
-#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 <config.h>
+#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 <config.h>
+#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 <config.h>
-#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 <config.h>
+#endif
+
#include "mymoneyfiletest.h"
#include <iostream>
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 <math.h>
-#include <stdio.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
+#include <math.h>
+#include <stdio.h>
+
// ----------------------------------------------------------------------------
// 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 <config.h>
-#endif
-
#include <cmath>
// ----------------------------------------------------------------------------
// 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 <config.h>
+#endif
+
#include <iostream>
#include <math.h>
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 <config.h>
-#endif
-
// ----------------------------------------------------------------------------
// QT Includes
@@ -32,12 +28,12 @@
// ----------------------------------------------------------------------------
// Project Includes
-#include <kmymoney/mymoneyobject.h>
+#include <kmymoney/export.h>
#include <kmymoney/mymoneyaccount.h>
+#include <kmymoney/mymoneybudget.h>
#include <kmymoney/mymoneymoney.h>
+#include <kmymoney/mymoneyobject.h>
#include <kmymoney/mymoneyscheduled.h>
-#include <kmymoney/export.h>
-#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 <config.h>
+#endif
+
#include "mymoneyforecasttest.h"
#include <iostream>
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 <config.h>
+#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 <config.h>
-#endif
-
// ----------------------------------------------------------------------------
// QT Includes
@@ -32,10 +28,10 @@
// ----------------------------------------------------------------------------
// Project Includes
-#include "mymoneyutils.h"
-#include <kmymoney/mymoneyobject.h>
-#include <kmymoney/mymoneykeyvaluecontainer.h>
#include <kmymoney/export.h>
+#include <kmymoney/mymoneykeyvaluecontainer.h>
+#include <kmymoney/mymoneyobject.h>
+#include <kmymoney/mymoneyutils.h>
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 <config.h>
+#endif
+
#include "mymoneyinstitutiontest.h"
#include <kmymoney/mymoneyexception.h>
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 <config.h>
+#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 <kmymoney/mymoneytransaction.h>
#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 <config.h>
+#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 <config.h>
-#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 <config.h>
+#endif
+
#include "mymoneykeyvaluecontainertest.h"
#include <kmymoney/mymoneyexception.h>
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 <config.h>
+#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 <stdlib.h>
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#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 <config.h>
+#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 <config.h>
+#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 <config.h>
-#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 <config.h>
+#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 <config.h>
-#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 <config.h>
+#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 <config.h>
+#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 <config.h>
-#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 <config.h>
+#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 <config.h>
-#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 <config.h>
+#endif
+
#include "mymoneypayeetest.h"
#include <iostream>
#include <fstream>
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 <config.h>
+#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 <config.h>
-#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 <config.h>
+#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 <config.h>
-#endif
-
// ----------------------------------------------------------------------------
// QT Includes
#include <tqmap.h>
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 <config.h>
+#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 <config.h>
-#endif
-
// ----------------------------------------------------------------------------
// QT Includes
@@ -34,10 +30,10 @@
// ----------------------------------------------------------------------------
// Project Includes
-#include "mymoneytransaction.h"
-#include "mymoneyaccount.h"
#include <kmymoney/export.h>
+#include <kmymoney/mymoneyaccount.h>
#include <kmymoney/mymoneyobject.h>
+#include <kmymoney/mymoneytransaction.h>
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 <config.h>
+#endif
+
// Include internationalization
#include <tdelocale.h>
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 <config.h>
+#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 <config.h>
-#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 <config.h>
+#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 <config.h>
+#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 <config.h>
-#endif
-
// ----------------------------------------------------------------------------
// QT Includes
@@ -36,12 +32,12 @@
// ----------------------------------------------------------------------------
// Project Includes
-#include "mymoneyexception.h"
-#include "mymoneyutils.h"
-#include "mymoneymoney.h"
#include <kmymoney/export.h>
-#include <kmymoney/mymoneyobject.h>
+#include <kmymoney/mymoneyexception.h>
#include <kmymoney/mymoneykeyvaluecontainer.h>
+#include <kmymoney/mymoneymoney.h>
+#include <kmymoney/mymoneyobject.h>
+#include <kmymoney/mymoneyutils.h>
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 <config.h>
+#endif
+
#include "mymoneysplittest.h"
#include <kmymoney/mymoneyexception.h>
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 <config.h>
+#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 <config.h>
-#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 <config.h>
+#endif
+
#include "mymoneysubject.h"
#include "mymoneyobserver.h"
#include <tqptrvector.h>
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 <config.h>
+#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 <config.h>
-#endif
-
// ----------------------------------------------------------------------------
// QT Includes
@@ -34,11 +30,11 @@
// ----------------------------------------------------------------------------
// Project Includes
-#include "mymoneyutils.h"
-#include "mymoneymoney.h"
-#include "mymoneykeyvaluecontainer.h"
-#include "mymoneysplit.h"
#include <kmymoney/export.h>
+#include <kmymoney/mymoneykeyvaluecontainer.h>
+#include <kmymoney/mymoneymoney.h>
+#include <kmymoney/mymoneysplit.h>
+#include <kmymoney/mymoneyutils.h>
/**
* 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 <config.h>
+#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 <config.h>
-#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 <config.h>
+#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 <config.h>
+#endif
+
#include <iostream>
#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 <config.h>
-#endif
-
#include <tqstring.h>
#include <tqdatetime.h>
#include <tqvaluelist.h>
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 <config.h>
+#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 <kmymoney/mymoneyutils.h>
-#include <kmymoney/mymoneyinstitution.h>
#include <kmymoney/mymoneyaccount.h>
-#include <kmymoney/mymoneytransaction.h>
+#include <kmymoney/mymoneybudget.h>
+#include <kmymoney/mymoneyinstitution.h>
#include <kmymoney/mymoneypayee.h>
-#include <kmymoney/mymoneyscheduled.h>
-#include <kmymoney/mymoneytransactionfilter.h>
-#include <kmymoney/mymoneysecurity.h>
#include <kmymoney/mymoneyprice.h>
#include <kmymoney/mymoneyreport.h>
-#include <kmymoney/mymoneybudget.h>
-#include "mymoneystoragesql.h"
+#include <kmymoney/mymoneyscheduled.h>
+#include <kmymoney/mymoneysecurity.h>
+#include <kmymoney/mymoneystoragesql.h>
+#include <kmymoney/mymoneytransaction.h>
+#include <kmymoney/mymoneytransactionfilter.h>
+#include <kmymoney/mymoneyutils.h>
/**
* @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 <config.h>
+#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 <config.h>
+#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 <config.h>
+#endif
+
#include <typeinfo>
#include <algorithm>
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 <config.h>
+#endif
+
#include "mymoneydatabasemgrtest.h"
#include <pwd.h>
#include <iostream>
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 <config.h>
+#endif
+
#include "mymoneymaptest.h"
#include <iostream>
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 <config.h>
+#endif
+
#include <typeinfo>
#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 <config.h>
+#endif
+
#include "mymoneyseqaccessmgrtest.h"
#include <iostream>
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 <config.h>
+#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 <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/mymoney/storage/mymoneystoragesql.cpp b/kmymoney2/mymoney/storage/mymoneystoragesql.cpp
index 17ac410..d1f56b2 100644
--- a/kmymoney2/mymoney/storage/mymoneystoragesql.cpp
+++ b/kmymoney2/mymoney/storage/mymoneystoragesql.cpp
@@ -16,6 +16,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <algorithm>
#include <numeric>
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 <kmymoney/imymoneystorageformat.h>
+#include <kmymoney/mymoneyaccount.h>
+#include <kmymoney/mymoneybudget.h>
+#include <kmymoney/mymoneyfile.h>
+#include <kmymoney/mymoneyinstitution.h>
+#include <kmymoney/mymoneykeyvaluecontainer.h>
+#include <kmymoney/mymoneymoney.h>
+#include <kmymoney/mymoneypayee.h>
+#include <kmymoney/mymoneyprice.h>
+#include <kmymoney/mymoneyreport.h>
+#include <kmymoney/mymoneysplit.h>
+#include <kmymoney/mymoneyscheduled.h>
+#include <kmymoney/mymoneysecurity.h>
+#include <kmymoney/mymoneytransaction.h>
+#include <kmymoney/mymoneytransactionfilter.h>
// 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 <config.h>
+#endif
// ----------------------------------------------------------------------------
// QT Includes
@@ -30,7 +32,6 @@
// ----------------------------------------------------------------------------
// KDE Includes
-#include "kdecompat.h"
#include <tdelocale.h>
#include <kdebug.h>
diff --git a/kmymoney2/plugins/importinterface.cpp b/kmymoney2/plugins/importinterface.cpp
index 6a4ab6b..505d26e 100644
--- a/kmymoney2/plugins/importinterface.cpp
+++ b/kmymoney2/plugins/importinterface.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/plugins/importinterface.h b/kmymoney2/plugins/importinterface.h
index b3d1657..69390d6 100644
--- a/kmymoney2/plugins/importinterface.h
+++ b/kmymoney2/plugins/importinterface.h
@@ -18,10 +18,6 @@
#ifndef IMPORTINTERFACE_H
#define IMPORTINTERFACE_H
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/plugins/interfaces/kmmimportinterface.cpp b/kmymoney2/plugins/interfaces/kmmimportinterface.cpp
index 041044e..bf549d4 100644
--- a/kmymoney2/plugins/interfaces/kmmimportinterface.cpp
+++ b/kmymoney2/plugins/interfaces/kmmimportinterface.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/plugins/interfaces/kmmimportinterface.h b/kmymoney2/plugins/interfaces/kmmimportinterface.h
index 0e2cacc..8875314 100644
--- a/kmymoney2/plugins/interfaces/kmmimportinterface.h
+++ b/kmymoney2/plugins/interfaces/kmmimportinterface.h
@@ -18,10 +18,6 @@
#ifndef KMMIMPORTINTERFACE_H
#define KMMIMPORTINTERFACE_H
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/plugins/interfaces/kmmstatementinterface.cpp b/kmymoney2/plugins/interfaces/kmmstatementinterface.cpp
index eead74b..48e2967 100644
--- a/kmymoney2/plugins/interfaces/kmmstatementinterface.cpp
+++ b/kmymoney2/plugins/interfaces/kmmstatementinterface.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/plugins/interfaces/kmmstatementinterface.h b/kmymoney2/plugins/interfaces/kmmstatementinterface.h
index 67f527c..b4fc5fa 100644
--- a/kmymoney2/plugins/interfaces/kmmstatementinterface.h
+++ b/kmymoney2/plugins/interfaces/kmmstatementinterface.h
@@ -18,10 +18,6 @@
#ifndef KMMSTATEMENTINTERFACE_H
#define KMMSTATEMENTINTERFACE_H
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/plugins/interfaces/kmmviewinterface.cpp b/kmymoney2/plugins/interfaces/kmmviewinterface.cpp
index b4ff102..51d4a7d 100644
--- a/kmymoney2/plugins/interfaces/kmmviewinterface.cpp
+++ b/kmymoney2/plugins/interfaces/kmmviewinterface.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/plugins/interfaces/kmmviewinterface.h b/kmymoney2/plugins/interfaces/kmmviewinterface.h
index 76436e7..0f2a6f5 100644
--- a/kmymoney2/plugins/interfaces/kmmviewinterface.h
+++ b/kmymoney2/plugins/interfaces/kmmviewinterface.h
@@ -18,10 +18,6 @@
#ifndef KMMVIEWINTERFACE_H
#define KMMVIEWINTERFACE_H
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/plugins/kmymoneyplugin.cpp b/kmymoney2/plugins/kmymoneyplugin.cpp
index 64d5b29..18430ab 100644
--- a/kmymoney2/plugins/kmymoneyplugin.cpp
+++ b/kmymoney2/plugins/kmymoneyplugin.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/plugins/kmymoneyplugin.h b/kmymoney2/plugins/kmymoneyplugin.h
index dda096b..bd8fa2b 100644
--- a/kmymoney2/plugins/kmymoneyplugin.h
+++ b/kmymoney2/plugins/kmymoneyplugin.h
@@ -18,10 +18,6 @@
#ifndef KMYMONEYPLUGIN_H
#define KMYMONEYPLUGIN_H
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/plugins/ofximport/dialogs/kofxdirectconnectdlg.cpp b/kmymoney2/plugins/ofximport/dialogs/kofxdirectconnectdlg.cpp
index 63e3aa5..1503cce 100644
--- a/kmymoney2/plugins/ofximport/dialogs/kofxdirectconnectdlg.cpp
+++ b/kmymoney2/plugins/ofximport/dialogs/kofxdirectconnectdlg.cpp
@@ -16,7 +16,7 @@
***************************************************************************/
#ifdef HAVE_CONFIG_H
-#include "config.h"
+#include <config.h>
#endif
// ----------------------------------------------------------------------------
diff --git a/kmymoney2/plugins/ofximport/dialogs/kofxdirectconnectdlg.h b/kmymoney2/plugins/ofximport/dialogs/kofxdirectconnectdlg.h
index 9caedc5..d410cf7 100644
--- a/kmymoney2/plugins/ofximport/dialogs/kofxdirectconnectdlg.h
+++ b/kmymoney2/plugins/ofximport/dialogs/kofxdirectconnectdlg.h
@@ -18,10 +18,6 @@
#ifndef KOFXDIRECTCONNECTDLG_H
#define KOFXDIRECTCONNECTDLG_H
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/plugins/ofximport/dialogs/mymoneyofxconnector.cpp b/kmymoney2/plugins/ofximport/dialogs/mymoneyofxconnector.cpp
index 1217d8a..261328c 100644
--- a/kmymoney2/plugins/ofximport/dialogs/mymoneyofxconnector.cpp
+++ b/kmymoney2/plugins/ofximport/dialogs/mymoneyofxconnector.cpp
@@ -16,7 +16,7 @@
***************************************************************************/
#ifdef HAVE_CONFIG_H
-#include "config.h"
+#include <config.h>
#endif
// ----------------------------------------------------------------------------
diff --git a/kmymoney2/plugins/ofximport/dialogs/mymoneyofxconnector.h b/kmymoney2/plugins/ofximport/dialogs/mymoneyofxconnector.h
index 70029ff..e96f0a7 100644
--- a/kmymoney2/plugins/ofximport/dialogs/mymoneyofxconnector.h
+++ b/kmymoney2/plugins/ofximport/dialogs/mymoneyofxconnector.h
@@ -18,10 +18,6 @@
#ifndef MYMONEYOFXCONNECTOR_H
#define MYMONEYOFXCONNECTOR_H
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
// ----------------------------------------------------------------------------
// Library Includes
diff --git a/kmymoney2/plugins/ofximport/ofximporterplugin.cpp b/kmymoney2/plugins/ofximport/ofximporterplugin.cpp
index 98454d1..6c5201f 100644
--- a/kmymoney2/plugins/ofximport/ofximporterplugin.cpp
+++ b/kmymoney2/plugins/ofximport/ofximporterplugin.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/plugins/pluginloader.cpp b/kmymoney2/plugins/pluginloader.cpp
index 7dbe31c..2c80e1f 100644
--- a/kmymoney2/plugins/pluginloader.cpp
+++ b/kmymoney2/plugins/pluginloader.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/plugins/pluginloader.h b/kmymoney2/plugins/pluginloader.h
index e449566..1396196 100644
--- a/kmymoney2/plugins/pluginloader.h
+++ b/kmymoney2/plugins/pluginloader.h
@@ -18,10 +18,6 @@
#ifndef PLUGINLOADER_H
#define PLUGINLOADER_H
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/plugins/statementinterface.cpp b/kmymoney2/plugins/statementinterface.cpp
index 0fd81ff..4037496 100644
--- a/kmymoney2/plugins/statementinterface.cpp
+++ b/kmymoney2/plugins/statementinterface.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/plugins/statementinterface.h b/kmymoney2/plugins/statementinterface.h
index 8be6a57..4d36d66 100644
--- a/kmymoney2/plugins/statementinterface.h
+++ b/kmymoney2/plugins/statementinterface.h
@@ -18,10 +18,6 @@
#ifndef STATEMENTINTERFACE_H
#define STATEMENTINTERFACE_H
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/plugins/viewinterface.cpp b/kmymoney2/plugins/viewinterface.cpp
index d1cf119..01188b0 100644
--- a/kmymoney2/plugins/viewinterface.cpp
+++ b/kmymoney2/plugins/viewinterface.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/plugins/viewinterface.h b/kmymoney2/plugins/viewinterface.h
index 2a0fa6d..3d6acaf 100644
--- a/kmymoney2/plugins/viewinterface.h
+++ b/kmymoney2/plugins/viewinterface.h
@@ -18,10 +18,6 @@
#ifndef VIEWINTERFACE_H
#define VIEWINTERFACE_H
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/reports/kreportchartview.cpp b/kmymoney2/reports/kreportchartview.cpp
index 208089f..cf2f432 100644
--- a/kmymoney2/reports/kreportchartview.cpp
+++ b/kmymoney2/reports/kreportchartview.cpp
@@ -16,8 +16,9 @@
***************************************************************************/
#ifdef HAVE_CONFIG_H
-#include "../../config.h"
+#include <config.h>
#endif
+
#ifdef HAVE_KDCHART
// ----------------------------------------------------------------------------
diff --git a/kmymoney2/reports/kreportchartview.h b/kmymoney2/reports/kreportchartview.h
index 70963f6..e3f3eff 100644
--- a/kmymoney2/reports/kreportchartview.h
+++ b/kmymoney2/reports/kreportchartview.h
@@ -19,9 +19,6 @@
#ifndef KREPORTCHARTVIEW_H
#define KREPORTCHARTVIEW_H
-#ifdef HAVE_CONFIG_H
-#include "../../config.h"
-#endif
#ifdef HAVE_KDCHART
// ----------------------------------------------------------------------------
diff --git a/kmymoney2/reports/listtable.cpp b/kmymoney2/reports/listtable.cpp
index 74ee403..a171e47 100644
--- a/kmymoney2/reports/listtable.cpp
+++ b/kmymoney2/reports/listtable.cpp
@@ -17,6 +17,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
#include <tqvaluelist.h>
diff --git a/kmymoney2/reports/objectinfotable.cpp b/kmymoney2/reports/objectinfotable.cpp
index 92baa2d..5f93729 100644
--- a/kmymoney2/reports/objectinfotable.cpp
+++ b/kmymoney2/reports/objectinfotable.cpp
@@ -17,6 +17,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
#include <tqvaluelist.h>
diff --git a/kmymoney2/reports/pivotgrid.cpp b/kmymoney2/reports/pivotgrid.cpp
index a0ba028..bc09339 100644
--- a/kmymoney2/reports/pivotgrid.cpp
+++ b/kmymoney2/reports/pivotgrid.cpp
@@ -16,6 +16,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
#include <tqlayout.h>
diff --git a/kmymoney2/reports/pivotgridtest.cpp b/kmymoney2/reports/pivotgridtest.cpp
index 3238de6..14a22b0 100644
--- a/kmymoney2/reports/pivotgridtest.cpp
+++ b/kmymoney2/reports/pivotgridtest.cpp
@@ -14,6 +14,11 @@
* (at your option) any later version. *
* *
***************************************************************************/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/*
#include <tqvaluelist.h>
#include <tqvaluevector.h>
diff --git a/kmymoney2/reports/pivottable.cpp b/kmymoney2/reports/pivottable.cpp
index 5be21bf..a85b44f 100644
--- a/kmymoney2/reports/pivottable.cpp
+++ b/kmymoney2/reports/pivottable.cpp
@@ -17,6 +17,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
#include <tqlayout.h>
diff --git a/kmymoney2/reports/pivottabletest.cpp b/kmymoney2/reports/pivottabletest.cpp
index ae91cd1..cb86a39 100644
--- a/kmymoney2/reports/pivottabletest.cpp
+++ b/kmymoney2/reports/pivottabletest.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <tqvaluelist.h>
#include <tqvaluevector.h>
#include <tqdom.h>
diff --git a/kmymoney2/reports/querytable.cpp b/kmymoney2/reports/querytable.cpp
index 84fee78..3c46d5c 100644
--- a/kmymoney2/reports/querytable.cpp
+++ b/kmymoney2/reports/querytable.cpp
@@ -23,6 +23,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
#include <tqvaluelist.h>
diff --git a/kmymoney2/reports/querytabletest.cpp b/kmymoney2/reports/querytabletest.cpp
index 52c71d8..458589d 100644
--- a/kmymoney2/reports/querytabletest.cpp
+++ b/kmymoney2/reports/querytabletest.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <tqvaluelist.h>
#include <tqvaluevector.h>
#include <tqfile.h>
diff --git a/kmymoney2/reports/reportaccount.cpp b/kmymoney2/reports/reportaccount.cpp
index c8ee493..684ffc8 100644
--- a/kmymoney2/reports/reportaccount.cpp
+++ b/kmymoney2/reports/reportaccount.cpp
@@ -16,6 +16,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/reports/reportstestcommon.cpp b/kmymoney2/reports/reportstestcommon.cpp
index 861966c..3175773 100644
--- a/kmymoney2/reports/reportstestcommon.cpp
+++ b/kmymoney2/reports/reportstestcommon.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <tqvaluelist.h>
#include <tqvaluevector.h>
#include <tqdom.h>
diff --git a/kmymoney2/views/kaccountsview.cpp b/kmymoney2/views/kaccountsview.cpp
index 24d60f2..fbd4806 100644
--- a/kmymoney2/views/kaccountsview.cpp
+++ b/kmymoney2/views/kaccountsview.cpp
@@ -14,6 +14,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/views/kbudgetview.cpp b/kmymoney2/views/kbudgetview.cpp
index 5a19879..e12cd28 100644
--- a/kmymoney2/views/kbudgetview.cpp
+++ b/kmymoney2/views/kbudgetview.cpp
@@ -15,6 +15,9 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/views/kcategoriesview.cpp b/kmymoney2/views/kcategoriesview.cpp
index 6f16f93..1cdd00e 100644
--- a/kmymoney2/views/kcategoriesview.cpp
+++ b/kmymoney2/views/kcategoriesview.cpp
@@ -20,6 +20,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/views/kforecastview.cpp b/kmymoney2/views/kforecastview.cpp
index f4c706b..260bfad 100644
--- a/kmymoney2/views/kforecastview.cpp
+++ b/kmymoney2/views/kforecastview.cpp
@@ -14,6 +14,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/views/kgloballedgerview.cpp b/kmymoney2/views/kgloballedgerview.cpp
index 5271ee4..8867485 100644
--- a/kmymoney2/views/kgloballedgerview.cpp
+++ b/kmymoney2/views/kgloballedgerview.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <typeinfo>
// ----------------------------------------------------------------------------
@@ -27,7 +31,6 @@
// ----------------------------------------------------------------------------
// KDE Includes
-#include "kdecompat.h"
#include <tdelocale.h>
#include <kcombobox.h>
#include <kpushbutton.h>
diff --git a/kmymoney2/views/khomeview.cpp b/kmymoney2/views/khomeview.cpp
index 4ffb626..11cc2a9 100644
--- a/kmymoney2/views/khomeview.cpp
+++ b/kmymoney2/views/khomeview.cpp
@@ -20,6 +20,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/views/kinstitutionsview.cpp b/kmymoney2/views/kinstitutionsview.cpp
index 5838d24..3c8adef 100644
--- a/kmymoney2/views/kinstitutionsview.cpp
+++ b/kmymoney2/views/kinstitutionsview.cpp
@@ -14,6 +14,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/views/kinvestmentlistitem.cpp b/kmymoney2/views/kinvestmentlistitem.cpp
index 79ad1e9..a26719a 100644
--- a/kmymoney2/views/kinvestmentlistitem.cpp
+++ b/kmymoney2/views/kinvestmentlistitem.cpp
@@ -20,6 +20,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/views/kinvestmentview.cpp b/kmymoney2/views/kinvestmentview.cpp
index 9b7f479..dbaf41a 100644
--- a/kmymoney2/views/kinvestmentview.cpp
+++ b/kmymoney2/views/kinvestmentview.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <typeinfo>
// ----------------------------------------------------------------------------
@@ -23,7 +27,6 @@
// ----------------------------------------------------------------------------
// KDE Includes
-#include "kdecompat.h"
#include <tdelocale.h>
// ----------------------------------------------------------------------------
diff --git a/kmymoney2/views/kmymoneyfile.cpp b/kmymoney2/views/kmymoneyfile.cpp
index 9f9e3ca..bf591c9 100644
--- a/kmymoney2/views/kmymoneyfile.cpp
+++ b/kmymoney2/views/kmymoneyfile.cpp
@@ -20,6 +20,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
/*
* This file is currently not used anymore, but kept here for reference purposes
*/
diff --git a/kmymoney2/views/kmymoneytransaction.cpp b/kmymoney2/views/kmymoneytransaction.cpp
index 373c55e..ff6e5c1 100644
--- a/kmymoney2/views/kmymoneytransaction.cpp
+++ b/kmymoney2/views/kmymoneytransaction.cpp
@@ -20,6 +20,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/views/kmymoneyview.cpp b/kmymoney2/views/kmymoneyview.cpp
index ba127b6..0862009 100644
--- a/kmymoney2/views/kmymoneyview.cpp
+++ b/kmymoney2/views/kmymoneyview.cpp
@@ -40,7 +40,7 @@
// ----------------------------------------------------------------------------
// KDE Includes
-#include "kdecompat.h"
+#include <tdeversion.h>
#include <tdefiledialog.h>
#include <tdeglobal.h>
diff --git a/kmymoney2/views/kmymoneyview.h b/kmymoney2/views/kmymoneyview.h
index b8b10b4..cf81fb1 100644
--- a/kmymoney2/views/kmymoneyview.h
+++ b/kmymoney2/views/kmymoneyview.h
@@ -14,10 +14,6 @@
* *
***************************************************************************/
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
#ifndef KMYMONEYVIEW_H
#define KMYMONEYVIEW_H
diff --git a/kmymoney2/views/kpayeesview.cpp b/kmymoney2/views/kpayeesview.cpp
index 4a2a67f..3412d66 100644
--- a/kmymoney2/views/kpayeesview.cpp
+++ b/kmymoney2/views/kpayeesview.cpp
@@ -21,6 +21,9 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/views/kreportsview.cpp b/kmymoney2/views/kreportsview.cpp
index 34d992b..fbadc58 100644
--- a/kmymoney2/views/kreportsview.cpp
+++ b/kmymoney2/views/kreportsview.cpp
@@ -25,8 +25,6 @@
#include <config.h>
#endif
-#include "kdecompat.h"
-
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/views/kreportsview.h b/kmymoney2/views/kreportsview.h
index 76eb0ae..7d373e6 100644
--- a/kmymoney2/views/kreportsview.h
+++ b/kmymoney2/views/kreportsview.h
@@ -23,8 +23,6 @@
#ifndef KREPORTSVIEW_H
#define KREPORTSVIEW_H
-#include "kdecompat.h"
-
// Some STL headers in GCC4.3 contain operator new. Memory checker mangles these
#ifdef _CHECK_MEMORY
#undef new
diff --git a/kmymoney2/views/kscheduledlistitem.cpp b/kmymoney2/views/kscheduledlistitem.cpp
index c3971e0..c96fab7 100644
--- a/kmymoney2/views/kscheduledlistitem.cpp
+++ b/kmymoney2/views/kscheduledlistitem.cpp
@@ -20,6 +20,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/views/kscheduledview.cpp b/kmymoney2/views/kscheduledview.cpp
index 5893f93..fc7f748 100644
--- a/kmymoney2/views/kscheduledview.cpp
+++ b/kmymoney2/views/kscheduledview.cpp
@@ -20,6 +20,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/widgets/Makefile.am b/kmymoney2/widgets/Makefile.am
index d6c91e9..e27f2b0 100644
--- a/kmymoney2/widgets/Makefile.am
+++ b/kmymoney2/widgets/Makefile.am
@@ -23,18 +23,18 @@ EXTRA_DIST = kmymoney.widgets kmymoneygpgconfigdecl.ui kmymoneyonlinequoteconfig
# but the file is included in the tar-ball. See also the separate target
# $(top_builddir)/kmymoney/xxx.h further down and the BUILT_SOURCES target.
instdir=$(includedir)/kmymoney
-inst_HEADERS = kmymoneydateinput.h kmymoneyedit.h kmymoneytitlelabel.h kmymoneyaccountselector.h kmymoneycategory.h kmymoneyaccounttreebase.h kmymoneyaccounttree.h kmymoneycurrencyselector.h kguiutils.h kmymoneywizard.h kmymoneyaccounttreebudget.h kmymoneyaccounttreeforecast.h kmymoneyaccountcombo.h register.h registeritem.h transaction.h scheduledtransaction.h stdtransactiondownloaded.h stdtransactionmatched.h selectedtransaction.h transactionform.h transactioneditorcontainer.h kmymoneylineedit.h kmymoneychecklistitem.h kmymoneylistviewitem.h kmymoneyforecastlistviewitem.h kmymoneyselector.h kmymoneyaccountcompletion.h kmymoneycompletion.h kmymoneycombo.h kbudgetvalues.h kaccounttemplateselector.h \
+inst_HEADERS = kmymoneydateinput.h kmymoneyedit.h kmymoneytitlelabel.h kmymoneyaccountselector.h kmymoneycategory.h kmymoneyaccounttreebase.h kmymoneyaccounttree.h kmymoneycurrencyselector.h kguiutils.h kmymoneywizard.h kmymoneyaccounttreebudget.h kmymoneyaccounttreeforecast.h kmymoneyaccountcombo.h register.h registeritem.h transaction.h scheduledtransaction.h stdtransactiondownloaded.h stdtransactionmatched.h selectedtransaction.h transactionform.h transactioneditorcontainer.h kmymoneylineedit.h kmymoneychecklistitem.h kmymoneylistviewitem.h kmymoneyforecastlistviewitem.h kmymoneyselector.h kmymoneyaccountcompletion.h kmymoneycompletion.h kmymoneycombo.h kbudgetvalues.h kbudgetvaluesdecl.h kaccounttemplateselector.h \
transactionsortoption.h
# include the widgets that are only available to KMyMoney here
-noinst_HEADERS = kbudgetvalues.h tdelistviewsearchline.h kmymoneyaccounttree.h \
- kmymoneyaccounttreebudget.h kmymoneyaccounttreeforecast.h kmymoneybriefschedule.h kmymoneycalculator.h kmymoneycalendar.h \
- kmymoneycategory.h kmymoneydatetbl.h kmymoneygpgconfig.h kmymoneyonlinequoteconfig.h \
+noinst_HEADERS = tdelistviewsearchline.h \
+ kmymoneybriefschedule.h kmymoneycalculator.h kmymoneycalendar.h \
+ kmymoneydatetbl.h kmymoneygpgconfig.h kmymoneyonlinequoteconfig.h \
kmymoneypriceview.h kmymoneyscheduledcalendar.h kmymoneyscheduleddatetbl.h \
kmymoneywizard_p.h registersearchline.h
# make sure, automatically generated files exist
-BUILT_SOURCES = settings $(top_builddir)/kmymoney/transactionsortoption.h mocs dialogs transactionsortoption.cpp kbudgetvaluesdecl.h kaccounttemplateselectordecl.h libkmymoney.la kmmwidgets.cpp
+BUILT_SOURCES = settings $(top_builddir)/kmymoney/transactionsortoption.h mocs dialogs transactionsortoption.cpp $(top_builddir)/kmymoney/kbudgetvaluesdecl.h kaccounttemplateselectordecl.h libkmymoney.la kmmwidgets.cpp
CLEANFILES = kmmwidgets.cpp
@@ -50,6 +50,10 @@ $(top_builddir)/kmymoney/transactionsortoption.h: transactionsortoption.h
if test -h $@; then rm $@; fi
ln -s `pwd`/transactionsortoption.h $@
+$(top_builddir)/kmymoney/kbudgetvaluesdecl.h: kbudgetvaluesdecl.h
+ if test -h $@; then rm $@; fi
+ ln -s `pwd`/kbudgetvaluesdecl.h $@
+
PICS_DIR=kmymoney2/pics
libkmymoney_la_SOURCES = kmmwidgets.cpp ../kmymoneysettings.cpp kmymoneycompletion.cpp kmymoneyaccountcombo.cpp kmymoneyaccountcompletion.cpp kmymoneycurrencyselector.cpp kmymoneyaccountselector.cpp kmymoneydatetbl.cpp kmymoneycalculator.cpp kmymoneycategory.cpp kmymoneycombo.cpp kmymoneylineedit.cpp kmymoneyedit.cpp kmymoneydateinput.cpp kmymoneyaccounttree.cpp kmymoneytitlelabel.cpp kguiutils.cpp kmymoneyaccounttreebase.cpp kmymoneyaccounttreebudget.cpp kmymoneyaccounttreeforecast.cpp register.cpp registeritem.cpp transaction.cpp scheduledtransaction.cpp stdtransactiondownloaded.cpp stdtransactionmatched.cpp transactionform.cpp kmymoneychecklistitem.cpp kmymoneylistviewitem.cpp kmymoneyselector.cpp transactionsortoption.cpp kbudgetvalues.cpp kbudgetvaluesdecl.cpp kaccounttemplateselector.cpp kaccounttemplateselectordecl.cpp
@@ -88,6 +92,7 @@ endif
dist-hook:
-rm -rf $(distdir)/transactionsortoption.h
-rm -rf $(distdir)/transactionsortoption.cpp
+ -rm -rf $(distdir)/kbudgetvaluesdecl.h
-rm -rf $(distdir)/kmmwidgets.cpp
messages: rc.cpp
diff --git a/kmymoney2/widgets/kaccounttemplateselector.cpp b/kmymoney2/widgets/kaccounttemplateselector.cpp
index 22af851..257494e 100644
--- a/kmymoney2/widgets/kaccounttemplateselector.cpp
+++ b/kmymoney2/widgets/kaccounttemplateselector.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/widgets/kbudgetvalues.cpp b/kmymoney2/widgets/kbudgetvalues.cpp
index 3552156..70c2079 100644
--- a/kmymoney2/widgets/kbudgetvalues.cpp
+++ b/kmymoney2/widgets/kbudgetvalues.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/widgets/kbudgetvalues.h b/kmymoney2/widgets/kbudgetvalues.h
index c94d758..eed16eb 100644
--- a/kmymoney2/widgets/kbudgetvalues.h
+++ b/kmymoney2/widgets/kbudgetvalues.h
@@ -30,7 +30,7 @@ class TQLabel;
// ----------------------------------------------------------------------------
// Project Includes
-#include "../widgets/kbudgetvaluesdecl.h"
+#include <kmymoney/kbudgetvaluesdecl.h>
#include <kmymoney/mymoneybudget.h>
class kMyMoneyEdit;
diff --git a/kmymoney2/widgets/kguiutils.cpp b/kmymoney2/widgets/kguiutils.cpp
index 35ab815..ed6889c 100644
--- a/kmymoney2/widgets/kguiutils.cpp
+++ b/kmymoney2/widgets/kguiutils.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
// No need for TQDateEdit, TQSpinBox, etc., since these always return values
diff --git a/kmymoney2/widgets/kmymoneyaccountcombo.cpp b/kmymoney2/widgets/kmymoneyaccountcombo.cpp
index 3278db5..37dbc76 100644
--- a/kmymoney2/widgets/kmymoneyaccountcombo.cpp
+++ b/kmymoney2/widgets/kmymoneyaccountcombo.cpp
@@ -20,6 +20,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/widgets/kmymoneyaccountcompletion.cpp b/kmymoney2/widgets/kmymoneyaccountcompletion.cpp
index 049dd20..d05fa1e 100644
--- a/kmymoney2/widgets/kmymoneyaccountcompletion.cpp
+++ b/kmymoney2/widgets/kmymoneyaccountcompletion.cpp
@@ -20,6 +20,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/widgets/kmymoneyaccountcompletion.h b/kmymoney2/widgets/kmymoneyaccountcompletion.h
index 2dfbbdf..72aa652 100644
--- a/kmymoney2/widgets/kmymoneyaccountcompletion.h
+++ b/kmymoney2/widgets/kmymoneyaccountcompletion.h
@@ -36,7 +36,7 @@ class TQListViewItem;
// Project Includes
#include <kmymoney/kmymoneyaccountselector.h>
-#include "kmymoneycompletion.h"
+#include <kmymoney/kmymoneycompletion.h>
/**
* @author Thomas Baumgart
diff --git a/kmymoney2/widgets/kmymoneyaccountselector.cpp b/kmymoney2/widgets/kmymoneyaccountselector.cpp
index e3f37d5..c57c6bd 100644
--- a/kmymoney2/widgets/kmymoneyaccountselector.cpp
+++ b/kmymoney2/widgets/kmymoneyaccountselector.cpp
@@ -20,6 +20,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/widgets/kmymoneyaccounttree.cpp b/kmymoney2/widgets/kmymoneyaccounttree.cpp
index e4baf8f..c58cd56 100644
--- a/kmymoney2/widgets/kmymoneyaccounttree.cpp
+++ b/kmymoney2/widgets/kmymoneyaccounttree.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/widgets/kmymoneyaccounttreebase.cpp b/kmymoney2/widgets/kmymoneyaccounttreebase.cpp
index 81bc101..274a629 100644
--- a/kmymoney2/widgets/kmymoneyaccounttreebase.cpp
+++ b/kmymoney2/widgets/kmymoneyaccounttreebase.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/widgets/kmymoneyaccounttreebudget.cpp b/kmymoney2/widgets/kmymoneyaccounttreebudget.cpp
index eb56496..ae2fe2c 100644
--- a/kmymoney2/widgets/kmymoneyaccounttreebudget.cpp
+++ b/kmymoney2/widgets/kmymoneyaccounttreebudget.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// Project Includes
#include <kmymoneyaccounttreebudget.h>
diff --git a/kmymoney2/widgets/kmymoneyaccounttreebudget.h b/kmymoney2/widgets/kmymoneyaccounttreebudget.h
index 5b7bb02..2406958 100644
--- a/kmymoney2/widgets/kmymoneyaccounttreebudget.h
+++ b/kmymoney2/widgets/kmymoneyaccounttreebudget.h
@@ -31,8 +31,8 @@ class TQDragObject;
// ----------------------------------------------------------------------------
// Project Includes
-#include "kmymoneyaccounttree.h"
-#include "../../kmymoney/mymoneybudget.h"
+#include <kmymoney/kmymoneyaccounttree.h>
+#include <kmymoney/mymoneybudget.h>
class KMyMoneyAccountTreeBudgetItem;
diff --git a/kmymoney2/widgets/kmymoneyaccounttreeforecast.cpp b/kmymoney2/widgets/kmymoneyaccounttreeforecast.cpp
index 72400f2..ab7375b 100644
--- a/kmymoney2/widgets/kmymoneyaccounttreeforecast.cpp
+++ b/kmymoney2/widgets/kmymoneyaccounttreeforecast.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// KDE Includes
#include <tdelocale.h>
diff --git a/kmymoney2/widgets/kmymoneyaccounttreeforecast.h b/kmymoney2/widgets/kmymoneyaccounttreeforecast.h
index 9f082aa..3d53f7e 100644
--- a/kmymoney2/widgets/kmymoneyaccounttreeforecast.h
+++ b/kmymoney2/widgets/kmymoneyaccounttreeforecast.h
@@ -31,8 +31,8 @@ class TQDragObject;
// ----------------------------------------------------------------------------
// Project Includes
-#include "kmymoneyaccounttree.h"
-#include "../../kmymoney/mymoneyforecast.h"
+#include <kmymoney/kmymoneyaccounttree.h>
+#include <kmymoney/mymoneyforecast.h>
class KMyMoneyAccountTreeForecastItem;
diff --git a/kmymoney2/widgets/kmymoneybriefschedule.cpp b/kmymoney2/widgets/kmymoneybriefschedule.cpp
index 5b182a5..53085f0 100644
--- a/kmymoney2/widgets/kmymoneybriefschedule.cpp
+++ b/kmymoney2/widgets/kmymoneybriefschedule.cpp
@@ -20,6 +20,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/widgets/kmymoneycalculator.cpp b/kmymoney2/widgets/kmymoneycalculator.cpp
index 3f01010..5222288 100644
--- a/kmymoney2/widgets/kmymoneycalculator.cpp
+++ b/kmymoney2/widgets/kmymoneycalculator.cpp
@@ -20,6 +20,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/widgets/kmymoneycalendar.cpp b/kmymoney2/widgets/kmymoneycalendar.cpp
index 09142e9..7a4158a 100644
--- a/kmymoney2/widgets/kmymoneycalendar.cpp
+++ b/kmymoney2/widgets/kmymoneycalendar.cpp
@@ -43,6 +43,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
#include <tqpainter.h>
@@ -59,7 +63,7 @@
// ----------------------------------------------------------------------------
// KDE Includes
-#include "kdecompat.h"
+#include <tdeversion.h>
#include <tdeglobal.h>
#include <tdeapplication.h>
#include <tdelocale.h>
diff --git a/kmymoney2/widgets/kmymoneycalendar.h b/kmymoney2/widgets/kmymoneycalendar.h
index 3fd6892..bc8f4fb 100644
--- a/kmymoney2/widgets/kmymoneycalendar.h
+++ b/kmymoney2/widgets/kmymoneycalendar.h
@@ -55,7 +55,7 @@
// ----------------------------------------------------------------------------
// KDE Includes
-#include "kdecompat.h"
+#include <tdeversion.h>
// ----------------------------------------------------------------------------
// Project Includes
diff --git a/kmymoney2/widgets/kmymoneycategory.cpp b/kmymoney2/widgets/kmymoneycategory.cpp
index 9fb0563..ef5344f 100644
--- a/kmymoney2/widgets/kmymoneycategory.cpp
+++ b/kmymoney2/widgets/kmymoneycategory.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/widgets/kmymoneycategory.h b/kmymoney2/widgets/kmymoneycategory.h
index 40c018f..0536e23 100644
--- a/kmymoney2/widgets/kmymoneycategory.h
+++ b/kmymoney2/widgets/kmymoneycategory.h
@@ -27,7 +27,6 @@ class TQFrame;
// ----------------------------------------------------------------------------
// KDE Includes
-#include "kdecompat.h"
#include <kcombobox.h>
class KPushButton;
diff --git a/kmymoney2/widgets/kmymoneychecklistitem.cpp b/kmymoney2/widgets/kmymoneychecklistitem.cpp
index b292567..ed6b95b 100644
--- a/kmymoney2/widgets/kmymoneychecklistitem.cpp
+++ b/kmymoney2/widgets/kmymoneychecklistitem.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/widgets/kmymoneycombo.cpp b/kmymoney2/widgets/kmymoneycombo.cpp
index f816b21..a9c698b 100644
--- a/kmymoney2/widgets/kmymoneycombo.cpp
+++ b/kmymoney2/widgets/kmymoneycombo.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/widgets/kmymoneycompletion.cpp b/kmymoney2/widgets/kmymoneycompletion.cpp
index addb83a..8a4b599 100644
--- a/kmymoney2/widgets/kmymoneycompletion.cpp
+++ b/kmymoney2/widgets/kmymoneycompletion.cpp
@@ -20,6 +20,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/widgets/kmymoneycurrencyselector.cpp b/kmymoney2/widgets/kmymoneycurrencyselector.cpp
index f99dd93..e1dadf5 100644
--- a/kmymoney2/widgets/kmymoneycurrencyselector.cpp
+++ b/kmymoney2/widgets/kmymoneycurrencyselector.cpp
@@ -20,6 +20,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/widgets/kmymoneydateinput.cpp b/kmymoney2/widgets/kmymoneydateinput.cpp
index bb76c90..539660d 100644
--- a/kmymoney2/widgets/kmymoneydateinput.cpp
+++ b/kmymoney2/widgets/kmymoneydateinput.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
@@ -33,7 +37,7 @@
// ----------------------------------------------------------------------------
// KDE Includes
-#include "kdecompat.h"
+#include <tdeversion.h>
#include <tdeglobal.h>
#include <tdelocale.h>
#include <kiconloader.h>
diff --git a/kmymoney2/widgets/kmymoneydatetbl.cpp b/kmymoney2/widgets/kmymoneydatetbl.cpp
index 3ccbcb9..971891f 100644
--- a/kmymoney2/widgets/kmymoneydatetbl.cpp
+++ b/kmymoney2/widgets/kmymoneydatetbl.cpp
@@ -42,6 +42,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
#include <tqglobal.h>
@@ -53,7 +57,7 @@
// ----------------------------------------------------------------------------
// KDE Includes
-#include "kdecompat.h"
+#include <tdeversion.h>
#include <kdatetbl.h> // Use the classes available for maximum re-use
#include <tdeglobal.h>
#include <tdeglobalsettings.h>
diff --git a/kmymoney2/widgets/kmymoneydatetbl.h b/kmymoney2/widgets/kmymoneydatetbl.h
index 7e26a09..4c292a4 100644
--- a/kmymoney2/widgets/kmymoneydatetbl.h
+++ b/kmymoney2/widgets/kmymoneydatetbl.h
@@ -52,7 +52,7 @@
// ----------------------------------------------------------------------------
// KDE Includes
-#include "kdecompat.h"
+#include <tdeversion.h>
// ----------------------------------------------------------------------------
// Project Includes
diff --git a/kmymoney2/widgets/kmymoneyedit.cpp b/kmymoney2/widgets/kmymoneyedit.cpp
index 586686d..9386813 100644
--- a/kmymoney2/widgets/kmymoneyedit.cpp
+++ b/kmymoney2/widgets/kmymoneyedit.cpp
@@ -16,6 +16,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/widgets/kmymoneyedit.h b/kmymoney2/widgets/kmymoneyedit.h
index 6acbd1d..dee4e88 100644
--- a/kmymoney2/widgets/kmymoneyedit.h
+++ b/kmymoney2/widgets/kmymoneyedit.h
@@ -17,7 +17,7 @@
#ifndef KMYMONEYEDIT_H
#define KMYMONEYEDIT_H
-#include "kdecompat.h"
+#include <tdeversion.h>
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/widgets/kmymoneyforecastlistviewitem.cpp b/kmymoney2/widgets/kmymoneyforecastlistviewitem.cpp
index deb3561..f440be7 100644
--- a/kmymoney2/widgets/kmymoneyforecastlistviewitem.cpp
+++ b/kmymoney2/widgets/kmymoneyforecastlistviewitem.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/widgets/kmymoneygpgconfig.cpp b/kmymoney2/widgets/kmymoneygpgconfig.cpp
index e2dc761..d168c90 100644
--- a/kmymoney2/widgets/kmymoneygpgconfig.cpp
+++ b/kmymoney2/widgets/kmymoneygpgconfig.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/widgets/kmymoneylineedit.cpp b/kmymoney2/widgets/kmymoneylineedit.cpp
index e6e3791..3c04c72 100644
--- a/kmymoney2/widgets/kmymoneylineedit.cpp
+++ b/kmymoney2/widgets/kmymoneylineedit.cpp
@@ -17,6 +17,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/widgets/kmymoneylistviewitem.cpp b/kmymoney2/widgets/kmymoneylistviewitem.cpp
index 9e71ba8..8d2800f 100644
--- a/kmymoney2/widgets/kmymoneylistviewitem.cpp
+++ b/kmymoney2/widgets/kmymoneylistviewitem.cpp
@@ -20,6 +20,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/widgets/kmymoneyonlinequoteconfig.cpp b/kmymoney2/widgets/kmymoneyonlinequoteconfig.cpp
index bc07669..42b5de2 100644
--- a/kmymoney2/widgets/kmymoneyonlinequoteconfig.cpp
+++ b/kmymoney2/widgets/kmymoneyonlinequoteconfig.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/widgets/kmymoneypriceview.cpp b/kmymoney2/widgets/kmymoneypriceview.cpp
index 7b5165e..b21ffb3 100644
--- a/kmymoney2/widgets/kmymoneypriceview.cpp
+++ b/kmymoney2/widgets/kmymoneypriceview.cpp
@@ -20,6 +20,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/widgets/kmymoneyscheduledcalendar.cpp b/kmymoney2/widgets/kmymoneyscheduledcalendar.cpp
index 33bf247..d8706eb 100644
--- a/kmymoney2/widgets/kmymoneyscheduledcalendar.cpp
+++ b/kmymoney2/widgets/kmymoneyscheduledcalendar.cpp
@@ -20,6 +20,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
#include <tqpushbutton.h>
diff --git a/kmymoney2/widgets/kmymoneyscheduleddatetbl.cpp b/kmymoney2/widgets/kmymoneyscheduleddatetbl.cpp
index f793859..4de8efe 100644
--- a/kmymoney2/widgets/kmymoneyscheduleddatetbl.cpp
+++ b/kmymoney2/widgets/kmymoneyscheduleddatetbl.cpp
@@ -40,6 +40,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
#include <tqstring.h>
@@ -52,7 +56,6 @@
// ----------------------------------------------------------------------------
// KDE Includes
-#include "kdecompat.h"
#include <tdeglobal.h>
#include <tdeglobalsettings.h>
#include <tdelocale.h>
diff --git a/kmymoney2/widgets/kmymoneyselector.cpp b/kmymoney2/widgets/kmymoneyselector.cpp
index 44fc546..89aaa8b 100644
--- a/kmymoney2/widgets/kmymoneyselector.cpp
+++ b/kmymoney2/widgets/kmymoneyselector.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/widgets/kmymoneytitlelabel.cpp b/kmymoney2/widgets/kmymoneytitlelabel.cpp
index ae006cd..b5c732a 100644
--- a/kmymoney2/widgets/kmymoneytitlelabel.cpp
+++ b/kmymoney2/widgets/kmymoneytitlelabel.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/widgets/kmymoneywizard.cpp b/kmymoney2/widgets/kmymoneywizard.cpp
index e210350..d8cdd0e 100644
--- a/kmymoney2/widgets/kmymoneywizard.cpp
+++ b/kmymoney2/widgets/kmymoneywizard.cpp
@@ -14,6 +14,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/widgets/register.cpp b/kmymoney2/widgets/register.cpp
index fae0d9d..afdf61a 100644
--- a/kmymoney2/widgets/register.cpp
+++ b/kmymoney2/widgets/register.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <typeinfo>
// ----------------------------------------------------------------------------
diff --git a/kmymoney2/widgets/registeritem.cpp b/kmymoney2/widgets/registeritem.cpp
index 58a9ef6..1652877 100644
--- a/kmymoney2/widgets/registeritem.cpp
+++ b/kmymoney2/widgets/registeritem.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/widgets/registersearchline.cpp b/kmymoney2/widgets/registersearchline.cpp
index 3380f63..8db0e2a 100644
--- a/kmymoney2/widgets/registersearchline.cpp
+++ b/kmymoney2/widgets/registersearchline.cpp
@@ -14,6 +14,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/widgets/scheduledtransaction.cpp b/kmymoney2/widgets/scheduledtransaction.cpp
index 8f15207..aaa35ce 100644
--- a/kmymoney2/widgets/scheduledtransaction.cpp
+++ b/kmymoney2/widgets/scheduledtransaction.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/widgets/selectedtransaction.cpp b/kmymoney2/widgets/selectedtransaction.cpp
index 102477b..60409b5 100644
--- a/kmymoney2/widgets/selectedtransaction.cpp
+++ b/kmymoney2/widgets/selectedtransaction.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "selectedtransaction.h"
#include "register.h"
diff --git a/kmymoney2/widgets/stdtransactiondownloaded.cpp b/kmymoney2/widgets/stdtransactiondownloaded.cpp
index d62927c..f634944 100644
--- a/kmymoney2/widgets/stdtransactiondownloaded.cpp
+++ b/kmymoney2/widgets/stdtransactiondownloaded.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/widgets/stdtransactionmatched.cpp b/kmymoney2/widgets/stdtransactionmatched.cpp
index 372dfca..ef4097f 100644
--- a/kmymoney2/widgets/stdtransactionmatched.cpp
+++ b/kmymoney2/widgets/stdtransactionmatched.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/widgets/tdelistviewsearchline.cpp b/kmymoney2/widgets/tdelistviewsearchline.cpp
index dfebc2f..99b06ff 100644
--- a/kmymoney2/widgets/tdelistviewsearchline.cpp
+++ b/kmymoney2/widgets/tdelistviewsearchline.cpp
@@ -16,6 +16,10 @@
Boston, MA 02110-1301, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "tdelistviewsearchline.h"
#include <tdelistview.h>
diff --git a/kmymoney2/widgets/transaction.cpp b/kmymoney2/widgets/transaction.cpp
index 684e960..4327bdd 100644
--- a/kmymoney2/widgets/transaction.cpp
+++ b/kmymoney2/widgets/transaction.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/widgets/transactioneditorcontainer.cpp b/kmymoney2/widgets/transactioneditorcontainer.cpp
index 4750025..110a799 100644
--- a/kmymoney2/widgets/transactioneditorcontainer.cpp
+++ b/kmymoney2/widgets/transactioneditorcontainer.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/widgets/transactionform.cpp b/kmymoney2/widgets/transactionform.cpp
index 9d94110..b193ea3 100644
--- a/kmymoney2/widgets/transactionform.cpp
+++ b/kmymoney2/widgets/transactionform.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/widgets/transactionform.h b/kmymoney2/widgets/transactionform.h
index 574855e..1057c76 100644
--- a/kmymoney2/widgets/transactionform.h
+++ b/kmymoney2/widgets/transactionform.h
@@ -34,12 +34,11 @@
// ----------------------------------------------------------------------------
// Project Includes
+#include <kmymoney/kmymoneysettings.h>
#include <kmymoney/mymoneyaccount.h>
#include <kmymoney/mymoneyobject.h>
#include <kmymoney/register.h>
-#include "../kmymoneysettings.h"
-
class MyMoneyObjectContainer;
namespace KMyMoneyTransactionForm {
diff --git a/kmymoney2/wizards/newaccountwizard/knewaccountwizard.cpp b/kmymoney2/wizards/newaccountwizard/knewaccountwizard.cpp
index aeb8db3..9e68171 100644
--- a/kmymoney2/wizards/newaccountwizard/knewaccountwizard.cpp
+++ b/kmymoney2/wizards/newaccountwizard/knewaccountwizard.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <locale.h>
// ----------------------------------------------------------------------------
diff --git a/kmymoney2/wizards/newuserwizard/knewuserwizard.cpp b/kmymoney2/wizards/newuserwizard/knewuserwizard.cpp
index dd8bb82..01b6155 100644
--- a/kmymoney2/wizards/newuserwizard/knewuserwizard.cpp
+++ b/kmymoney2/wizards/newuserwizard/knewuserwizard.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <locale.h>
// ----------------------------------------------------------------------------
diff --git a/kmymoney2/wizards/wizardpages/accounts.cpp b/kmymoney2/wizards/wizardpages/accounts.cpp
index 3bee1f9..1f65cbc 100644
--- a/kmymoney2/wizards/wizardpages/accounts.cpp
+++ b/kmymoney2/wizards/wizardpages/accounts.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/wizards/wizardpages/currency.cpp b/kmymoney2/wizards/wizardpages/currency.cpp
index 8dc1da4..02200e2 100644
--- a/kmymoney2/wizards/wizardpages/currency.cpp
+++ b/kmymoney2/wizards/wizardpages/currency.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/kmymoney2/wizards/wizardpages/userinfo.cpp b/kmymoney2/wizards/wizardpages/userinfo.cpp
index 2bf500f..3c78e25 100644
--- a/kmymoney2/wizards/wizardpages/userinfo.cpp
+++ b/kmymoney2/wizards/wizardpages/userinfo.cpp
@@ -15,6 +15,10 @@
* *
***************************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
// ----------------------------------------------------------------------------
// QT Includes
diff --git a/libkdchart/KDChart.cpp b/libkdchart/KDChart.cpp
index eb85bf2..e52e0a4 100644
--- a/libkdchart/KDChart.cpp
+++ b/libkdchart/KDChart.cpp
@@ -26,6 +26,11 @@
** licensing are not clear to you.
**
**********************************************************************/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#if defined KDAB_EVAL
#include "../evaldialog/evaldialog.h"
#endif
diff --git a/libkdchart/KDChartAreaPainter.cpp b/libkdchart/KDChartAreaPainter.cpp
index 3f467b2..badab4a 100644
--- a/libkdchart/KDChartAreaPainter.cpp
+++ b/libkdchart/KDChartAreaPainter.cpp
@@ -26,6 +26,11 @@
** licensing are not clear to you.
**
**********************************************************************/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "KDChartAreaPainter.h"
/**
diff --git a/libkdchart/KDChartAxesPainter.cpp b/libkdchart/KDChartAxesPainter.cpp
index 88c828d..0f9d43b 100644
--- a/libkdchart/KDChartAxesPainter.cpp
+++ b/libkdchart/KDChartAxesPainter.cpp
@@ -26,6 +26,11 @@
** licensing are not clear to you.
**
**********************************************************************/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <tqpainter.h>
#include <tqlabel.h>
diff --git a/libkdchart/KDChartAxisParams.cpp b/libkdchart/KDChartAxisParams.cpp
index 70f448f..a278307 100644
--- a/libkdchart/KDChartAxisParams.cpp
+++ b/libkdchart/KDChartAxisParams.cpp
@@ -26,6 +26,11 @@
** licensing are not clear to you.
**
**********************************************************************/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <KDChartAxisParams.h>
#ifndef KDCHART_MASTER_CVS
#include "KDChartAxisParams.moc"
diff --git a/libkdchart/KDChartAxisParamsWrapper.cpp b/libkdchart/KDChartAxisParamsWrapper.cpp
index 8a4a676..3075836 100644
--- a/libkdchart/KDChartAxisParamsWrapper.cpp
+++ b/libkdchart/KDChartAxisParamsWrapper.cpp
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "KDChartAxisParamsWrapper.h"
#include <KDChartAxisParams.h>
diff --git a/libkdchart/KDChartBWPainter.cpp b/libkdchart/KDChartBWPainter.cpp
index 19d4fa6..f935b03 100644
--- a/libkdchart/KDChartBWPainter.cpp
+++ b/libkdchart/KDChartBWPainter.cpp
@@ -26,6 +26,11 @@
** licensing are not clear to you.
**
**********************************************************************/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "KDChartBWPainter.h"
#include <KDChartParams.h>
#include "KDChartTextPiece.h"
diff --git a/libkdchart/KDChartBarPainter.cpp b/libkdchart/KDChartBarPainter.cpp
index 874fd9c..e3ac853 100644
--- a/libkdchart/KDChartBarPainter.cpp
+++ b/libkdchart/KDChartBarPainter.cpp
@@ -26,6 +26,10 @@
** licensing are not clear to you.
**
**********************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "KDChartBarPainter.h"
#include <KDChartParams.h>
diff --git a/libkdchart/KDChartBaseSeries.cpp b/libkdchart/KDChartBaseSeries.cpp
index 9951d04..1ce0993 100644
--- a/libkdchart/KDChartBaseSeries.cpp
+++ b/libkdchart/KDChartBaseSeries.cpp
@@ -27,6 +27,9 @@
**
**********************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "KDChartBaseSeries.h"
diff --git a/libkdchart/KDChartCustomBox.cpp b/libkdchart/KDChartCustomBox.cpp
index e36599a..b37e569 100644
--- a/libkdchart/KDChartCustomBox.cpp
+++ b/libkdchart/KDChartCustomBox.cpp
@@ -26,6 +26,11 @@
** licensing are not clear to you.
**
**********************************************************************/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <tqpainter.h>
#include <tqregion.h>
#include <tqpalette.h>
diff --git a/libkdchart/KDChartCustomBoxWrapper.cpp b/libkdchart/KDChartCustomBoxWrapper.cpp
index c62b118..64a99a9 100644
--- a/libkdchart/KDChartCustomBoxWrapper.cpp
+++ b/libkdchart/KDChartCustomBoxWrapper.cpp
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "KDChartCustomBoxWrapper.h"
KDChartCustomBoxWrapper::KDChartCustomBoxWrapper( KDChartCustomBox* data)
:TQObject(0), _data(data)
diff --git a/libkdchart/KDChartDataIntern.cpp b/libkdchart/KDChartDataIntern.cpp
index ca69c2f..c1f1f1a 100644
--- a/libkdchart/KDChartDataIntern.cpp
+++ b/libkdchart/KDChartDataIntern.cpp
@@ -26,6 +26,11 @@
** licensing are not clear to you.
**
**********************************************************************/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <KDChartDataIntern.h>
/**
diff --git a/libkdchart/KDChartEnums.cpp b/libkdchart/KDChartEnums.cpp
index e361ace..3f43e0b 100644
--- a/libkdchart/KDChartEnums.cpp
+++ b/libkdchart/KDChartEnums.cpp
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "KDChartEnums.h"
TQString KDChartEnums::positionFlagToString( PositionFlag type )
diff --git a/libkdchart/KDChartHiLoPainter.cpp b/libkdchart/KDChartHiLoPainter.cpp
index 2393ef6..81ca90e 100644
--- a/libkdchart/KDChartHiLoPainter.cpp
+++ b/libkdchart/KDChartHiLoPainter.cpp
@@ -26,6 +26,11 @@
** licensing are not clear to you.
**
**********************************************************************/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "KDChartHiLoPainter.h"
#include <KDChartParams.h>
#include "KDChartTextPiece.h"
diff --git a/libkdchart/KDChartLinesPainter.cpp b/libkdchart/KDChartLinesPainter.cpp
index 24a9b90..8e4fa4e 100644
--- a/libkdchart/KDChartLinesPainter.cpp
+++ b/libkdchart/KDChartLinesPainter.cpp
@@ -26,6 +26,11 @@
** licensing are not clear to you.
**
**********************************************************************/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "KDChartLinesPainter.h"
#include <KDChartParams.h>
#include <KDChartPropertySet.h>
diff --git a/libkdchart/KDChartObjectFactory.cpp b/libkdchart/KDChartObjectFactory.cpp
index a53f84c..4ed2172 100644
--- a/libkdchart/KDChartObjectFactory.cpp
+++ b/libkdchart/KDChartObjectFactory.cpp
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "KDChartObjectFactory.h"
#include <KDChartParams.h>
#include <KDChartTable.h>
diff --git a/libkdchart/KDChartPainter.cpp b/libkdchart/KDChartPainter.cpp
index ca93953..a4465ff 100644
--- a/libkdchart/KDChartPainter.cpp
+++ b/libkdchart/KDChartPainter.cpp
@@ -26,6 +26,11 @@
** licensing are not clear to you.
**
**********************************************************************/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <KDChartParams.h>
#if defined ( SUN7 ) || defined (_SGIAPI) || defined ( TQ_WS_WIN)
#include <math.h>
diff --git a/libkdchart/KDChartParams.cpp b/libkdchart/KDChartParams.cpp
index 8df4954..97ab1f4 100644
--- a/libkdchart/KDChartParams.cpp
+++ b/libkdchart/KDChartParams.cpp
@@ -26,6 +26,11 @@
** licensing are not clear to you.
**
**********************************************************************/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <KDChartParams.h>
#include <KDChartAxisParams.h>
#include <KDChartEnums.h>
diff --git a/libkdchart/KDChartParamsWrapper.cpp b/libkdchart/KDChartParamsWrapper.cpp
index 00cdb54..f5c9075 100644
--- a/libkdchart/KDChartParamsWrapper.cpp
+++ b/libkdchart/KDChartParamsWrapper.cpp
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "KDChartParamsWrapper.h"
#include <KDChartParams.h>
diff --git a/libkdchart/KDChartParams_frame.cpp b/libkdchart/KDChartParams_frame.cpp
index dddeec0..d6bdb83 100644
--- a/libkdchart/KDChartParams_frame.cpp
+++ b/libkdchart/KDChartParams_frame.cpp
@@ -27,6 +27,10 @@
**
**********************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "KDChartParams.h"
#include <KDXMLTools.h>
diff --git a/libkdchart/KDChartParams_io.cpp b/libkdchart/KDChartParams_io.cpp
index e7f9928..7bc365f 100644
--- a/libkdchart/KDChartParams_io.cpp
+++ b/libkdchart/KDChartParams_io.cpp
@@ -26,6 +26,11 @@
** licensing are not clear to you.
**
**********************************************************************/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "KDChartParams.h"
#include <KDXMLTools.h>
diff --git a/libkdchart/KDChartPiePainter.cpp b/libkdchart/KDChartPiePainter.cpp
index 9a1b3fb..6739872 100644
--- a/libkdchart/KDChartPiePainter.cpp
+++ b/libkdchart/KDChartPiePainter.cpp
@@ -26,6 +26,11 @@
** licensing are not clear to you.
**
**********************************************************************/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "KDChartEnums.h"
#include "KDChartPiePainter.h"
#include "KDChartParams.h"
diff --git a/libkdchart/KDChartPlaneSeries.cpp b/libkdchart/KDChartPlaneSeries.cpp
index 50f2969..e1bfb85 100644
--- a/libkdchart/KDChartPlaneSeries.cpp
+++ b/libkdchart/KDChartPlaneSeries.cpp
@@ -27,6 +27,9 @@
**
**********************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "KDChartPlaneSeries.h"
diff --git a/libkdchart/KDChartPolarPainter.cpp b/libkdchart/KDChartPolarPainter.cpp
index 55249ab..15ff5f0 100644
--- a/libkdchart/KDChartPolarPainter.cpp
+++ b/libkdchart/KDChartPolarPainter.cpp
@@ -26,6 +26,11 @@
** licensing are not clear to you.
**
**********************************************************************/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "KDChartPolarPainter.h"
#include <KDChartParams.h>
#include <KDChartAxisParams.h>
diff --git a/libkdchart/KDChartPropertySet.cpp b/libkdchart/KDChartPropertySet.cpp
index cae1c3c..7b699c2 100644
--- a/libkdchart/KDChartPropertySet.cpp
+++ b/libkdchart/KDChartPropertySet.cpp
@@ -27,6 +27,10 @@
**
**********************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "KDChartPropertySet.h"
#include "KDChartParams.h"
#include <KDXMLTools.h>
diff --git a/libkdchart/KDChartRingPainter.cpp b/libkdchart/KDChartRingPainter.cpp
index 43d7f1a..ec58881 100644
--- a/libkdchart/KDChartRingPainter.cpp
+++ b/libkdchart/KDChartRingPainter.cpp
@@ -26,6 +26,11 @@
** licensing are not clear to you.
**
**********************************************************************/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "KDChartRingPainter.h"
#include "KDChartParams.h"
diff --git a/libkdchart/KDChartSeriesCollection.cpp b/libkdchart/KDChartSeriesCollection.cpp
index 812db8f..212504e 100644
--- a/libkdchart/KDChartSeriesCollection.cpp
+++ b/libkdchart/KDChartSeriesCollection.cpp
@@ -27,6 +27,9 @@
**
**********************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "KDChartSeriesCollection.h"
#include "KDChartParams.h"
diff --git a/libkdchart/KDChartTableBase.cpp b/libkdchart/KDChartTableBase.cpp
index cda7251..ab42f49 100644
--- a/libkdchart/KDChartTableBase.cpp
+++ b/libkdchart/KDChartTableBase.cpp
@@ -26,6 +26,11 @@
** licensing are not clear to you.
**
**********************************************************************/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <math.h>
#include <limits.h>
#include <tqtable.h>
diff --git a/libkdchart/KDChartTableDataWrapper.cpp b/libkdchart/KDChartTableDataWrapper.cpp
index 1baf487..a844ba6 100644
--- a/libkdchart/KDChartTableDataWrapper.cpp
+++ b/libkdchart/KDChartTableDataWrapper.cpp
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "KDChartTableDataWrapper.h"
KDChartTableDataWrapper::KDChartTableDataWrapper( KDChartTableData* data ) :TQObject(0), _data(data)
diff --git a/libkdchart/KDChartTextPiece.cpp b/libkdchart/KDChartTextPiece.cpp
index 30da273..09d4fc2 100644
--- a/libkdchart/KDChartTextPiece.cpp
+++ b/libkdchart/KDChartTextPiece.cpp
@@ -26,6 +26,11 @@
** licensing are not clear to you.
**
**********************************************************************/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "KDChartTextPiece.h"
#include <tqstylesheet.h>
diff --git a/libkdchart/KDChartVectorSeries.cpp b/libkdchart/KDChartVectorSeries.cpp
index 07570af..81c6352 100644
--- a/libkdchart/KDChartVectorSeries.cpp
+++ b/libkdchart/KDChartVectorSeries.cpp
@@ -27,6 +27,10 @@
**
**********************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "KDChartVectorSeries.h"
#include "KDChartSeriesCollection.h"
diff --git a/libkdchart/KDChartVectorTable.cpp b/libkdchart/KDChartVectorTable.cpp
index c7c97fb..b58f6f6 100644
--- a/libkdchart/KDChartVectorTable.cpp
+++ b/libkdchart/KDChartVectorTable.cpp
@@ -21,6 +21,9 @@
**
**********************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "KDChartVectorTable.moc"
diff --git a/libkdchart/KDChartWidget.cpp b/libkdchart/KDChartWidget.cpp
index 46ced0f..0424e7e 100644
--- a/libkdchart/KDChartWidget.cpp
+++ b/libkdchart/KDChartWidget.cpp
@@ -26,6 +26,11 @@
** licensing are not clear to you.
**
**********************************************************************/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <KDChartWidget.h>
#include <KDChart.h>
#include <KDChartParams.h>
diff --git a/libkdchart/KDChartWrapperFactory.cpp b/libkdchart/KDChartWrapperFactory.cpp
index b42c037..e24b9fe 100644
--- a/libkdchart/KDChartWrapperFactory.cpp
+++ b/libkdchart/KDChartWrapperFactory.cpp
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "KDChartWrapperFactory.h"
#include <KDChartTable.h>
#include <tqfont.h>
diff --git a/libkdchart/KDDrawText.cpp b/libkdchart/KDDrawText.cpp
index 19982fb..9419fb1 100644
--- a/libkdchart/KDDrawText.cpp
+++ b/libkdchart/KDDrawText.cpp
@@ -26,6 +26,11 @@
** licensing are not clear to you.
**
**********************************************************************/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <tqpainter.h>
#include <tqbitmap.h>
#include <tqpixmap.h>
diff --git a/libkdchart/KDFrame.cpp b/libkdchart/KDFrame.cpp
index 874bb3c..a6364ca 100644
--- a/libkdchart/KDFrame.cpp
+++ b/libkdchart/KDFrame.cpp
@@ -27,6 +27,10 @@
**
**********************************************************************/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <tqpainter.h>
#include <tqbrush.h>
diff --git a/libkdchart/KDFrameProfileSection.cpp b/libkdchart/KDFrameProfileSection.cpp
index 2378229..dd8c0a2 100644
--- a/libkdchart/KDFrameProfileSection.cpp
+++ b/libkdchart/KDFrameProfileSection.cpp
@@ -26,6 +26,11 @@
** licensing are not clear to you.
**
**********************************************************************/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <KDFrameProfileSection.h>
#include <KDXMLTools.h>
diff --git a/libkdchart/KDXMLTools.cpp b/libkdchart/KDXMLTools.cpp
index d0060ef..4450fd3 100644
--- a/libkdchart/KDXMLTools.cpp
+++ b/libkdchart/KDXMLTools.cpp
@@ -26,6 +26,11 @@
** licensing are not clear to you.
**
**********************************************************************/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "KDXMLTools.h"
#include <tqbuffer.h>
#include <tqimage.h>
diff --git a/libkgpgfile/kgpgfile.cpp b/libkgpgfile/kgpgfile.cpp
index 07aa319..25182cd 100644
--- a/libkgpgfile/kgpgfile.cpp
+++ b/libkgpgfile/kgpgfile.cpp
@@ -19,8 +19,6 @@
#include <config.h>
#endif
-#include "kdecompat.h"
-
// ----------------------------------------------------------------------------
// QT Includes