diff options
Diffstat (limited to 'lib/widgets/propeditor/pcombobox.h')
-rw-r--r-- | lib/widgets/propeditor/pcombobox.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/widgets/propeditor/pcombobox.h b/lib/widgets/propeditor/pcombobox.h index 98937eaa..c9da1ad9 100644 --- a/lib/widgets/propeditor/pcombobox.h +++ b/lib/widgets/propeditor/pcombobox.h @@ -38,9 +38,9 @@ class PComboBox: public PropertyWidget{ public: /**This constructor is used for read-only selection combo. It provides a value from valueList*/ - PComboBox(MultiProperty *property, const TQMap<TQString, TQVariant> &list, TQWidget *parent = 0, const char *name = 0); + PComboBox(MultiProperty *property, const TQStringVariantMap &list, TQWidget *parent = 0, const char *name = 0); /**This constructor is used for read-write selection combo. It provides a value from valueList*/ - PComboBox(MultiProperty *property, const TQMap<TQString, TQVariant> &list, bool rw, TQWidget *parent = 0, const char *name = 0); + PComboBox(MultiProperty *property, const TQStringVariantMap &list, bool rw, TQWidget *parent = 0, const char *name = 0); /**@return the value currently entered in the editor widget.*/ virtual TQVariant value() const; @@ -50,7 +50,7 @@ public: /**Sets the list of possible values shown in the editor widget. This method does not emit propertyChanged signal. Reimplemented because combobox is used to display possible values from valueList.*/ - virtual void setValueList(const TQMap<TQString, TQVariant> &valueList); + virtual void setValueList(const TQStringVariantMap &valueList); protected: TQString findDescription(const TQVariant &value); @@ -63,7 +63,7 @@ private: void init(bool rw = false); /** map<description, value>*/ - TQMap<TQString, TQVariant> m_valueList; + TQStringVariantMap m_valueList; TQComboBox *m_edit; }; |