summaryrefslogtreecommitdiffstats
path: root/lib/koproperty/editors/combobox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/koproperty/editors/combobox.cpp')
-rw-r--r--lib/koproperty/editors/combobox.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/koproperty/editors/combobox.cpp b/lib/koproperty/editors/combobox.cpp
index 1e2a47d43..92b437e9a 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();
}