summaryrefslogtreecommitdiffstats
path: root/kmymoney2/reports/pivottabletest.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:21:28 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:21:28 -0600
commit6c1d52c8248adb9189c944a28efde52330e99b66 (patch)
tree842df8de70813d5097e5d7ffe04577c4077381d9 /kmymoney2/reports/pivottabletest.cpp
parent4b12aca2f1e0304a1cb35df621e9a993dd4d81f7 (diff)
downloadkmymoney-6c1d52c8248adb9189c944a28efde52330e99b66.tar.gz
kmymoney-6c1d52c8248adb9189c944a28efde52330e99b66.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'kmymoney2/reports/pivottabletest.cpp')
-rw-r--r--kmymoney2/reports/pivottabletest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kmymoney2/reports/pivottabletest.cpp b/kmymoney2/reports/pivottabletest.cpp
index e9fb8b2..b2962e1 100644
--- a/kmymoney2/reports/pivottabletest.cpp
+++ b/kmymoney2/reports/pivottabletest.cpp
@@ -834,8 +834,8 @@ void PivotTableTest::testColumnType()
CPPUNIT_ASSERT(spending_days.m_grid.m_total[eActual][13] == -moSolo);
CPPUNIT_ASSERT(spending_days.m_grid.m_total[eActual].m_total == -moSolo-moParent2);
- unsigned save_dayweekstart = KGlobal::locale()->weekStartDay();
- KGlobal::locale()->setWeekStartDay(2);
+ unsigned save_dayweekstart = TDEGlobal::locale()->weekStartDay();
+ TDEGlobal::locale()->setWeekStartDay(2);
filter.setDateFilter(TQDate(2004,7,2),TQDate(2004,8,1));
filter.setRowType( MyMoneyReport::eExpenseIncome );
@@ -846,7 +846,7 @@ void PivotTableTest::testColumnType()
PivotTable spending_weeks( filter );
writeTabletoHTML(spending_weeks,"Spending by Weeks.html");
- KGlobal::locale()->setWeekStartDay(save_dayweekstart);
+ TDEGlobal::locale()->setWeekStartDay(save_dayweekstart);
CPPUNIT_ASSERT(spending_weeks.m_grid.m_total[eActual][0] == moZero);
CPPUNIT_ASSERT(spending_weeks.m_grid.m_total[eActual][1] == -moParent2);