summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/forms/kexidatasourcepage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/plugins/forms/kexidatasourcepage.cpp')
-rw-r--r--kexi/plugins/forms/kexidatasourcepage.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kexi/plugins/forms/kexidatasourcepage.cpp b/kexi/plugins/forms/kexidatasourcepage.cpp
index ce11e7d9..74f9af05 100644
--- a/kexi/plugins/forms/kexidatasourcepage.cpp
+++ b/kexi/plugins/forms/kexidatasourcepage.cpp
@@ -357,26 +357,26 @@ void KexiDataSourcePage::setDataSource(const TQCString& mimeType, const TQCStrin
void KexiDataSourcePage::assignPropertySet(KoProperty::Set* propertySet)
{
TQCString objectName;
- if (propertySet && propertySet->tqcontains("name"))
+ if (propertySet && propertySet->contains("name"))
objectName = (*propertySet)["name"].value().toCString();
if (!objectName.isEmpty() && objectName == m_currentObjectName)
return; //the same object
m_currentObjectName = objectName;
TQCString objectClassName;
- if (propertySet && propertySet->tqcontains("this:className"))
+ if (propertySet && propertySet->contains("this:className"))
objectClassName = (*propertySet)["this:className"].value().toCString();
/*moved if (propertySet) {
TQCString iconName;
TQString objectClassString;
- if (propertySet->tqcontains("this:iconName"))
+ if (propertySet->contains("this:iconName"))
iconName = (*propertySet)["this:iconName"].value().toCString();
- if (propertySet->tqcontains("this:classString"))
+ if (propertySet->contains("this:classString"))
objectClassString = (*propertySet)["this:classString"].value().toString();
m_objectInfoLabel->setObjectName(objectName);
m_objectInfoLabel->setObjectClassIcon(iconName);
m_objectInfoLabel->setObjectClassName(objectClassString);
- if (propertySet->tqcontains("this:className"))
+ if (propertySet->contains("this:className"))
objectClassName = (*propertySet)["this:className"].value().toCString();
}*/
KexiPropertyEditorView::updateInfoLabelForPropertySet(
@@ -396,7 +396,7 @@ void KexiDataSourcePage::assignPropertySet(KoProperty::Set* propertySet)
// else {
const bool multipleSelection = objectClassName=="special:multiple";
- const bool hasDataSourceProperty = propertySet && propertySet->tqcontains("dataSource") && !multipleSelection;
+ const bool hasDataSourceProperty = propertySet && propertySet->contains("dataSource") && !multipleSelection;
if (!isForm) {
//this is a widget