summaryrefslogtreecommitdiffstats
path: root/kmymoney2/views/kbudgetview.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/kbudgetview.cpp
parente8837d86c8961bdfb65c25c6ff040468c95240cd (diff)
downloadkmymoney-a0523230c43c0c894e924fca7fe775e47a7d86a8.tar.gz
kmymoney-a0523230c43c0c894e924fca7fe775e47a7d86a8.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'kmymoney2/views/kbudgetview.cpp')
-rw-r--r--kmymoney2/views/kbudgetview.cpp12
1 files changed, 6 insertions, 6 deletions
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);