diff options
Diffstat (limited to 'lib/widgets/propeditor/propertymachinefactory.cpp')
-rw-r--r-- | lib/widgets/propeditor/propertymachinefactory.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/lib/widgets/propeditor/propertymachinefactory.cpp b/lib/widgets/propeditor/propertymachinefactory.cpp index 0ab0945f..613777d6 100644 --- a/lib/widgets/propeditor/propertymachinefactory.cpp +++ b/lib/widgets/propeditor/propertymachinefactory.cpp @@ -22,10 +22,10 @@ #ifndef PURE_QT #include <klocale.h> #else -#define i18n QObject::tr +#define i18n TQObject::tr #endif -#include <qmap.h> +#include <tqmap.h> #include "property.h" #include "childproperty.h" @@ -73,8 +73,8 @@ PropertyMachineFactory::~PropertyMachineFactory() Machine *PropertyMachineFactory::machineForProperty(MultiProperty *property) { int type = property->type(); - QString propertyName = property->name(); - QMap<QString, QVariant> valueList = property->valueList(); + TQString propertyName = property->name(); + TQMap<TQString, TQVariant> valueList = property->valueList(); if (m_registeredForType.contains(propertyName)) return (*m_registeredForType[propertyName])(); @@ -143,14 +143,14 @@ Machine *PropertyMachineFactory::machineForProperty(MultiProperty *property) } case Property::SizePolicy: { - QMap<QString, QVariant> spValues; - spValues[i18n("Fixed")] = QSizePolicy::Fixed; - spValues[i18n("Minimum")] = QSizePolicy::Minimum; - spValues[i18n("Maximum")] = QSizePolicy::Maximum; - spValues[i18n("Preferred")] = QSizePolicy::Preferred; - spValues[i18n("Expanding")] = QSizePolicy::Expanding; - spValues[i18n("Minimum Expanding")] = QSizePolicy::MinimumExpanding; - spValues[i18n("Ignored")] = QSizePolicy::Ignored; + TQMap<TQString, TQVariant> spValues; + spValues[i18n("Fixed")] = TQSizePolicy::Fixed; + spValues[i18n("Minimum")] = TQSizePolicy::Minimum; + spValues[i18n("Maximum")] = TQSizePolicy::Maximum; + spValues[i18n("Preferred")] = TQSizePolicy::Preferred; + spValues[i18n("Expanding")] = TQSizePolicy::Expanding; + spValues[i18n("Minimum Expanding")] = TQSizePolicy::MinimumExpanding; + spValues[i18n("Ignored")] = TQSizePolicy::Ignored; Machine *mach = new Machine(new PSizePolicyEdit(property, spValues)); property->details.append(ChildProperty(property, i18n("hSizeType"), ChildProperty::SizePolicy_HorData, spValues, i18n("Horizontal Size Type"))); @@ -161,7 +161,7 @@ Machine *PropertyMachineFactory::machineForProperty(MultiProperty *property) } case Property::Cursor: { - QMap<QString, QVariant> spValues; + TQMap<TQString, TQVariant> spValues; spValues[i18n("Arrow")] = Qt::ArrowCursor; spValues[i18n("Up Arrow")] = Qt::UpArrowCursor; spValues[i18n("Cross")] = Qt::CrossCursor; |