diff options
Diffstat (limited to 'kexi/widget/kexipropertyeditorview.cpp')
-rw-r--r-- | kexi/widget/kexipropertyeditorview.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kexi/widget/kexipropertyeditorview.cpp b/kexi/widget/kexipropertyeditorview.cpp index 801f17b2..5c36cfb0 100644 --- a/kexi/widget/kexipropertyeditorview.cpp +++ b/kexi/widget/kexipropertyeditorview.cpp @@ -183,13 +183,13 @@ void KexiPropertyEditorView::updateInfoLabelForPropertySet(KexiObjectInfoLabel * { TQString className, iconName, objectName; if (set) { - if (set->tqcontains("this:classString")) + if (set->contains("this:classString")) className = (*set)["this:classString"].value().toString(); - if (set->tqcontains("this:iconName")) + if (set->contains("this:iconName")) iconName = (*set)["this:iconName"].value().toString(); - const bool useCaptionAsObjectName = set->tqcontains("this:useCaptionAsObjectName") + const bool useCaptionAsObjectName = set->contains("this:useCaptionAsObjectName") && (*set)["this:useCaptionAsObjectName"].value().toBool(); - if (set->tqcontains(useCaptionAsObjectName ? "caption" : "name")) + if (set->contains(useCaptionAsObjectName ? "caption" : "name")) objectName = (*set)[useCaptionAsObjectName ? "caption" : "name"].value().toString(); } if (!set || objectName.isEmpty()) { |