diff options
Diffstat (limited to 'kdecore/kconfigdialogmanager.cpp')
-rw-r--r-- | kdecore/kconfigdialogmanager.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kdecore/kconfigdialogmanager.cpp b/kdecore/kconfigdialogmanager.cpp index 1d89bf49b..86495dca8 100644 --- a/kdecore/kconfigdialogmanager.cpp +++ b/kdecore/kconfigdialogmanager.cpp @@ -131,13 +131,13 @@ void KConfigDialogManager::setupWidget(TQWidget *widget, KConfigSkeletonItem *it TQVariant minValue = item->minValue(); if (minValue.isValid()) { - if (widget->metaObject()->findProperty("minValue", true) != -1) + if (widget->tqmetaObject()->tqfindProperty("minValue", true) != -1) widget->setProperty("minValue", minValue); } TQVariant maxValue = item->maxValue(); if (maxValue.isValid()) { - if (widget->metaObject()->findProperty("maxValue", true) != -1) + if (widget->tqmetaObject()->tqfindProperty("maxValue", true) != -1) widget->setProperty("maxValue", maxValue); } if (TQWhatsThis::textFor( widget ).isEmpty()) @@ -153,12 +153,12 @@ void KConfigDialogManager::setupWidget(TQWidget *widget, KConfigSkeletonItem *it bool KConfigDialogManager::parseChildren(const TQWidget *widget, bool trackChanges) { bool valueChanged = false; - const TQObjectList *listOfChildren = widget->children(); - if(!listOfChildren) + const TQObjectList listOfChildren = widget->childrenListObject(); + if(listOfChildren.isEmpty()) return valueChanged; TQObject *object; - for( TQObjectListIterator it( *listOfChildren ); + for( TQObjectListIterator it( listOfChildren ); (object = it.current()); ++it ) { if(!object->isWidgetType()) @@ -181,7 +181,7 @@ bool KConfigDialogManager::parseChildren(const TQWidget *widget, bool trackChang setupWidget(childWidget, item); - TQMap<TQString, TQCString>::const_iterator changedIt = changedMap.find(childWidget->className()); + TQMap<TQString, TQCString>::const_iterator changedIt = changedMap.tqfind(childWidget->className()); if (changedIt == changedMap.end()) { @@ -189,7 +189,7 @@ bool KConfigDialogManager::parseChildren(const TQWidget *widget, bool trackChang // it again using the super class name. This fixes a problem with using QtRuby/Korundum // widgets with KConfigXT where 'Qt::Widget' wasn't being seen a the real deal, even // though it was a 'QWidget'. - changedIt = changedMap.find(childWidget->metaObject()->superClassName()); + changedIt = changedMap.tqfind(childWidget->tqmetaObject()->tqsuperClassName()); } if (changedIt == changedMap.end()) @@ -236,7 +236,7 @@ bool KConfigDialogManager::parseChildren(const TQWidget *widget, bool trackChang #ifndef NDEBUG else if (widgetName) { - TQMap<TQString, TQCString>::const_iterator changedIt = changedMap.find(childWidget->className()); + TQMap<TQString, TQCString>::const_iterator changedIt = changedMap.tqfind(childWidget->className()); if (changedIt != changedMap.end()) { if ((!d->insideGroupBox || !childWidget->inherits("QRadioButton")) && @@ -284,7 +284,7 @@ void KConfigDialogManager::updateWidgets() if (item->isImmutable()) { widget->setEnabled(false); - TQWidget *buddy = d->buddyWidget.find(it.currentKey()); + TQWidget *buddy = d->buddyWidget.tqfind(it.currentKey()); if (buddy) buddy->setEnabled(false); } |