summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/kmymoneysplittable.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/dialogs/kmymoneysplittable.cpp
parente8837d86c8961bdfb65c25c6ff040468c95240cd (diff)
downloadkmymoney-a0523230c43c0c894e924fca7fe775e47a7d86a8.tar.gz
kmymoney-a0523230c43c0c894e924fca7fe775e47a7d86a8.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'kmymoney2/dialogs/kmymoneysplittable.cpp')
-rw-r--r--kmymoney2/dialogs/kmymoneysplittable.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kmymoney2/dialogs/kmymoneysplittable.cpp b/kmymoney2/dialogs/kmymoneysplittable.cpp
index 57f1e09..6724cd0 100644
--- a/kmymoney2/dialogs/kmymoneysplittable.cpp
+++ b/kmymoney2/dialogs/kmymoneysplittable.cpp
@@ -94,11 +94,11 @@ kMyMoneySplitTable::kMyMoneySplitTable(TQWidget *parent, const char *name ) :
// setup the context menu
m_contextMenu = new TDEPopupMenu(this);
- KIconLoader *il = TDEGlobal::iconLoader();
- m_contextMenu->insertTitle(il->loadIcon("transaction", KIcon::MainToolbar), i18n("Split Options"));
- m_contextMenu->insertItem(il->loadIcon("edit", KIcon::Small), i18n("Edit..."), this, TQT_SLOT(slotStartEdit()));
- m_contextMenuDuplicate = m_contextMenu->insertItem(il->loadIcon("editcopy", KIcon::Small), i18n("Duplicate"), this, TQT_SLOT(slotDuplicateSplit()));
- m_contextMenuDelete = m_contextMenu->insertItem(il->loadIcon("delete", KIcon::Small),
+ TDEIconLoader *il = TDEGlobal::iconLoader();
+ m_contextMenu->insertTitle(il->loadIcon("transaction", TDEIcon::MainToolbar), i18n("Split Options"));
+ m_contextMenu->insertItem(il->loadIcon("edit", TDEIcon::Small), i18n("Edit..."), this, TQT_SLOT(slotStartEdit()));
+ m_contextMenuDuplicate = m_contextMenu->insertItem(il->loadIcon("editcopy", TDEIcon::Small), i18n("Duplicate"), this, TQT_SLOT(slotDuplicateSplit()));
+ m_contextMenuDelete = m_contextMenu->insertItem(il->loadIcon("delete", TDEIcon::Small),
i18n("Delete ..."),
this, TQT_SLOT(slotDeleteSplit()));
@@ -851,16 +851,16 @@ TQWidget* kMyMoneySplitTable::createEditWidgets(void)
m_editMemo->setFont(cellFont);
// create buttons for the mouse users
- KIconLoader *il = TDEGlobal::iconLoader();
+ TDEIconLoader *il = TDEGlobal::iconLoader();
m_registerButtonFrame = new TQFrame(this, "buttonFrame");
TQPalette palette = m_registerButtonFrame->palette();
palette.setColor(TQColorGroup::Background, rowBackgroundColor(m_currentRow+1) );
m_registerButtonFrame->setPalette(palette);
TQHBoxLayout* l = new TQHBoxLayout(m_registerButtonFrame);
- m_registerEnterButton = new KPushButton(il->loadIcon("button_ok", KIcon::Small, KIcon::SizeSmall), TQString(), m_registerButtonFrame, "EnterButton");
+ m_registerEnterButton = new KPushButton(il->loadIcon("button_ok", TDEIcon::Small, TDEIcon::SizeSmall), TQString(), m_registerButtonFrame, "EnterButton");
- m_registerCancelButton = new KPushButton(il->loadIcon("button_cancel", KIcon::Small, KIcon::SizeSmall), TQString(), m_registerButtonFrame, "CancelButton");
+ m_registerCancelButton = new KPushButton(il->loadIcon("button_cancel", TDEIcon::Small, TDEIcon::SizeSmall), TQString(), m_registerButtonFrame, "CancelButton");
l->addWidget(m_registerEnterButton);
l->addWidget(m_registerCancelButton);