diff options
Diffstat (limited to 'kmymoney2/views/kbudgetview.cpp')
-rw-r--r-- | kmymoney2/views/kbudgetview.cpp | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/kmymoney2/views/kbudgetview.cpp b/kmymoney2/views/kbudgetview.cpp index 210b3a2..e4b1d76 100644 --- a/kmymoney2/views/kbudgetview.cpp +++ b/kmymoney2/views/kbudgetview.cpp @@ -142,38 +142,38 @@ KBudgetView::KBudgetView(TQWidget *parent, const char *name ) : m_resetButton->setGuiItem(resetButtenItem); TQToolTip::add(m_resetButton, resetButtenItem.toolTip()); - connect(m_budgetList, TQT_SIGNAL(contextMenu(TDEListView*, TQListViewItem* , const TQPoint&)), - this, TQT_SLOT(slotOpenContextMenu(TDEListView*, TQListViewItem*, const TQPoint&))); - connect(m_budgetList, TQT_SIGNAL(itemRenamed(TQListViewItem*,int,const TQString&)), this, TQT_SLOT(slotRenameBudget(TQListViewItem*,int,const TQString&))); - connect(m_budgetList, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(slotSelectBudget())); + connect(m_budgetList, TQ_SIGNAL(contextMenu(TDEListView*, TQListViewItem* , const TQPoint&)), + this, TQ_SLOT(slotOpenContextMenu(TDEListView*, TQListViewItem*, const TQPoint&))); + connect(m_budgetList, TQ_SIGNAL(itemRenamed(TQListViewItem*,int,const TQString&)), this, TQ_SLOT(slotRenameBudget(TQListViewItem*,int,const TQString&))); + connect(m_budgetList, TQ_SIGNAL(selectionChanged()), this, TQ_SLOT(slotSelectBudget())); - connect(m_cbBudgetSubaccounts, TQT_SIGNAL(clicked()), this, TQT_SLOT(cb_includesSubaccounts_clicked())); + connect(m_cbBudgetSubaccounts, TQ_SIGNAL(clicked()), this, TQ_SLOT(cb_includesSubaccounts_clicked())); - connect(m_accountTree, TQT_SIGNAL(selectionChanged(TQListViewItem*)), this, TQT_SLOT(slotSelectAccount(TQListViewItem*))); - connect(m_accountTree, TQT_SIGNAL(valueChanged()), this, TQT_SLOT(slotRefreshHideUnusedButton())); + connect(m_accountTree, TQ_SIGNAL(selectionChanged(TQListViewItem*)), this, TQ_SLOT(slotSelectAccount(TQListViewItem*))); + connect(m_accountTree, TQ_SIGNAL(valueChanged()), this, TQ_SLOT(slotRefreshHideUnusedButton())); // connect the buttons to the actions. Make sure the enabled state // of the actions is reflected by the buttons - connect(kmymoney2->action("budget_new"), TQT_SIGNAL(enabled(bool)), m_newButton, TQT_SLOT(setEnabled(bool))); - connect(m_renameButton, TQT_SIGNAL(clicked()), kmymoney2->action("budget_rename"), TQT_SLOT(activate())); - connect(kmymoney2->action("budget_rename"), TQT_SIGNAL(enabled(bool)), m_renameButton, TQT_SLOT(setEnabled(bool))); - connect(m_deleteButton, TQT_SIGNAL(clicked()), kmymoney2->action("budget_delete"), TQT_SLOT(activate())); - connect(kmymoney2->action("budget_delete"), TQT_SIGNAL(enabled(bool)), m_deleteButton, TQT_SLOT(setEnabled(bool))); + connect(kmymoney2->action("budget_new"), TQ_SIGNAL(enabled(bool)), m_newButton, TQ_SLOT(setEnabled(bool))); + connect(m_renameButton, TQ_SIGNAL(clicked()), kmymoney2->action("budget_rename"), TQ_SLOT(activate())); + connect(kmymoney2->action("budget_rename"), TQ_SIGNAL(enabled(bool)), m_renameButton, TQ_SLOT(setEnabled(bool))); + connect(m_deleteButton, TQ_SIGNAL(clicked()), kmymoney2->action("budget_delete"), TQ_SLOT(activate())); + connect(kmymoney2->action("budget_delete"), TQ_SIGNAL(enabled(bool)), m_deleteButton, TQ_SLOT(setEnabled(bool))); - connect(m_budgetValue, TQT_SIGNAL(valuesChanged()), this, TQT_SLOT(slotBudgetedAmountChanged())); + connect(m_budgetValue, TQ_SIGNAL(valuesChanged()), this, TQ_SLOT(slotBudgetedAmountChanged())); - connect(m_newButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotNewBudget())); - connect(m_updateButton, TQT_SIGNAL(pressed()), this, TQT_SLOT(slotUpdateBudget())); - connect(m_resetButton, TQT_SIGNAL(pressed()), this, TQT_SLOT(slotResetBudget())); + connect(m_newButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotNewBudget())); + connect(m_updateButton, TQ_SIGNAL(pressed()), this, TQ_SLOT(slotUpdateBudget())); + connect(m_resetButton, TQ_SIGNAL(pressed()), this, TQ_SLOT(slotResetBudget())); - connect(m_hideUnusedButton, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotHideUnused(bool))); + connect(m_hideUnusedButton, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotHideUnused(bool))); // setup initial state m_newButton->setEnabled(kmymoney2->action("budget_new")->isEnabled()); m_renameButton->setEnabled(kmymoney2->action("budget_rename")->isEnabled()); m_deleteButton->setEnabled(kmymoney2->action("budget_delete")->isEnabled()); - connect(MyMoneyFile::instance(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotRefreshView())); + connect(MyMoneyFile::instance(), TQ_SIGNAL(dataChanged()), this, TQ_SLOT(slotRefreshView())); } KBudgetView::~KBudgetView() @@ -182,7 +182,7 @@ KBudgetView::~KBudgetView() void KBudgetView::show() { - TQTimer::singleShot(50, this, TQT_SLOT(slotRearrange())); + TQTimer::singleShot(50, this, TQ_SLOT(slotRearrange())); TQWidget::show(); if(m_needReload) { slotRefreshView(); @@ -303,7 +303,7 @@ void KBudgetView::slotRefreshView(void) { if(isVisible()) { if(m_inSelection) - TQTimer::singleShot(0, this, TQT_SLOT(slotRefreshView())); + TQTimer::singleShot(0, this, TQ_SLOT(slotRefreshView())); else { loadBudgets(); m_needReload = false; |