diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | b6edfe41c9395f2e20784cbf0e630af6426950a3 (patch) | |
tree | 56ed9b871d4296e6c15949c24e16420be1b28697 /lib/koproperty/editors/combobox.cpp | |
parent | ef39e8e4178a8f98cf5f154916ba0f03e4855206 (diff) | |
download | koffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.tar.gz koffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 f1206f2d..661aa1e0 100644 --- a/lib/koproperty/editors/combobox.cpp +++ b/lib/koproperty/editors/combobox.cpp @@ -71,7 +71,7 @@ ComboBox::value() const if (idx<0 || idx>=(int)property()->listData()->keys.count()) return TQVariant(); return TQVariant( property()->listData()->keys[idx] ); -// if(property()->listData() && property()->listData()->tqcontains(m_edit->currentText())) +// if(property()->listData() && property()->listData()->contains(m_edit->currentText())) // return (*(property()->valueList()))[m_edit->currentText()]; // return TQVariant(); } @@ -85,7 +85,7 @@ ComboBox::setValue(const TQVariant &value, bool emitChange) } if (!m_setValueEnabled) return; - int idx = property()->listData()->keys.tqfindIndex( value ); + int idx = property()->listData()->keys.findIndex( value ); if (idx>=0 && idx<m_edit->count()) { m_edit->setCurrentItem(idx); } @@ -120,7 +120,7 @@ ComboBox::drawViewer(TQPainter *p, const TQColorGroup &cg, const TQRect &r, cons { TQString txt; if (property()->listData()) { - const int idx = property()->listData()->keys.tqfindIndex( value ); + const int idx = property()->listData()->keys.findIndex( value ); if (idx>=0) txt = property()->listData()->names[ idx ]; } |