summaryrefslogtreecommitdiffstats
path: root/kmymoney2/views/kbudgetview.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:37:08 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:37:08 -0600
commitc70e40bd3f54a2c4d9ef57a36f19c996f4e00ed6 (patch)
tree9a07481bb1245dac332e7db600c556e1db79ecf3 /kmymoney2/views/kbudgetview.cpp
parent28723595822268551d3e050c3a83bf6ca5e17dd5 (diff)
downloadkmymoney-c70e40bd3f54a2c4d9ef57a36f19c996f4e00ed6.tar.gz
kmymoney-c70e40bd3f54a2c4d9ef57a36f19c996f4e00ed6.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'kmymoney2/views/kbudgetview.cpp')
-rw-r--r--kmymoney2/views/kbudgetview.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kmymoney2/views/kbudgetview.cpp b/kmymoney2/views/kbudgetview.cpp
index 9012927..6cc6aa4 100644
--- a/kmymoney2/views/kbudgetview.cpp
+++ b/kmymoney2/views/kbudgetview.cpp
@@ -66,7 +66,7 @@ KBudgetListItem::KBudgetListItem(KListView *parent, const MyMoneyBudget& budget)
m_budget(budget)
{
setText(0, budget.name());
- setText(1, TQString("%1").tqarg(budget.budgetStart().year()));
+ setText(1, TQString("%1").arg(budget.budgetStart().year()));
// allow in column rename
setRenameEnabled(0, true);
@@ -485,8 +485,8 @@ void KBudgetView::askSave(void)
// check if the content of a currently selected budget was modified
// and ask to store the data
if (m_updateButton->isEnabled()) {
- if (KMessageBox::questionYesNo(this, TQString("<qt>%1</qt>").tqarg(
- i18n("Do you want to save the changes for <b>%1</b>").tqarg(m_budget.name())),
+ if (KMessageBox::questionYesNo(this, TQString("<qt>%1</qt>").arg(
+ i18n("Do you want to save the changes for <b>%1</b>").arg(m_budget.name())),
i18n("Save changes")) == KMessageBox::Yes) {
m_inSelection = true;
slotUpdateBudget();
@@ -609,7 +609,7 @@ void KBudgetView::slotRenameBudget(TQListViewItem* p , int /*col*/, const TQStri
if (KMessageBox::questionYesNo(this,
i18n("A budget with the name '%1' already exists. It is not advisable to have "
"multiple budgets with the same identification name. Are you sure you would like "
- "to rename the budget?").tqarg(new_name)) != KMessageBox::Yes)
+ "to rename the budget?").arg(new_name)) != KMessageBox::Yes)
{
p->setText(0,pBudget->budget().name());
return;
@@ -633,7 +633,7 @@ void KBudgetView::slotRenameBudget(TQListViewItem* p , int /*col*/, const TQStri
} catch(MyMoneyException *e) {
KMessageBox::detailedSorry(0, i18n("Unable to modify budget"),
- (e->what() + " " + i18n("thrown in") + " " + e->file()+ ":%1").tqarg(e->line()));
+ (e->what() + " " + i18n("thrown in") + " " + e->file()+ ":%1").arg(e->line()));
delete e;
}
}
@@ -734,7 +734,7 @@ void KBudgetView::slotResetBudget(void)
loadAccounts();
} catch(MyMoneyException *e) {
KMessageBox::detailedSorry(0, i18n("Unable to reset budget"),
- (e->what() + " " + i18n("thrown in") + " " + e->file()+ ":%1").tqarg(e->line()));
+ (e->what() + " " + i18n("thrown in") + " " + e->file()+ ":%1").arg(e->line()));
delete e;
}
}
@@ -748,7 +748,7 @@ void KBudgetView::slotUpdateBudget(void)
slotRefreshHideUnusedButton();
} catch(MyMoneyException *e) {
KMessageBox::detailedSorry(0, i18n("Unable to modify budget"),
- (e->what() + " " + i18n("thrown in") + " " + e->file()+ ":%1").tqarg(e->line()));
+ (e->what() + " " + i18n("thrown in") + " " + e->file()+ ":%1").arg(e->line()));
delete e;
}
}