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/kmymoneyutils.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/kmymoneyutils.cpp')
-rw-r--r-- | kmymoney2/kmymoneyutils.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kmymoney2/kmymoneyutils.cpp b/kmymoney2/kmymoneyutils.cpp index c2e41ca..b9bac34 100644 --- a/kmymoney2/kmymoneyutils.cpp +++ b/kmymoney2/kmymoneyutils.cpp @@ -141,7 +141,7 @@ const TQString KMyMoneyUtils::scheduleTypeToString(MyMoneySchedule::typeE type) KGuiItem KMyMoneyUtils::scheduleNewGuiItem(void) { - KIconLoader *ic = KGlobal::iconLoader(); + KIconLoader *ic = TDEGlobal::iconLoader(); KGuiItem splitGuiItem( i18n("&New Schedule..."), TQIconSet(ic->loadIcon("filenew", KIcon::Small, KIcon::SizeSmall)), @@ -153,7 +153,7 @@ KGuiItem KMyMoneyUtils::scheduleNewGuiItem(void) KGuiItem KMyMoneyUtils::accountsFilterGuiItem(void) { - KIconLoader *ic = KGlobal::iconLoader(); + KIconLoader *ic = TDEGlobal::iconLoader(); KGuiItem splitGuiItem( i18n("&Filter"), TQIconSet(ic->loadIcon("filter", KIcon::Small, KIcon::SizeSmall)), @@ -165,25 +165,25 @@ KGuiItem KMyMoneyUtils::accountsFilterGuiItem(void) TQPixmap KMyMoneyUtils::billScheduleIcon(int size) { - KIconLoader *ic = KGlobal::iconLoader(); + KIconLoader *ic = TDEGlobal::iconLoader(); return ic->loadIcon("billschedule", KIcon::User, size); } TQPixmap KMyMoneyUtils::depositScheduleIcon(int size) { - KIconLoader *ic = KGlobal::iconLoader(); + KIconLoader *ic = TDEGlobal::iconLoader(); return ic->loadIcon("depositschedule", KIcon::User, size); } TQPixmap KMyMoneyUtils::transferScheduleIcon(int size) { - KIconLoader *ic = KGlobal::iconLoader(); + KIconLoader *ic = TDEGlobal::iconLoader(); return ic->loadIcon("transferschedule", KIcon::User, size); } TQPixmap KMyMoneyUtils::scheduleIcon(int size) { - KIconLoader *ic = KGlobal::iconLoader(); + KIconLoader *ic = TDEGlobal::iconLoader(); return ic->loadIcon("schedule", KIcon::User, size); } @@ -261,7 +261,7 @@ void KMyMoneyUtils::checkConstants(void) TQString KMyMoneyUtils::variableCSS(void) { - TQColor tcolor = KGlobalSettings::textColor(); + TQColor tcolor = TDEGlobalSettings::textColor(); TQString css; css += "<style type=\"text/css\">\n<!--\n"; @@ -275,8 +275,8 @@ TQString KMyMoneyUtils::variableCSS(void) TQString KMyMoneyUtils::findResource(const char* type, const TQString& filename) { - TQString language = KGlobal::locale()->language(); - TQString country = KGlobal::locale()->country(); + TQString language = TDEGlobal::locale()->language(); + TQString country = TDEGlobal::locale()->country(); TQString rc, mask; // check that the placeholder is present @@ -287,17 +287,17 @@ TQString KMyMoneyUtils::findResource(const char* type, const TQString& filename) // search the given resource mask = filename.arg("_%1.%2"); - rc = KGlobal::dirs()->findResource(type, mask.arg(country).arg(language)); + rc = TDEGlobal::dirs()->findResource(type, mask.arg(country).arg(language)); if(rc.isEmpty()) { mask = filename.arg("_%1"); - rc = KGlobal::dirs()->findResource(type, mask.arg(language)); + rc = TDEGlobal::dirs()->findResource(type, mask.arg(language)); } if(rc.isEmpty()) { // tqDebug(TQString("html/home_%1.html not found").arg(country).latin1()); - rc = KGlobal::dirs()->findResource(type, mask.arg(country)); + rc = TDEGlobal::dirs()->findResource(type, mask.arg(country)); } if(rc.isEmpty()) { - rc = KGlobal::dirs()->findResource(type, filename.arg("")); + rc = TDEGlobal::dirs()->findResource(type, filename.arg("")); } if(rc.isEmpty()) { |