From e84ff3d61520e4200f987d3a0b6bea570b2e8b32 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 4 Jan 2024 10:29:46 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- kmymoney2/widgets/kbudgetvalues.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'kmymoney2/widgets/kbudgetvalues.cpp') diff --git a/kmymoney2/widgets/kbudgetvalues.cpp b/kmymoney2/widgets/kbudgetvalues.cpp index 70c2079..5c0e6aa 100644 --- a/kmymoney2/widgets/kbudgetvalues.cpp +++ b/kmymoney2/widgets/kbudgetvalues.cpp @@ -83,20 +83,20 @@ KBudgetValues::KBudgetValues(TQWidget* parent, const char* name) : m_monthlyButton->setChecked(true); slotChangePeriod(m_periodGroup->id(m_monthlyButton)); - // connect(m_budgetLevel, TQT_SIGNAL(currentChanged(TQWidget*)), this, TQT_SIGNAL(valuesChanged())); - connect(m_amountMonthly, TQT_SIGNAL(valueChanged(const TQString&)), this, TQT_SLOT(slotNeedUpdate())); - connect(m_amountYearly, TQT_SIGNAL(valueChanged(const TQString&)), this, TQT_SLOT(slotNeedUpdate())); + // connect(m_budgetLevel, TQ_SIGNAL(currentChanged(TQWidget*)), this, TQ_SIGNAL(valuesChanged())); + connect(m_amountMonthly, TQ_SIGNAL(valueChanged(const TQString&)), this, TQ_SLOT(slotNeedUpdate())); + connect(m_amountYearly, TQ_SIGNAL(valueChanged(const TQString&)), this, TQ_SLOT(slotNeedUpdate())); m_amountMonthly->installEventFilter(this); m_amountYearly->installEventFilter(this); for(int i=0; i < 12; ++i) { - connect(m_field[i], TQT_SIGNAL(valueChanged(const TQString&)), this, TQT_SLOT(slotNeedUpdate())); + connect(m_field[i], TQ_SIGNAL(valueChanged(const TQString&)), this, TQ_SLOT(slotNeedUpdate())); m_field[i]->installEventFilter(this); } - connect(m_clearButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotClearAllValues())); - connect(m_periodGroup, TQT_SIGNAL(clicked(int)), this, TQT_SLOT(slotChangePeriod(int))); - connect(this, TQT_SIGNAL(valuesChanged()), this, TQT_SLOT(slotUpdateClearButton())); + connect(m_clearButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotClearAllValues())); + connect(m_periodGroup, TQ_SIGNAL(clicked(int)), this, TQ_SLOT(slotChangePeriod(int))); + connect(this, TQ_SIGNAL(valuesChanged()), this, TQ_SLOT(slotUpdateClearButton())); KGuiItem clearItem(KStdGuiItem::clear()); @@ -242,7 +242,7 @@ void KBudgetValues::slotChangePeriod(int id) void KBudgetValues::slotNeedUpdate(void) { if(!signalsBlocked()) - TQTimer::singleShot(0, this, TQT_SIGNAL(valuesChanged())); + TQTimer::singleShot(0, this, TQ_SIGNAL(valuesChanged())); } void KBudgetValues::enableMonths(bool enabled) -- cgit v1.2.1