diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-04 10:29:46 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-07 14:51:21 +0900 |
| commit | 3a528d873ff72828fb9b19bed38a2b869b449089 (patch) | |
| tree | 9b72c543b078fb622b3dbcdf1c397ae899433638 /kmymoney2/views/kbudgetview.cpp | |
| parent | 04ddc8237ccd12dcc44de5d1f67a99bba019eb2a (diff) | |
| download | kmymoney-3a528d87.tar.gz kmymoney-3a528d87.zip | |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit e84ff3d61520e4200f987d3a0b6bea570b2e8b32)
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; |
