summaryrefslogtreecommitdiffstats
path: root/kmymoney2/kmymoneyutils.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:03:49 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:03:49 -0600
commita0523230c43c0c894e924fca7fe775e47a7d86a8 (patch)
tree1ef149baa33f6723a34870f3bacca46e5195dfb2 /kmymoney2/kmymoneyutils.cpp
parente8837d86c8961bdfb65c25c6ff040468c95240cd (diff)
downloadkmymoney-a0523230c43c0c894e924fca7fe775e47a7d86a8.tar.gz
kmymoney-a0523230c43c0c894e924fca7fe775e47a7d86a8.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'kmymoney2/kmymoneyutils.cpp')
-rw-r--r--kmymoney2/kmymoneyutils.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/kmymoney2/kmymoneyutils.cpp b/kmymoney2/kmymoneyutils.cpp
index 34bf045..ef2fe74 100644
--- a/kmymoney2/kmymoneyutils.cpp
+++ b/kmymoney2/kmymoneyutils.cpp
@@ -141,10 +141,10 @@ const TQString KMyMoneyUtils::scheduleTypeToString(MyMoneySchedule::typeE type)
KGuiItem KMyMoneyUtils::scheduleNewGuiItem(void)
{
- KIconLoader *ic = TDEGlobal::iconLoader();
+ TDEIconLoader *ic = TDEGlobal::iconLoader();
KGuiItem splitGuiItem( i18n("&New Schedule..."),
- TQIconSet(ic->loadIcon("filenew", KIcon::Small, KIcon::SizeSmall)),
+ TQIconSet(ic->loadIcon("filenew", TDEIcon::Small, TDEIcon::SizeSmall)),
i18n("Create a new schedule."),
i18n("Use this to create a new schedule."));
@@ -153,10 +153,10 @@ KGuiItem KMyMoneyUtils::scheduleNewGuiItem(void)
KGuiItem KMyMoneyUtils::accountsFilterGuiItem(void)
{
- KIconLoader *ic = TDEGlobal::iconLoader();
+ TDEIconLoader *ic = TDEGlobal::iconLoader();
KGuiItem splitGuiItem( i18n("&Filter"),
- TQIconSet(ic->loadIcon("filter", KIcon::Small, KIcon::SizeSmall)),
+ TQIconSet(ic->loadIcon("filter", TDEIcon::Small, TDEIcon::SizeSmall)),
i18n("Filter out accounts"),
i18n("Use this to filter out accounts"));
@@ -165,26 +165,26 @@ KGuiItem KMyMoneyUtils::accountsFilterGuiItem(void)
TQPixmap KMyMoneyUtils::billScheduleIcon(int size)
{
- KIconLoader *ic = TDEGlobal::iconLoader();
- return ic->loadIcon("billschedule", KIcon::User, size);
+ TDEIconLoader *ic = TDEGlobal::iconLoader();
+ return ic->loadIcon("billschedule", TDEIcon::User, size);
}
TQPixmap KMyMoneyUtils::depositScheduleIcon(int size)
{
- KIconLoader *ic = TDEGlobal::iconLoader();
- return ic->loadIcon("depositschedule", KIcon::User, size);
+ TDEIconLoader *ic = TDEGlobal::iconLoader();
+ return ic->loadIcon("depositschedule", TDEIcon::User, size);
}
TQPixmap KMyMoneyUtils::transferScheduleIcon(int size)
{
- KIconLoader *ic = TDEGlobal::iconLoader();
- return ic->loadIcon("transferschedule", KIcon::User, size);
+ TDEIconLoader *ic = TDEGlobal::iconLoader();
+ return ic->loadIcon("transferschedule", TDEIcon::User, size);
}
TQPixmap KMyMoneyUtils::scheduleIcon(int size)
{
- KIconLoader *ic = TDEGlobal::iconLoader();
- return ic->loadIcon("schedule", KIcon::User, size);
+ TDEIconLoader *ic = TDEGlobal::iconLoader();
+ return ic->loadIcon("schedule", TDEIcon::User, size);
}
const char* homePageItems[] = {