summaryrefslogtreecommitdiffstats
path: root/kmymoney2/views
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/views')
-rw-r--r--kmymoney2/views/kaccountsview.cpp8
-rw-r--r--kmymoney2/views/kaccountsview.h6
-rw-r--r--kmymoney2/views/kaccountsviewdecl.ui2
-rw-r--r--kmymoney2/views/kbudgetview.cpp12
-rw-r--r--kmymoney2/views/kcategoriesview.cpp6
-rw-r--r--kmymoney2/views/kgloballedgerview.cpp4
-rw-r--r--kmymoney2/views/khomeview.cpp4
-rw-r--r--kmymoney2/views/kpayeesview.cpp4
-rw-r--r--kmymoney2/views/kscheduledlistitem.cpp2
-rw-r--r--kmymoney2/views/kscheduledview.cpp14
10 files changed, 31 insertions, 31 deletions
diff --git a/kmymoney2/views/kaccountsview.cpp b/kmymoney2/views/kaccountsview.cpp
index 9e7d596..1dbced9 100644
--- a/kmymoney2/views/kaccountsview.cpp
+++ b/kmymoney2/views/kaccountsview.cpp
@@ -44,7 +44,7 @@
KMyMoneyAccountIconItem::KMyMoneyAccountIconItem(TQIconView *parent, const MyMoneyAccount& account) :
- KIconViewItem(parent, account.name()),
+ TDEIconViewItem(parent, account.name()),
m_account(account),
m_reconcileFlag(false)
{
@@ -82,13 +82,13 @@ KAccountsView::KAccountsView(TQWidget *parent, const char *name) :
}
// setup icons for collapse and expand button
- KIconLoader *ic = TDEGlobal::iconLoader();
+ TDEIconLoader *ic = TDEGlobal::iconLoader();
KGuiItem collapseGuiItem("",
- TQIconSet(ic->loadIcon("viewmag-", KIcon::Small, KIcon::SizeSmall)),
+ TQIconSet(ic->loadIcon("viewmag-", TDEIcon::Small, TDEIcon::SizeSmall)),
TQString(),
TQString());
KGuiItem expandGuiItem("",
- TQIconSet(ic->loadIcon("viewmag+", KIcon::Small, KIcon::SizeSmall)),
+ TQIconSet(ic->loadIcon("viewmag+", TDEIcon::Small, TDEIcon::SizeSmall)),
TQString(),
TQString());
m_collapseButton->setGuiItem(collapseGuiItem);
diff --git a/kmymoney2/views/kaccountsview.h b/kmymoney2/views/kaccountsview.h
index 96c547a..892af17 100644
--- a/kmymoney2/views/kaccountsview.h
+++ b/kmymoney2/views/kaccountsview.h
@@ -43,16 +43,16 @@ class TDEListViewSearchLineWidget;
* This class represents an item in the account icon view. It is used
* by the KAccountsView to select between the accounts using icons.
*/
-class KMyMoneyAccountIconItem : public KIconViewItem
+class KMyMoneyAccountIconItem : public TDEIconViewItem
{
public:
/**
* Constructor to be used to construct an account icon object.
*
- * @param parent pointer to the KIconView object this entry should be
+ * @param parent pointer to the TDEIconView object this entry should be
* added to.
* @param account const reference to MyMoneyAccount for which
- * the KIconView entry is constructed
+ * the TDEIconView entry is constructed
*/
KMyMoneyAccountIconItem(TQIconView *parent, const MyMoneyAccount& account);
~KMyMoneyAccountIconItem();
diff --git a/kmymoney2/views/kaccountsviewdecl.ui b/kmymoney2/views/kaccountsviewdecl.ui
index a8182a5..3aa073e 100644
--- a/kmymoney2/views/kaccountsviewdecl.ui
+++ b/kmymoney2/views/kaccountsviewdecl.ui
@@ -107,7 +107,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="KIconView">
+ <widget class="TDEIconView">
<property name="name">
<cstring>m_accountIcons</cstring>
</property>
diff --git a/kmymoney2/views/kbudgetview.cpp b/kmymoney2/views/kbudgetview.cpp
index 2a09ac9..cb3049b 100644
--- a/kmymoney2/views/kbudgetview.cpp
+++ b/kmymoney2/views/kbudgetview.cpp
@@ -103,37 +103,37 @@ KBudgetView::KBudgetView(TQWidget *parent, const char *name ) :
m_accountTree->setSorting(-1);
m_budgetList->setSorting(0);
- KIconLoader* il = TDEGlobal::iconLoader();
+ TDEIconLoader* il = TDEGlobal::iconLoader();
KGuiItem newButtenItem( TQString(""),
- TQIconSet(il->loadIcon("file_new", KIcon::Small, KIcon::SizeSmall)),
+ TQIconSet(il->loadIcon("file_new", TDEIcon::Small, TDEIcon::SizeSmall)),
i18n("Creates a new budget"),
i18n("Use this to create a new empty budget."));
m_newButton->setGuiItem(newButtenItem);
TQToolTip::add(m_newButton, newButtenItem.toolTip());
KGuiItem renameButtenItem( TQString(""),
- TQIconSet(il->loadIcon("editpaste", KIcon::Small, KIcon::SizeSmall)),
+ TQIconSet(il->loadIcon("editpaste", TDEIcon::Small, TDEIcon::SizeSmall)),
i18n("Rename the current selected budget"),
i18n("Use this to start renaming the selected budget."));
m_renameButton->setGuiItem(renameButtenItem);
TQToolTip::add(m_renameButton, renameButtenItem.toolTip());
KGuiItem deleteButtenItem( TQString(""),
- TQIconSet(il->loadIcon("editdelete", KIcon::Small, KIcon::SizeSmall)),
+ TQIconSet(il->loadIcon("editdelete", TDEIcon::Small, TDEIcon::SizeSmall)),
i18n("Delete the current selected budget"),
i18n("Use this to delete the selected budget."));
m_deleteButton->setGuiItem(deleteButtenItem);
TQToolTip::add(m_deleteButton, deleteButtenItem.toolTip());
KGuiItem updateButtenItem( TQString(""),
- TQIconSet(il->loadIcon("button_ok", KIcon::Small, KIcon::SizeSmall)),
+ TQIconSet(il->loadIcon("button_ok", TDEIcon::Small, TDEIcon::SizeSmall)),
i18n("Accepts the entered values and stores the budget"),
i18n("Use this to store the modified data."));
m_updateButton->setGuiItem(updateButtenItem);
TQToolTip::add(m_updateButton, updateButtenItem.toolTip());
KGuiItem resetButtenItem( TQString(""),
- TQIconSet(il->loadIcon("undo", KIcon::Small, KIcon::SizeSmall)),
+ TQIconSet(il->loadIcon("undo", TDEIcon::Small, TDEIcon::SizeSmall)),
i18n("Revert budget to last saved state"),
i18n("Use this to discard the modified data."));
m_resetButton->setGuiItem(resetButtenItem);
diff --git a/kmymoney2/views/kcategoriesview.cpp b/kmymoney2/views/kcategoriesview.cpp
index 93e9acb..1c08e62 100644
--- a/kmymoney2/views/kcategoriesview.cpp
+++ b/kmymoney2/views/kcategoriesview.cpp
@@ -61,13 +61,13 @@ KCategoriesView::KCategoriesView(TQWidget *parent, const char *name ) :
}
// setup icons for collapse and expand button
- KIconLoader *ic = TDEGlobal::iconLoader();
+ TDEIconLoader *ic = TDEGlobal::iconLoader();
KGuiItem collapseGuiItem("",
- TQIconSet(ic->loadIcon("viewmag-", KIcon::Small, KIcon::SizeSmall)),
+ TQIconSet(ic->loadIcon("viewmag-", TDEIcon::Small, TDEIcon::SizeSmall)),
TQString(),
TQString());
KGuiItem expandGuiItem("",
- TQIconSet(ic->loadIcon("viewmag+", KIcon::Small, KIcon::SizeSmall)),
+ TQIconSet(ic->loadIcon("viewmag+", TDEIcon::Small, TDEIcon::SizeSmall)),
TQString(),
TQString());
m_collapseButton->setGuiItem(collapseGuiItem);
diff --git a/kmymoney2/views/kgloballedgerview.cpp b/kmymoney2/views/kgloballedgerview.cpp
index 6e1e052..0ea4fe3 100644
--- a/kmymoney2/views/kgloballedgerview.cpp
+++ b/kmymoney2/views/kgloballedgerview.cpp
@@ -170,8 +170,8 @@ TDEGlobalLedgerView::TDEGlobalLedgerView(TQWidget *parent, const char *name )
// the account button at the right of the toolbar
// I leave the code commented here for a while, so that I see
// how I can add other widgets at this point
- KIconLoader *il = TDEGlobal::iconLoader();
- m_toolbar->insertButton(il->loadIcon("document", KIcon::Small, KIcon::SizeSmall),
+ TDEIconLoader *il = TDEGlobal::iconLoader();
+ m_toolbar->insertButton(il->loadIcon("document", TDEIcon::Small, TDEIcon::SizeSmall),
1,true,i18n("Account"));
//m_toolbar->setMaximumSize(50,20);
m_toolbar->alignItemRight(1);
diff --git a/kmymoney2/views/khomeview.cpp b/kmymoney2/views/khomeview.cpp
index a380120..23937c5 100644
--- a/kmymoney2/views/khomeview.cpp
+++ b/kmymoney2/views/khomeview.cpp
@@ -641,8 +641,8 @@ void KHomeView::showPaymentEntry(const MyMoneySchedule& sched, int cnt)
MyMoneySplit sp = t.splitByAccount(acc.id(), true);
TQString pathEnter, 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);
+ TDEGlobal::iconLoader()->loadIcon("key_enter", TDEIcon::Small, TDEIcon::SizeSmall, TDEIcon::DefaultState, &pathEnter);
+ TDEGlobal::iconLoader()->loadIcon("player_fwd", TDEIcon::Small, TDEIcon::SizeSmall, TDEIcon::DefaultState, &pathSkip);
//show payment date
tmp = TQString("<td>") +
diff --git a/kmymoney2/views/kpayeesview.cpp b/kmymoney2/views/kpayeesview.cpp
index f295dc5..a4cbcf4 100644
--- a/kmymoney2/views/kpayeesview.cpp
+++ b/kmymoney2/views/kpayeesview.cpp
@@ -364,9 +364,9 @@ KPayeesView::KPayeesView(TQWidget *parent, const char *name ) :
labelDefaultAccount->setEnabled(false);
comboDefaultAccount->setEnabled(false);
- KIconLoader* il = TDEGlobal::iconLoader();
+ TDEIconLoader* il = TDEGlobal::iconLoader();
KGuiItem updateButtenItem( i18n("Update"),
- TQIconSet(il->loadIcon("button_ok", KIcon::Small, KIcon::SizeSmall)),
+ TQIconSet(il->loadIcon("button_ok", TDEIcon::Small, TDEIcon::SizeSmall)),
i18n("Accepts the entered data and stores it"),
i18n("Use this to accept the modified data."));
m_updateButton->setGuiItem(updateButtenItem);
diff --git a/kmymoney2/views/kscheduledlistitem.cpp b/kmymoney2/views/kscheduledlistitem.cpp
index c1bf126..d509521 100644
--- a/kmymoney2/views/kscheduledlistitem.cpp
+++ b/kmymoney2/views/kscheduledlistitem.cpp
@@ -56,7 +56,7 @@ KScheduledListItem::KScheduledListItem(KScheduledListItem *parent, const MyMoney
{
m_schedule = schedule;
m_sortKey = schedule.name();
- setPixmap(0, KMyMoneyUtils::scheduleIcon(KIcon::Small));
+ setPixmap(0, KMyMoneyUtils::scheduleIcon(TDEIcon::Small));
try
{
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;