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-04 10:52:07 +0900 |
commit | e84ff3d61520e4200f987d3a0b6bea570b2e8b32 (patch) | |
tree | 43f3284f87377cf1b3cb29edfc8893484731518b /kmymoney2/widgets/kguiutils.cpp | |
parent | da9081a78aa22cc87ff98f07719e1c3befaebfc2 (diff) | |
download | kmymoney-e84ff3d61520e4200f987d3a0b6bea570b2e8b32.tar.gz kmymoney-e84ff3d61520e4200f987d3a0b6bea570b2e8b32.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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", |