summaryrefslogtreecommitdiffstats
path: root/lib/widgets/propeditor/property.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/widgets/propeditor/property.h')
-rw-r--r--lib/widgets/propeditor/property.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/widgets/propeditor/property.h b/lib/widgets/propeditor/property.h
index a94ea4cb..0e89c8cf 100644
--- a/lib/widgets/propeditor/property.h
+++ b/lib/widgets/propeditor/property.h
@@ -66,7 +66,7 @@ public:
enum PropertyType {
//standard supported TQVariant types
Invalid = TQVariant::Invalid /**<invalid property type*/,
- Map = TQVariant::Map /**<TQMap<TQString, TQVariant>*/,
+ Map = TQVariant::Map /**<TQStringVariantMap*/,
List = TQVariant::List /**<TQValueList<TQVariant>*/,
String = TQVariant::String /**<string*/,
StringList = TQVariant::StringList /**<string list*/,
@@ -120,7 +120,7 @@ public:
Property(int type, const TQString &name, const TQString &description,
const TQVariant &value = TQVariant(), bool save = true, bool readOnly = false);
/**Constructs property with @ref ValueFromList type.*/
- Property(const TQString &name, const TQMap<TQString, TQVariant> &v_valueList,
+ Property(const TQString &name, const TQStringVariantMap &v_valueList,
const TQString &description, const TQVariant &value = TQVariant(), bool save = true, bool readOnly = false);
virtual ~Property();
@@ -144,9 +144,9 @@ public:
virtual void setDescription(const TQString &description);
/**Sets the string-to-value correspondence list of the property.
This is used to create comboboxes-like property editors.*/
- virtual void setValueList(const TQMap<TQString, TQVariant> &list);
+ virtual void setValueList(const TQStringVariantMap &list);
/**The string-to-value correspondence list of the property.*/
- TQMap<TQString, TQVariant> valueList;
+ TQStringVariantMap valueList;
/**Tells if the property can be saved to a stream, xml, etc.
There is a possibility to use "GUI" properties that aren't