diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-06-01 15:22:21 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-06-01 15:22:21 +0900 |
commit | 728b7db2846d191399122c440671fd007cdbd0ae (patch) | |
tree | cd5e6f3b5ae67ec464b2c05ce0d41016bd9e30c3 /lib/koproperty/editors/combobox.cpp | |
parent | 04a12485219f38e113932e8aa20b6bc12d8fa715 (diff) | |
download | koffice-728b7db2846d191399122c440671fd007cdbd0ae.tar.gz koffice-728b7db2846d191399122c440671fd007cdbd0ae.zip |
Adjusted to use new TQStringVariantMap type.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'lib/koproperty/editors/combobox.cpp')
-rw-r--r-- | lib/koproperty/editors/combobox.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/koproperty/editors/combobox.cpp b/lib/koproperty/editors/combobox.cpp index 1e2a47d4..92b437e9 100644 --- a/lib/koproperty/editors/combobox.cpp +++ b/lib/koproperty/editors/combobox.cpp @@ -178,7 +178,7 @@ ComboBox::setReadOnlyInternal(bool readOnly) /*TQString ComboBox::keyForValue(const TQVariant &value) { - const TQMap<TQString, TQVariant> *list = property()->valueList(); + const TQStringVariantMap *list = property()->valueList(); Property::ListData *list = property()->listData(); if (!list) @@ -186,8 +186,8 @@ ComboBox::keyForValue(const TQVariant &value) int idx = listData->keys.findIndex( value ); - TQMap<TQString, TQVariant>::ConstIterator endIt = list->constEnd(); - for(TQMap<TQString, TQVariant>::ConstIterator it = list->constBegin(); it != endIt; ++it) { + TQStringVariantMap::ConstIterator endIt = list->constEnd(); + for(TQStringVariantMap::ConstIterator it = list->constBegin(); it != endIt; ++it) { if(it.data() == value) return it.key(); } |