From c4357089980802187203b6e418f0f267043d7041 Mon Sep 17 00:00:00 2001 From: zautrix Date: Tue, 29 Mar 2005 21:36:59 +0000 Subject: fix --- (limited to 'kaddressbook') diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp index 3650b20..1433568 100644 --- a/kaddressbook/kabcore.cpp +++ b/kaddressbook/kabcore.cpp @@ -362,7 +362,7 @@ KABCore::KABCore( KXMLGUIClient *client, bool readWrite, QWidget *parent, const SLOT( setModified() ) ); connect( mJumpButtonBar, SIGNAL( jumpToLetter( const QString& ) ), - SLOT( incrementalSearch( const QString& ) ) ); + SLOT( incrementalSearchJump( const QString& ) ) ); connect( mIncSearchWidget, SIGNAL( fieldChanged() ), mJumpButtonBar, SLOT( recreateButtons() ) ); @@ -1173,6 +1173,10 @@ void KABCore::incrementalSearch( const QString& text ) } mViewManager->doSearch( stext, mIncSearchWidget->currentField() ); } +void KABCore::incrementalSearchJump( const QString& text ) +{ + mViewManager->doSearch( text, mIncSearchWidget->currentField() ); +} void KABCore::setModified() { diff --git a/kaddressbook/kabcore.h b/kaddressbook/kabcore.h index 47ea152..d89daee 100644 --- a/kaddressbook/kabcore.h +++ b/kaddressbook/kabcore.h @@ -253,6 +253,7 @@ class KABCore : public QWidget, public KSyncInterface the given text, and selects it in the view. */ void incrementalSearch( const QString& text ); + void incrementalSearchJump( const QString& text ); /** Marks the address book as modified. -- cgit v0.9.0.2