summaryrefslogtreecommitdiffstats
path: root/lib/widgets/propeditor/multiproperty.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/widgets/propeditor/multiproperty.cpp')
-rw-r--r--lib/widgets/propeditor/multiproperty.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/widgets/propeditor/multiproperty.cpp b/lib/widgets/propeditor/multiproperty.cpp
index eae14e98..7f8b1935 100644
--- a/lib/widgets/propeditor/multiproperty.cpp
+++ b/lib/widgets/propeditor/multiproperty.cpp
@@ -129,11 +129,11 @@ bool MultiProperty::visible() const
return v;
}
-TQMap<TQString, TQVariant> MultiProperty::valueList() const
+TQStringVariantMap MultiProperty::valueList() const
{
if (list.count() >= 1)
return list.getFirst()->valueList;
- return TQMap<TQString, TQVariant>();
+ return TQStringVariantMap();
}
void MultiProperty::setDescription(const TQString &description)
@@ -176,7 +176,7 @@ void MultiProperty::setValue(const TQVariant &value, bool emitChange)
}
}
-void MultiProperty::setValueList(const TQMap<TQString, TQVariant> &valueList)
+void MultiProperty::setValueList(const TQStringVariantMap &valueList)
{
Property *property;
for (property = list.first(); property; property = list.next())
@@ -232,8 +232,8 @@ TQVariant MultiProperty::findValueDescription() const
TQVariant val = value();
if (type() != Property::ValueFromList)
return val;
- TQMap<TQString, TQVariant> vl = valueList();
- for (TQMap<TQString, TQVariant>::const_iterator it = vl.begin(); it != vl.end(); ++ it)
+ TQStringVariantMap vl = valueList();
+ for (TQStringVariantMap::const_iterator it = vl.begin(); it != vl.end(); ++ it)
{
if (it.data() == val)
return it.key();
@@ -245,8 +245,8 @@ TQVariant MultiProperty::findValueDescription(TQVariant val) const
{
if (type() != Property::ValueFromList)
return val;
- TQMap<TQString, TQVariant> vl = valueList();
- for (TQMap<TQString, TQVariant>::const_iterator it = vl.begin(); it != vl.end(); ++ it)
+ TQStringVariantMap vl = valueList();
+ for (TQStringVariantMap::const_iterator it = vl.begin(); it != vl.end(); ++ it)
{
if (it.data() == val)
return it.key();