summaryrefslogtreecommitdiffstats
path: root/lib/widgets/propeditor/propertymachinefactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/widgets/propeditor/propertymachinefactory.cpp')
-rw-r--r--lib/widgets/propeditor/propertymachinefactory.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/lib/widgets/propeditor/propertymachinefactory.cpp b/lib/widgets/propeditor/propertymachinefactory.cpp
index 613777d6..cccc3a37 100644
--- a/lib/widgets/propeditor/propertymachinefactory.cpp
+++ b/lib/widgets/propeditor/propertymachinefactory.cpp
@@ -76,7 +76,7 @@ Machine *PropertyMachineFactory::machineForProperty(MultiProperty *property)
TQString propertyName = property->name();
TQMap<TQString, TQVariant> valueList = property->valueList();
- if (m_registeredForType.contains(propertyName))
+ if (m_registeredForType.tqcontains(propertyName))
return (*m_registeredForType[propertyName])();
switch (type)
@@ -162,22 +162,22 @@ Machine *PropertyMachineFactory::machineForProperty(MultiProperty *property)
case Property::Cursor:
{
TQMap<TQString, TQVariant> spValues;
- spValues[i18n("Arrow")] = Qt::ArrowCursor;
- spValues[i18n("Up Arrow")] = Qt::UpArrowCursor;
- spValues[i18n("Cross")] = Qt::CrossCursor;
- spValues[i18n("Waiting")] = Qt::WaitCursor;
- spValues[i18n("iBeam")] = Qt::IbeamCursor;
- spValues[i18n("Size Vertical")] = Qt::SizeVerCursor;
- spValues[i18n("Size Horizontal")] = Qt::SizeHorCursor;
- spValues[i18n("Size Slash")] = Qt::SizeBDiagCursor;
- spValues[i18n("Size Backslash")] = Qt::SizeFDiagCursor;
- spValues[i18n("Size All")] = Qt::SizeAllCursor;
- spValues[i18n("Blank")] = Qt::BlankCursor;
- spValues[i18n("Split Vertical")] = Qt::SplitVCursor;
- spValues[i18n("Split Horizontal")] = Qt::SplitHCursor;
- spValues[i18n("Pointing Hand")] = Qt::PointingHandCursor;
- spValues[i18n("Forbidden")] = Qt::ForbiddenCursor;
- spValues[i18n("What's this")] = Qt::WhatsThisCursor;
+ spValues[i18n("Arrow")] = TQt::ArrowCursor;
+ spValues[i18n("Up Arrow")] = TQt::UpArrowCursor;
+ spValues[i18n("Cross")] = TQt::CrossCursor;
+ spValues[i18n("Waiting")] = TQt::WaitCursor;
+ spValues[i18n("iBeam")] = TQt::IbeamCursor;
+ spValues[i18n("SizeQt::Vertical")] = TQt::SizeVerCursor;
+ spValues[i18n("SizeQt::Horizontal")] = TQt::SizeHorCursor;
+ spValues[i18n("Size Slash")] = TQt::SizeBDiagCursor;
+ spValues[i18n("Size Backslash")] = TQt::SizeFDiagCursor;
+ spValues[i18n("Size All")] = TQt::SizeAllCursor;
+ spValues[i18n("Blank")] = TQt::BlankCursor;
+ spValues[i18n("SplitQt::Vertical")] = TQt::SplitVCursor;
+ spValues[i18n("SplitQt::Horizontal")] = TQt::SplitHCursor;
+ spValues[i18n("Pointing Hand")] = TQt::PointingHandCursor;
+ spValues[i18n("Forbidden")] = TQt::ForbiddenCursor;
+ spValues[i18n("What's this")] = TQt::WhatsThisCursor;
Machine *mach = new Machine(new PCursorEdit(property, spValues));
return mach;
}