diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-07 21:08:26 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-07 21:08:26 -0600 |
commit | 7e63733ce77d2746c2095de17312f364feb800b2 (patch) | |
tree | d96a0963a139929b77f1a5a787410837c4f0ed9a /kmymoney2/widgets/kguiutils.cpp | |
parent | 96bbdf843659cbcbdc5b449c87e7251cc65285cd (diff) | |
download | kmymoney-7e63733ce77d2746c2095de17312f364feb800b2.tar.gz kmymoney-7e63733ce77d2746c2095de17312f364feb800b2.zip |
Rename additional members for tqt3
Diffstat (limited to 'kmymoney2/widgets/kguiutils.cpp')
-rw-r--r-- | kmymoney2/widgets/kguiutils.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kmymoney2/widgets/kguiutils.cpp b/kmymoney2/widgets/kguiutils.cpp index 24bf3f6..35ab815 100644 --- a/kmymoney2/widgets/kguiutils.cpp +++ b/kmymoney2/widgets/kguiutils.cpp @@ -52,12 +52,12 @@ void kMandatoryFieldGroup::add(TQWidget *widget) { if (!widgets.contains(widget)) { if (widget->inherits(TQCHECKBOX_OBJECT_NAME_STRING)) - connect((TQCheckBox*)widget->qt_cast(TQCHECKBOX_OBJECT_NAME_STRING), + connect((TQCheckBox*)widget->tqt_cast(TQCHECKBOX_OBJECT_NAME_STRING), TQT_SIGNAL(clicked()), this, TQT_SLOT(changed())); else if (widget->inherits(TQCOMBOBOX_OBJECT_NAME_STRING)) { - TQComboBox* combo = (TQComboBox*)widget->qt_cast(TQCOMBOBOX_OBJECT_NAME_STRING); + TQComboBox* combo = (TQComboBox*)widget->tqt_cast(TQCOMBOBOX_OBJECT_NAME_STRING); TQLineEdit* lineedit = combo->lineEdit(); if(lineedit) { connect(lineedit, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(changed())); @@ -67,17 +67,17 @@ void kMandatoryFieldGroup::add(TQWidget *widget) } else if (widget->inherits(TQLINEEDIT_OBJECT_NAME_STRING)) - connect((TQLineEdit*)widget->qt_cast(TQLINEEDIT_OBJECT_NAME_STRING), + connect((TQLineEdit*)widget->tqt_cast(TQLINEEDIT_OBJECT_NAME_STRING), TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(changed())); else if (widget->inherits(TQSPINBOX_OBJECT_NAME_STRING)) - connect((TQSpinBox*)widget->qt_cast(TQSPINBOX_OBJECT_NAME_STRING), + connect((TQSpinBox*)widget->tqt_cast(TQSPINBOX_OBJECT_NAME_STRING), TQT_SIGNAL(valueChanged(const TQString&)), this, TQT_SLOT(changed())); else if (widget->inherits(TQLISTBOX_OBJECT_NAME_STRING)) - connect((TQListBox*)widget->qt_cast(TQLISTBOX_OBJECT_NAME_STRING), + connect((TQListBox*)widget->tqt_cast(TQLISTBOX_OBJECT_NAME_STRING), TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(changed())); @@ -122,28 +122,28 @@ void kMandatoryFieldGroup::changed(void) continue; } if (widget->inherits(TQCHECKBOX_OBJECT_NAME_STRING)) { - if (((TQCheckBox*)widget->qt_cast(TQCHECKBOX_OBJECT_NAME_STRING))->state() == TQButton::NoChange) { + if (((TQCheckBox*)widget->tqt_cast(TQCHECKBOX_OBJECT_NAME_STRING))->state() == TQButton::NoChange) { enable = false; break; } else continue; } if (widget->inherits(TQCOMBOBOX_OBJECT_NAME_STRING)) { - if (((TQComboBox*)widget->qt_cast(TQCOMBOBOX_OBJECT_NAME_STRING))->currentText().isEmpty()) { + if (((TQComboBox*)widget->tqt_cast(TQCOMBOBOX_OBJECT_NAME_STRING))->currentText().isEmpty()) { enable = false; break; } else continue; } if (widget->inherits(TQLINEEDIT_OBJECT_NAME_STRING)) { - if (((TQLineEdit*)widget->qt_cast(TQLINEEDIT_OBJECT_NAME_STRING))->text().isEmpty()) { + if (((TQLineEdit*)widget->tqt_cast(TQLINEEDIT_OBJECT_NAME_STRING))->text().isEmpty()) { enable = false; break; } else continue; } if (widget->inherits(TQLISTBOX_OBJECT_NAME_STRING)) { - if (((TQListBox*)widget->qt_cast(TQLISTBOX_OBJECT_NAME_STRING))->selectedItem() == 0) { + if (((TQListBox*)widget->tqt_cast(TQLISTBOX_OBJECT_NAME_STRING))->selectedItem() == 0) { enable = false; break; } else |