summaryrefslogtreecommitdiffstats
path: root/kexi/formeditor/widgetpropertyset.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2019-06-01 15:22:21 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2019-06-01 15:22:21 +0900
commit728b7db2846d191399122c440671fd007cdbd0ae (patch)
treecd5e6f3b5ae67ec464b2c05ce0d41016bd9e30c3 /kexi/formeditor/widgetpropertyset.cpp
parent04a12485219f38e113932e8aa20b6bc12d8fa715 (diff)
downloadkoffice-728b7db2.tar.gz
koffice-728b7db2.zip
Adjusted to use new TQStringVariantMap type.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kexi/formeditor/widgetpropertyset.cpp')
-rw-r--r--kexi/formeditor/widgetpropertyset.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kexi/formeditor/widgetpropertyset.cpp b/kexi/formeditor/widgetpropertyset.cpp
index 64c611124..201826890 100644
--- a/kexi/formeditor/widgetpropertyset.cpp
+++ b/kexi/formeditor/widgetpropertyset.cpp
@@ -275,8 +275,8 @@ WidgetPropertySet::createPropertiesForWidget(TQWidget *w)
if(!tree)
return;
- const TQVariantMap* modifiedProperties = tree->modifiedProperties();
- TQVariantMapConstIterator modifiedPropertiesIt;
+ const TQStringVariantMap* modifiedProperties = tree->modifiedProperties();
+ TQStringVariantMapConstIterator modifiedPropertiesIt;
bool isTopLevel = KFormDesigner::FormManager::self()->isTopLevel(w);
// int count = 0;
KoProperty::Property *newProp = 0;
@@ -416,7 +416,7 @@ WidgetPropertySet::updatePropertyValue(ObjectTreeItem *tree, const char *propert
KoProperty::Property p( d->set[propertyName] );
//! \todo what about set properties, and lists properties
- TQMap<TQString, TQVariant>::ConstIterator it( tree->modifiedProperties()->find(propertyName) );
+ TQStringVariantMap::ConstIterator it( tree->modifiedProperties()->find(propertyName) );
if (it != tree->modifiedProperties()->constEnd()) {
blockSignals(true);
if(meta && meta->isEnumType()) {
@@ -1081,7 +1081,7 @@ WidgetPropertySet::valueCaption(const TQCString &name)
KoProperty::Property::ListData*
WidgetPropertySet::createValueList(WidgetInfo *winfo, const TQStringList &list)
{
-// TQMap <TQString, TQVariant> map;
+// TQStringVariantMap map;
TQStringList names;
TQStringList::ConstIterator endIt = list.end();
for(TQStringList::ConstIterator it = list.begin(); it != endIt; ++it) {