summaryrefslogtreecommitdiffstats
path: root/kmymoney2/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/widgets')
-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
53 files changed, 195 insertions, 21 deletions
diff --git a/kmymoney2/widgets/Makefile.am b/kmymoney2/widgets/Makefile.am
index 53b832d..225b662 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 {