summaryrefslogtreecommitdiffstats
path: root/lib/widgets/propeditor/propertymachinefactory.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
commit48d4a26399959121f33d2bc3bfe51c7827b654fc (patch)
tree5ae5e6e00d3ba330b7b8be9bc097154b6bc739e8 /lib/widgets/propeditor/propertymachinefactory.cpp
parent7e701ace6592d09e1f2c0cf28c7d6d872d78f4f5 (diff)
downloadtdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.tar.gz
tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.zip
TQt4 port kdevelop
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1236710 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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;
}