diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kcontrol/kdm/kbackedcombobox.cpp | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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()]; } |