diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-06-01 15:56:13 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-06-01 15:56:13 +0900 |
commit | b1e66b339befa7bdf222f7bb80a431236a3ff689 (patch) | |
tree | 3ae72987233dbeddeb7fe370ee36dbe36077663c /lib/widgets/propeditor/psizepolicyedit.cpp | |
parent | 5fcb1d91b4f52ab609864968a7320eb276f6c068 (diff) | |
download | tdevelop-b1e66b339befa7bdf222f7bb80a431236a3ff689.tar.gz tdevelop-b1e66b339befa7bdf222f7bb80a431236a3ff689.zip |
Adjusted to use new TQStringVariantMap type.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'lib/widgets/propeditor/psizepolicyedit.cpp')
-rw-r--r-- | lib/widgets/propeditor/psizepolicyedit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/widgets/propeditor/psizepolicyedit.cpp b/lib/widgets/propeditor/psizepolicyedit.cpp index 99983457..95ff54f7 100644 --- a/lib/widgets/propeditor/psizepolicyedit.cpp +++ b/lib/widgets/propeditor/psizepolicyedit.cpp @@ -26,7 +26,7 @@ namespace PropertyLib{ -PSizePolicyEdit::PSizePolicyEdit(MultiProperty* property, const TQMap<TQString, TQVariant> &spValues, TQWidget* parent, const char* name) +PSizePolicyEdit::PSizePolicyEdit(MultiProperty* property, const TQStringVariantMap &spValues, TQWidget* parent, const char* name) :PropertyWidget(property, parent, name), m_spValues(spValues) { TQHBoxLayout *l = new TQHBoxLayout(this, 0, 0); @@ -62,7 +62,7 @@ void PSizePolicyEdit::setValue(const TQVariant& value, bool emitChange) TQString PSizePolicyEdit::findValueDescription(TQVariant val) const { // tqWarning("PSizePolicyEdit::findValueDescription : %d", val.toInt()); - for (TQMap<TQString, TQVariant>::const_iterator it = m_spValues.begin(); it != m_spValues.end(); ++ it) + for (TQStringVariantMap::const_iterator it = m_spValues.begin(); it != m_spValues.end(); ++ it) { if (it.data() == val) return it.key(); |