summaryrefslogtreecommitdiffstats
path: root/kmymoney2/widgets/kmymoneydatetbl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/widgets/kmymoneydatetbl.cpp')
-rw-r--r--kmymoney2/widgets/kmymoneydatetbl.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kmymoney2/widgets/kmymoneydatetbl.cpp b/kmymoney2/widgets/kmymoneydatetbl.cpp
index 79a8c7b..c2cfc1c 100644
--- a/kmymoney2/widgets/kmymoneydatetbl.cpp
+++ b/kmymoney2/widgets/kmymoneydatetbl.cpp
@@ -109,7 +109,7 @@ kMyMoneyDateTbl::paintCell(TQPainter *painter, int row, int col)
// -----
font.setPointSize(fontsize);
-#if KDE_VERSION < 310
+#if TDE_VERSION < 310
int firstWeekDay = KGlobal::locale()->weekStartsMonday() ? 1 : 0;
#else
int firstWeekDay = KGlobal::locale()->weekStartDay();
@@ -378,7 +378,7 @@ kMyMoneyDateTbl::contentsMouseReleaseEvent(TQMouseEvent *e)
return;
}
-#if KDE_VERSION < 310
+#if TDE_VERSION < 310
int dayoff = KGlobal::locale()->weekStartsMonday() ? 1 : 0;
#else
int dayoff = KGlobal::locale()->weekStartDay();
@@ -571,7 +571,7 @@ void kMyMoneyDateTbl::contentsMouseMoveEvent(TQMouseEvent* e)
return;
}
-#if KDE_VERSION < 310
+#if TDE_VERSION < 310
int firstWeekDay = KGlobal::locale()->weekStartsMonday() ? 1 : 0;
#else
int firstWeekDay = KGlobal::locale()->weekStartDay();