diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-24 13:21:28 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-24 13:21:28 -0600 |
commit | 6c1d52c8248adb9189c944a28efde52330e99b66 (patch) | |
tree | 842df8de70813d5097e5d7ffe04577c4077381d9 /kmymoney2/views/khomeview.cpp | |
parent | 4b12aca2f1e0304a1cb35df621e9a993dd4d81f7 (diff) | |
download | kmymoney-6c1d52c8248adb9189c944a28efde52330e99b66.tar.gz kmymoney-6c1d52c8248adb9189c944a28efde52330e99b66.zip |
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'kmymoney2/views/khomeview.cpp')
-rw-r--r-- | kmymoney2/views/khomeview.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kmymoney2/views/khomeview.cpp b/kmymoney2/views/khomeview.cpp index 47bba63..3860c04 100644 --- a/kmymoney2/views/khomeview.cpp +++ b/kmymoney2/views/khomeview.cpp @@ -214,7 +214,7 @@ void KHomeView::loadView(void) //clear the forecast flag so it will be reloaded m_forecast.setForecastDone(false); - TQString filename = KGlobal::dirs()->findResource("appdata", "html/kmymoney2.css"); + TQString filename = TDEGlobal::dirs()->findResource("appdata", "html/kmymoney2.css"); TQString header = TQString("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\">\n<html><head><link rel=\"stylesheet\" type=\"text/css\" href=\"%1\">\n").arg(filename); header += KMyMoneyUtils::variableCSS(); @@ -322,7 +322,7 @@ void KHomeView::showNetWorthGraph(void) chartWidget->params()->setLineMarker(false); chartWidget->params()->setLegendPosition(KDChartParams::NoLegend); chartWidget->params()->setLineWidth(2); - chartWidget->params()->setDataColor(0, KGlobalSettings::textColor()); + chartWidget->params()->setDataColor(0, TDEGlobalSettings::textColor()); // draw future values in a different line style KDChartPropertySet propSetFutureValue("future value", KMM_KDCHART_PROPSET_NORMAL_DATA); @@ -350,7 +350,7 @@ void KHomeView::showNetWorthGraph(void) } TQPixmap pm(chartWidget->width(), chartWidget->height()); - pm.fill(KGlobalSettings::baseColor()); + pm.fill(TDEGlobalSettings::baseColor()); TQPainter p(&pm); chartWidget->paintTo(p); @@ -641,12 +641,12 @@ void KHomeView::showPaymentEntry(const MyMoneySchedule& sched, int cnt) MyMoneySplit sp = t.splitByAccount(acc.id(), true); TQString pathEnter, pathSkip; - KGlobal::iconLoader()->loadIcon("key_enter", KIcon::Small, KIcon::SizeSmall, KIcon::DefaultState, &pathEnter); - KGlobal::iconLoader()->loadIcon("player_fwd", KIcon::Small, KIcon::SizeSmall, KIcon::DefaultState, &pathSkip); + TDEGlobal::iconLoader()->loadIcon("key_enter", KIcon::Small, KIcon::SizeSmall, KIcon::DefaultState, &pathEnter); + TDEGlobal::iconLoader()->loadIcon("player_fwd", KIcon::Small, KIcon::SizeSmall, KIcon::DefaultState, &pathSkip); //show payment date tmp = TQString("<td>") + - KGlobal::locale()->formatDate(sched.adjustedNextDueDate(), true) + + TDEGlobal::locale()->formatDate(sched.adjustedNextDueDate(), true) + "</td><td>"; if(pathEnter.length() > 0) tmp += link(VIEW_SCHEDULE, TQString("?id=%1&mode=enter").arg(sched.id()), i18n("Enter schedule")) + TQString("<img src=\"file://%1\" border=\"0\"></a>").arg(pathEnter) + linkend(); |