summaryrefslogtreecommitdiffstats
path: root/src/common/gui/editlistbox.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commitd98fea1f859d23e1b1220a65d7a8eda3b757fd08 (patch)
treea7e6a450baf5017f93f73636f9e8f9b5e9a56f05 /src/common/gui/editlistbox.cpp
parent704123e8152edcd80447659317f1c8b31a1576e6 (diff)
downloadpiklab-d98fea1f859d23e1b1220a65d7a8eda3b757fd08.tar.gz
piklab-d98fea1f859d23e1b1220a65d7a8eda3b757fd08.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/piklab@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/common/gui/editlistbox.cpp')
-rw-r--r--src/common/gui/editlistbox.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/gui/editlistbox.cpp b/src/common/gui/editlistbox.cpp
index 2e40b8a..62a1d98 100644
--- a/src/common/gui/editlistbox.cpp
+++ b/src/common/gui/editlistbox.cpp
@@ -205,7 +205,7 @@ void EditListBox::addItem(const TQString &text)
{
bool alreadyInList(false);
//if we didn't check for dupes at the inserting we have to do it now
- if ( _mode==DuplicatesDisallowed ) alreadyInList = _listView->tqfindItem(text, textColumn());
+ if ( _mode==DuplicatesDisallowed ) alreadyInList = _listView->findItem(text, textColumn());
if (m_lineEdit) {
bool block = m_lineEdit->signalsBlocked();
@@ -311,7 +311,7 @@ void EditListBox::updateButtons()
TQString text = m_lineEdit->text();
if ( _mode!=DuplicatesCheckedAtEntering ) _addButton->setEnabled(!text.isEmpty());
else if ( text.isEmpty() ) _addButton->setEnabled(false);
- else _addButton->setEnabled(!_listView->tqfindItem(text, textColumn()));
+ else _addButton->setEnabled(!_listView->findItem(text, textColumn()));
}
}
if (_removeButton) _removeButton->setEnabled(item);