summaryrefslogtreecommitdiffabout
path: root/kaddressbook
authorzautrix <zautrix>2005-01-27 17:15:25 (UTC)
committer zautrix <zautrix>2005-01-27 17:15:25 (UTC)
commit1c32caad4bf20d169203d05f9dbcac1d90402969 (patch) (side-by-side diff)
tree8960a18919924f62cc3483e01b686d26bf359d66 /kaddressbook
parent5daf7a5bcdd729862de5bbe95ab2c88ed6de2b78 (diff)
downloadkdepimpi-1c32caad4bf20d169203d05f9dbcac1d90402969.zip
kdepimpi-1c32caad4bf20d169203d05f9dbcac1d90402969.tar.gz
kdepimpi-1c32caad4bf20d169203d05f9dbcac1d90402969.tar.bz2
another fix
Diffstat (limited to 'kaddressbook') (more/less context) (ignore whitespace changes)
-rw-r--r--kaddressbook/kabcore.cpp8
-rw-r--r--kaddressbook/kabcore.h1
2 files changed, 7 insertions, 2 deletions
diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp
index e34a7d3..e2e3a66 100644
--- a/kaddressbook/kabcore.cpp
+++ b/kaddressbook/kabcore.cpp
@@ -1416,3 +1416,7 @@ void KABCore::redo()
}
-
+void KABCore::setJumpButtonBar( bool visible )
+{
+ setJumpButtonBarVisible(visible );
+ saveSettings();
+}
void KABCore::setJumpButtonBarVisible( bool visible )
@@ -2006,3 +2010,3 @@ void KABCore::initActions()
actionCollection(), "options_show_jump_bar" );
- connect( mActionJumpBar, SIGNAL( toggled( bool ) ), SLOT( setJumpButtonBarVisible( bool ) ) );
+ connect( mActionJumpBar, SIGNAL( toggled( bool ) ), SLOT( setJumpButtonBar( bool ) ) );
diff --git a/kaddressbook/kabcore.h b/kaddressbook/kabcore.h
index 786549a..c185117 100644
--- a/kaddressbook/kabcore.h
+++ b/kaddressbook/kabcore.h
@@ -368,2 +368,3 @@ class KABCore : public QWidget, public KSyncInterface
void setJumpButtonBarVisible( bool visible );
+ void setJumpButtonBar( bool visible );
void setCaptionBack();