summaryrefslogtreecommitdiffstats
path: root/kmymoney2/widgets/kbudgetvalues.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-04 10:29:46 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-07 14:51:21 +0900
commit3a528d873ff72828fb9b19bed38a2b869b449089 (patch)
tree9b72c543b078fb622b3dbcdf1c397ae899433638 /kmymoney2/widgets/kbudgetvalues.cpp
parent04ddc8237ccd12dcc44de5d1f67a99bba019eb2a (diff)
downloadkmymoney-3a528d873ff72828fb9b19bed38a2b869b449089.tar.gz
kmymoney-3a528d873ff72828fb9b19bed38a2b869b449089.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/widgets/kbudgetvalues.cpp')
-rw-r--r--kmymoney2/widgets/kbudgetvalues.cpp16
1 files changed, 8 insertions, 8 deletions
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)