summaryrefslogtreecommitdiffstats
path: root/kmymoney2/widgets/kmymoneycalculator.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-04 10:29:46 +0900
committerMichele Calgaro <[email protected]>2024-01-04 10:52:07 +0900
commite84ff3d61520e4200f987d3a0b6bea570b2e8b32 (patch)
tree43f3284f87377cf1b3cb29edfc8893484731518b /kmymoney2/widgets/kmymoneycalculator.cpp
parentda9081a78aa22cc87ff98f07719e1c3befaebfc2 (diff)
downloadkmymoney-e84ff3d61520e4200f987d3a0b6bea570b2e8b32.tar.gz
kmymoney-e84ff3d61520e4200f987d3a0b6bea570b2e8b32.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kmymoney2/widgets/kmymoneycalculator.cpp')
-rw-r--r--kmymoney2/widgets/kmymoneycalculator.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kmymoney2/widgets/kmymoneycalculator.cpp b/kmymoney2/widgets/kmymoneycalculator.cpp
index 758f4a2..7e8bd20 100644
--- a/kmymoney2/widgets/kmymoneycalculator.cpp
+++ b/kmymoney2/widgets/kmymoneycalculator.cpp
@@ -111,24 +111,24 @@ kMyMoneyCalculator::kMyMoneyCalculator(TQWidget* parent, const char *name)
TQSignalMapper* mapper = new TQSignalMapper(this);
for(int i = 0; i < 10; ++i) {
mapper->setMapping(buttons[i], i);
- connect(buttons[i], TQT_SIGNAL(clicked()), mapper, TQT_SLOT(map()));
+ connect(buttons[i], TQ_SIGNAL(clicked()), mapper, TQ_SLOT(map()));
}
- connect(mapper, TQT_SIGNAL(mapped(int)), this, TQT_SLOT(digitClicked(int)));
+ connect(mapper, TQ_SIGNAL(mapped(int)), this, TQ_SLOT(digitClicked(int)));
// connect the calculation operations through another mapper
mapper = new TQSignalMapper(this);
for(int i = PLUS; i <= EQUAL; ++i) {
mapper->setMapping(buttons[i], i);
- connect(buttons[i], TQT_SIGNAL(clicked()), mapper, TQT_SLOT(map()));
+ connect(buttons[i], TQ_SIGNAL(clicked()), mapper, TQ_SLOT(map()));
}
- connect(mapper, TQT_SIGNAL(mapped(int)), this, TQT_SLOT(calculationClicked(int)));
+ connect(mapper, TQ_SIGNAL(mapped(int)), this, TQ_SLOT(calculationClicked(int)));
// connect all remaining signals
- connect(buttons[COMMA], TQT_SIGNAL(clicked()), TQT_SLOT(commaClicked()));
- connect(buttons[PLUSMINUS], TQT_SIGNAL(clicked()), TQT_SLOT(plusminusClicked()));
- connect(buttons[PERCENT], TQT_SIGNAL(clicked()), TQT_SLOT(percentClicked()));
- connect(buttons[CLEAR], TQT_SIGNAL(clicked()), TQT_SLOT(clearClicked()));
- connect(buttons[CLEARALL], TQT_SIGNAL(clicked()), TQT_SLOT(clearAllClicked()));
+ connect(buttons[COMMA], TQ_SIGNAL(clicked()), TQ_SLOT(commaClicked()));
+ connect(buttons[PLUSMINUS], TQ_SIGNAL(clicked()), TQ_SLOT(plusminusClicked()));
+ connect(buttons[PERCENT], TQ_SIGNAL(clicked()), TQ_SLOT(percentClicked()));
+ connect(buttons[CLEAR], TQ_SIGNAL(clicked()), TQ_SLOT(clearClicked()));
+ connect(buttons[CLEARALL], TQ_SIGNAL(clicked()), TQ_SLOT(clearAllClicked()));
for(int i = 0; i < MAX_BUTTONS; ++i) {
buttons[i]->setMinimumSize(40, 30);