author | zautrix <zautrix> | 2005-03-29 21:36:59 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-03-29 21:36:59 (UTC) |
commit | c4357089980802187203b6e418f0f267043d7041 (patch) (side-by-side diff) | |
tree | b73f0d95e90f41979ca65e33803d258c77959db9 /kaddressbook | |
parent | 4a567b23fa5b4e3165839a478dca8eab513959a2 (diff) | |
download | kdepimpi-c4357089980802187203b6e418f0f267043d7041.zip kdepimpi-c4357089980802187203b6e418f0f267043d7041.tar.gz kdepimpi-c4357089980802187203b6e418f0f267043d7041.tar.bz2 |
fix
-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 @@ -359,13 +359,13 @@ KABCore::KABCore( KXMLGUIClient *client, bool readWrite, QWidget *parent, const connect( mExtensionManager, SIGNAL( changedActiveExtension( int ) ), this, SLOT( extensionChanged( int ) ) ); connect( mXXPortManager, SIGNAL( modified() ), SLOT( setModified() ) ); connect( mJumpButtonBar, SIGNAL( jumpToLetter( const QString& ) ), - SLOT( incrementalSearch( const QString& ) ) ); + SLOT( incrementalSearchJump( const QString& ) ) ); connect( mIncSearchWidget, SIGNAL( fieldChanged() ), mJumpButtonBar, SLOT( recreateButtons() ) ); connect( mDetails, SIGNAL( sendEmail( const QString& ) ), SLOT( sendMail( const QString& ) ) ); @@ -1170,12 +1170,16 @@ void KABCore::incrementalSearch( const QString& text ) stext = "*" + text; } else { stext = text; } mViewManager->doSearch( stext, mIncSearchWidget->currentField() ); } +void KABCore::incrementalSearchJump( const QString& text ) +{ + mViewManager->doSearch( text, mIncSearchWidget->currentField() ); +} void KABCore::setModified() { setModified( true ); } diff --git a/kaddressbook/kabcore.h b/kaddressbook/kabcore.h index 47ea152..d89daee 100644 --- a/kaddressbook/kabcore.h +++ b/kaddressbook/kabcore.h @@ -250,12 +250,13 @@ class KABCore : public QWidget, public KSyncInterface /** Search with the current search field for a contact, that matches 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. */ void setModified(); /** |