-rw-r--r-- | kaddressbook/kabcore.cpp | 6 | ||||
-rw-r--r-- | kaddressbook/kabcore.h | 1 |
2 files changed, 6 insertions, 1 deletions
diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp index 3650b20..1433568 100644 --- a/kaddressbook/kabcore.cpp +++ b/kaddressbook/kabcore.cpp @@ -364,3 +364,3 @@ KABCore::KABCore( KXMLGUIClient *client, bool readWrite, QWidget *parent, const connect( mJumpButtonBar, SIGNAL( jumpToLetter( const QString& ) ), - SLOT( incrementalSearch( const QString& ) ) ); + SLOT( incrementalSearchJump( const QString& ) ) ); connect( mIncSearchWidget, SIGNAL( fieldChanged() ), @@ -1175,2 +1175,6 @@ void KABCore::incrementalSearch( const QString& text ) } +void KABCore::incrementalSearchJump( const QString& text ) +{ + mViewManager->doSearch( text, mIncSearchWidget->currentField() ); +} diff --git a/kaddressbook/kabcore.h b/kaddressbook/kabcore.h index 47ea152..d89daee 100644 --- a/kaddressbook/kabcore.h +++ b/kaddressbook/kabcore.h @@ -255,2 +255,3 @@ class KABCore : public QWidget, public KSyncInterface void incrementalSearch( const QString& text ); + void incrementalSearchJump( const QString& text ); |