summaryrefslogtreecommitdiffstats
path: root/src/kchmindexwindow.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
commit8cbd3f41229fc385698bfd9a5524ba2610777543 (patch)
tree05595d691d2d657866204352d65e5b85cfd30384 /src/kchmindexwindow.cpp
parent411ae7c171b854c759cc87a403add976a2b516ee (diff)
downloadkchmviewer-8cbd3f41229fc385698bfd9a5524ba2610777543.tar.gz
kchmviewer-8cbd3f41229fc385698bfd9a5524ba2610777543.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kchmviewer@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/kchmindexwindow.cpp')
-rw-r--r--src/kchmindexwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kchmindexwindow.cpp b/src/kchmindexwindow.cpp
index 4853f13..04c68cf 100644
--- a/src/kchmindexwindow.cpp
+++ b/src/kchmindexwindow.cpp
@@ -80,7 +80,7 @@ KCHMIndexWindow::KCHMIndexWindow ( TQWidget * tqparent, const char * name, WFlag
void KCHMIndexWindow::onTextChanged ( const TQString & newvalue)
{
- m_lastSelectedItem = m_indexList->tqfindItem (newvalue, 0, TQt::BeginsWith);
+ m_lastSelectedItem = m_indexList->findItem (newvalue, 0, TQt::BeginsWith);
if ( m_lastSelectedItem )
{
@@ -124,7 +124,7 @@ void KCHMIndexWindow::onDoubleClicked( TQListViewItem *item, const TQPoint &, in
if ( url[0] == ':' ) // 'see also' link
{
- m_lastSelectedItem = m_indexList->tqfindItem (url.mid(1), 0);
+ m_lastSelectedItem = m_indexList->findItem (url.mid(1), 0);
if ( m_lastSelectedItem )
{
m_indexList->ensureItemVisible (m_lastSelectedItem);