summaryrefslogtreecommitdiffstats
path: root/kmymoney2/views/kscheduledview.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/views/kscheduledview.cpp
parente8837d86c8961bdfb65c25c6ff040468c95240cd (diff)
downloadkmymoney-a0523230c43c0c894e924fca7fe775e47a7d86a8.tar.gz
kmymoney-a0523230c43c0c894e924fca7fe775e47a7d86a8.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'kmymoney2/views/kscheduledview.cpp')
-rw-r--r--kmymoney2/views/kscheduledview.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kmymoney2/views/kscheduledview.cpp b/kmymoney2/views/kscheduledview.cpp
index c5aff20..ed52339 100644
--- a/kmymoney2/views/kscheduledview.cpp
+++ b/kmymoney2/views/kscheduledview.cpp
@@ -94,9 +94,9 @@ KScheduledView::KScheduledView(TQWidget *parent, const char *name ) :
m_qbuttonNew->setGuiItem(KMyMoneyUtils::scheduleNewGuiItem());
m_accountsCombo->setGuiItem(KMyMoneyUtils::accountsFilterGuiItem());
- KIconLoader *il = TDEGlobal::iconLoader();
- m_tabWidget->setTabIconSet(m_listTab, TQIconSet(il->loadIcon("contents", KIcon::Small, KIcon::SizeSmall)));
- m_tabWidget->setTabIconSet(m_calendarTab, TQIconSet(il->loadIcon("calendartab", KIcon::User, KIcon::SizeSmall)));
+ TDEIconLoader *il = TDEGlobal::iconLoader();
+ m_tabWidget->setTabIconSet(m_listTab, TQIconSet(il->loadIcon("contents", TDEIcon::Small, TDEIcon::SizeSmall)));
+ m_tabWidget->setTabIconSet(m_calendarTab, TQIconSet(il->loadIcon("calendartab", TDEIcon::User, TDEIcon::SizeSmall)));
connect(m_qlistviewScheduled, TQT_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
this, TQT_SLOT(slotListViewContextMenu(TDEListView*, TQListViewItem*, const TQPoint&)));
@@ -168,10 +168,10 @@ void KScheduledView::refresh(bool full, const TQString& schedId)
if (scheduledItems.count() == 0)
return;
- KScheduledListItem *itemBills = new KScheduledListItem(m_qlistviewScheduled, i18n("Bills"), KMyMoneyUtils::billScheduleIcon(KIcon::Small), "0");
- KScheduledListItem *itemDeposits = new KScheduledListItem(m_qlistviewScheduled, i18n("Deposits"), KMyMoneyUtils::depositScheduleIcon(KIcon::Small), "1");
- KScheduledListItem *itemLoans = new KScheduledListItem(m_qlistviewScheduled, i18n("Loans"), KMyMoneyUtils::transferScheduleIcon(KIcon::Small), "2");
- KScheduledListItem *itemTransfers = new KScheduledListItem(m_qlistviewScheduled, i18n("Transfers"), KMyMoneyUtils::transferScheduleIcon(KIcon::Small), "3");
+ KScheduledListItem *itemBills = new KScheduledListItem(m_qlistviewScheduled, i18n("Bills"), KMyMoneyUtils::billScheduleIcon(TDEIcon::Small), "0");
+ KScheduledListItem *itemDeposits = new KScheduledListItem(m_qlistviewScheduled, i18n("Deposits"), KMyMoneyUtils::depositScheduleIcon(TDEIcon::Small), "1");
+ KScheduledListItem *itemLoans = new KScheduledListItem(m_qlistviewScheduled, i18n("Loans"), KMyMoneyUtils::transferScheduleIcon(TDEIcon::Small), "2");
+ KScheduledListItem *itemTransfers = new KScheduledListItem(m_qlistviewScheduled, i18n("Transfers"), KMyMoneyUtils::transferScheduleIcon(TDEIcon::Small), "3");
TQValueList<MyMoneySchedule>::Iterator it;