diff options
author | Michele Calgaro <[email protected]> | 2019-06-01 15:56:13 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2019-06-01 15:56:13 +0900 |
commit | b1e66b339befa7bdf222f7bb80a431236a3ff689 (patch) | |
tree | 3ae72987233dbeddeb7fe370ee36dbe36077663c /lib/widgets/propeditor/property.h | |
parent | 5fcb1d91b4f52ab609864968a7320eb276f6c068 (diff) | |
download | tdevelop-b1e66b339befa7bdf222f7bb80a431236a3ff689.tar.gz tdevelop-b1e66b339befa7bdf222f7bb80a431236a3ff689.zip |
Adjusted to use new TQStringVariantMap type.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'lib/widgets/propeditor/property.h')
-rw-r--r-- | lib/widgets/propeditor/property.h | 8 |
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 |