diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-15 18:45:29 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-15 18:45:29 -0600 |
commit | db2f713d0a0aaa32f8aa4d1fb05a0569c2f1e9d6 (patch) | |
tree | 84ab232c07bc642dfe291fc11d9680984335115a /kmymoney2/widgets | |
parent | c1a367c350921941395bd71938b22288453596ba (diff) | |
download | kmymoney-db2f713d0a0aaa32f8aa4d1fb05a0569c2f1e9d6.tar.gz kmymoney-db2f713d0a0aaa32f8aa4d1fb05a0569c2f1e9d6.zip |
Rename KDE_VERSION to TDE_VERSION
Diffstat (limited to 'kmymoney2/widgets')
-rw-r--r-- | kmymoney2/widgets/kmymoneycalendar.cpp | 6 | ||||
-rw-r--r-- | kmymoney2/widgets/kmymoneydatetbl.cpp | 6 | ||||
-rw-r--r-- | kmymoney2/widgets/kmymoneyedit.h | 2 | ||||
-rw-r--r-- | kmymoney2/widgets/kmymoneyscheduleddatetbl.cpp | 2 |
4 files changed, 8 insertions, 8 deletions
diff --git a/kmymoney2/widgets/kmymoneycalendar.cpp b/kmymoney2/widgets/kmymoneycalendar.cpp index 6064b8d..d3ac4b4 100644 --- a/kmymoney2/widgets/kmymoneycalendar.cpp +++ b/kmymoney2/widgets/kmymoneycalendar.cpp @@ -336,7 +336,7 @@ kMyMoneyCalendar::yearBackwardClicked() void kMyMoneyCalendar::selectWeekClicked() { -#if KDE_VERSION >= 310 && KDE_VERSION <= 314 +#if TDE_VERSION >= 310 && TDE_VERSION <= 314 int week; KPopupFrame* popup = new KPopupFrame(this); KDateInternalWeekSelector* picker = new KDateInternalWeekSelector(/*fontsize, */popup); @@ -375,7 +375,7 @@ kMyMoneyCalendar::selectWeekClicked() void kMyMoneyCalendar::selectMonthClicked() { -#if KDE_VERSION >= 310 && KDE_VERSION <= 314 +#if TDE_VERSION >= 310 && TDE_VERSION <= 314 int month; KPopupFrame* popup = new KPopupFrame(this); KDateInternalMonthPicker* picker = new KDateInternalMonthPicker(/*fontsize, */popup); @@ -407,7 +407,7 @@ kMyMoneyCalendar::selectMonthClicked() void kMyMoneyCalendar::selectYearClicked() { -#if KDE_VERSION >= 310 && KDE_VERSION <= 314 +#if TDE_VERSION >= 310 && TDE_VERSION <= 314 int year; KPopupFrame* popup = new KPopupFrame(this); KDateInternalYearSelector* picker = new KDateInternalYearSelector(fontsize, popup); 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(); diff --git a/kmymoney2/widgets/kmymoneyedit.h b/kmymoney2/widgets/kmymoneyedit.h index 77c7a75..3aaacd1 100644 --- a/kmymoney2/widgets/kmymoneyedit.h +++ b/kmymoney2/widgets/kmymoneyedit.h @@ -42,7 +42,7 @@ class KPushButton; class MyMoneyMoney; class kMyMoneyCalculator; -#if KDE_VERSION <= KDE_MAKE_VERSION(3,1,0) +#if TDE_VERSION <= KDE_MAKE_VERSION(3,1,0) #define KDoubleValidator TQDoubleValidator #endif diff --git a/kmymoney2/widgets/kmymoneyscheduleddatetbl.cpp b/kmymoney2/widgets/kmymoneyscheduleddatetbl.cpp index d8f053d..3c484a3 100644 --- a/kmymoney2/widgets/kmymoneyscheduleddatetbl.cpp +++ b/kmymoney2/widgets/kmymoneyscheduleddatetbl.cpp @@ -377,7 +377,7 @@ void kMyMoneyScheduledDateTbl::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(); |