summaryrefslogtreecommitdiffstats
path: root/kmymoney2/kmymoneyutils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/kmymoneyutils.cpp')
-rw-r--r--kmymoney2/kmymoneyutils.cpp26
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()) {