diff options
Diffstat (limited to 'kcontrol/kdm/kbackedcombobox.cpp')
-rw-r--r-- | kcontrol/kdm/kbackedcombobox.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kcontrol/kdm/kbackedcombobox.cpp b/kcontrol/kdm/kbackedcombobox.cpp index 97759db5a..1ba598e49 100644 --- a/kcontrol/kdm/kbackedcombobox.cpp +++ b/kcontrol/kdm/kbackedcombobox.cpp @@ -19,14 +19,14 @@ #include "kbackedcombobox.h" -void KBackedComboBox::insertItem( const QString &id, const QString &name ) +void KBackedComboBox::insertItem( const TQString &id, const TQString &name ) { id2name[id] = name; name2id[name] = id; KComboBox::insertItem( name ); } -void KBackedComboBox::setCurrentId( const QString &id ) +void KBackedComboBox::setCurrentId( const TQString &id ) { if (id2name.contains( id )) setCurrentItem( id2name[id] ); @@ -34,7 +34,7 @@ void KBackedComboBox::setCurrentId( const QString &id ) setCurrentItem( 0 ); } -const QString &KBackedComboBox::currentId() const +const TQString &KBackedComboBox::currentId() const { return name2id[currentText()]; } |