summaryrefslogtreecommitdiffstats
path: root/src/kchmindexwindow.cpp
diff options
context:
space:
mode:
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);