summaryrefslogtreecommitdiffstats
path: root/lib/widgets/propeditor/propertymachinefactory.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2019-06-01 15:56:13 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2019-06-01 15:56:13 +0900
commitb1e66b339befa7bdf222f7bb80a431236a3ff689 (patch)
tree3ae72987233dbeddeb7fe370ee36dbe36077663c /lib/widgets/propeditor/propertymachinefactory.cpp
parent5fcb1d91b4f52ab609864968a7320eb276f6c068 (diff)
downloadtdevelop-b1e66b33.tar.gz
tdevelop-b1e66b33.zip
Adjusted to use new TQStringVariantMap type.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'lib/widgets/propeditor/propertymachinefactory.cpp')
-rw-r--r--lib/widgets/propeditor/propertymachinefactory.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/widgets/propeditor/propertymachinefactory.cpp b/lib/widgets/propeditor/propertymachinefactory.cpp
index 389fc38f..0d92beee 100644
--- a/lib/widgets/propeditor/propertymachinefactory.cpp
+++ b/lib/widgets/propeditor/propertymachinefactory.cpp
@@ -74,7 +74,7 @@ Machine *PropertyMachineFactory::machineForProperty(MultiProperty *property)
{
int type = property->type();
TQString propertyName = property->name();
- TQMap<TQString, TQVariant> valueList = property->valueList();
+ TQStringVariantMap valueList = property->valueList();
if (m_registeredForType.contains(propertyName))
return (*m_registeredForType[propertyName])();
@@ -143,7 +143,7 @@ Machine *PropertyMachineFactory::machineForProperty(MultiProperty *property)
}
case Property::SizePolicy:
{
- TQMap<TQString, TQVariant> spValues;
+ TQStringVariantMap spValues;
spValues[i18n("Fixed")] = TQSizePolicy::Fixed;
spValues[i18n("Minimum")] = TQSizePolicy::Minimum;
spValues[i18n("Maximum")] = TQSizePolicy::Maximum;
@@ -161,7 +161,7 @@ Machine *PropertyMachineFactory::machineForProperty(MultiProperty *property)
}
case Property::Cursor:
{
- TQMap<TQString, TQVariant> spValues;
+ TQStringVariantMap spValues;
spValues[i18n("Arrow")] = TQt::ArrowCursor;
spValues[i18n("Up Arrow")] = TQt::UpArrowCursor;
spValues[i18n("Cross")] = TQt::CrossCursor;