From b1e66b339befa7bdf222f7bb80a431236a3ff689 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 1 Jun 2019 15:56:13 +0900 Subject: Adjusted to use new TQStringVariantMap type. Signed-off-by: Michele Calgaro --- lib/widgets/propeditor/propertymachinefactory.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/widgets/propeditor/propertymachinefactory.cpp') 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 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 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 spValues; + TQStringVariantMap spValues; spValues[i18n("Arrow")] = TQt::ArrowCursor; spValues[i18n("Up Arrow")] = TQt::UpArrowCursor; spValues[i18n("Cross")] = TQt::CrossCursor; -- cgit v1.2.3