diff options
author | Michele Calgaro <[email protected]> | 2024-01-04 10:29:46 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-07 14:51:21 +0900 |
commit | 3a528d873ff72828fb9b19bed38a2b869b449089 (patch) | |
tree | 9b72c543b078fb622b3dbcdf1c397ae899433638 /kmymoney2/widgets/kguiutils.cpp | |
parent | 04ddc8237ccd12dcc44de5d1f67a99bba019eb2a (diff) | |
download | kmymoney-3a528d873ff72828fb9b19bed38a2b869b449089.tar.gz kmymoney-3a528d873ff72828fb9b19bed38a2b869b449089.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit e84ff3d61520e4200f987d3a0b6bea570b2e8b32)
Diffstat (limited to 'kmymoney2/widgets/kguiutils.cpp')
-rw-r--r-- | kmymoney2/widgets/kguiutils.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kmymoney2/widgets/kguiutils.cpp b/kmymoney2/widgets/kguiutils.cpp index b5d963b..6e9f40a 100644 --- a/kmymoney2/widgets/kguiutils.cpp +++ b/kmymoney2/widgets/kguiutils.cpp @@ -57,33 +57,33 @@ void kMandatoryFieldGroup::add(TQWidget *widget) if (!widgets.contains(widget)) { if (widget->inherits("TQCheckBox")) connect((TQCheckBox*)widget->tqt_cast("TQCheckBox"), - TQT_SIGNAL(clicked()), - this, TQT_SLOT(changed())); + TQ_SIGNAL(clicked()), + this, TQ_SLOT(changed())); else if (widget->inherits("TQComboBox")) { TQComboBox* combo = (TQComboBox*)widget->tqt_cast("TQComboBox"); TQLineEdit* lineedit = combo->lineEdit(); if(lineedit) { - connect(lineedit, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(changed())); + connect(lineedit, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(changed())); } else { - connect(combo, TQT_SIGNAL(highlighted(int)), this, TQT_SLOT(changed())); + connect(combo, TQ_SIGNAL(highlighted(int)), this, TQ_SLOT(changed())); } } else if (widget->inherits("TQLineEdit")) connect((TQLineEdit*)widget->tqt_cast("TQLineEdit"), - TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(changed())); + TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(changed())); else if (widget->inherits("TQSpinBox")) connect((TQSpinBox*)widget->tqt_cast("TQSpinBox"), - TQT_SIGNAL(valueChanged(const TQString&)), - this, TQT_SLOT(changed())); + TQ_SIGNAL(valueChanged(const TQString&)), + this, TQ_SLOT(changed())); else if (widget->inherits("TQListBox")) connect((TQListBox*)widget->tqt_cast("TQListBox"), - TQT_SIGNAL(selectionChanged()), - this, TQT_SLOT(changed())); + TQ_SIGNAL(selectionChanged()), + this, TQ_SLOT(changed())); else { tqWarning("MandatoryFieldGroup: unsupported class %s", |