diff options
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", |