-rw-r--r-- | kaddressbook/kabcore.cpp | 13 | ||||
-rw-r--r-- | kaddressbook/kabcore.h | 2 |
2 files changed, 14 insertions, 1 deletions
diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp index ce5c755..eba74a6 100644 --- a/kaddressbook/kabcore.cpp +++ b/kaddressbook/kabcore.cpp @@ -2100,2 +2100,9 @@ void KABCore::initActions() "wn" ); + + + + mActionStorageHowto = new KAction( i18n( "Storage HowTo" ), 0, + this, SLOT( storagehowto() ), actionCollection(), + "storage" ); + mActionSyncHowto = new KAction( i18n( "Sync HowTo" ), 0, @@ -2275,2 +2282,3 @@ void KABCore::addActionsManually() mActionWN->plug( helpMenu ); + mActionStorageHowto->plug( helpMenu ); mActionSyncHowto->plug( helpMenu ); @@ -2728,3 +2736,6 @@ void KABCore::requestForDetails(const QString& sourceChannel, const QString& ses } - +void KABCore::storagehowto() +{ + KApplication::showFile( "KDE-Pim/Pi Storage HowTo", "kdepim/storagehowto.txt" ); +} void KABCore::whatsnew() diff --git a/kaddressbook/kabcore.h b/kaddressbook/kabcore.h index 4cef73a..80dbf08 100644 --- a/kaddressbook/kabcore.h +++ b/kaddressbook/kabcore.h @@ -151,2 +151,3 @@ class KABCore : public QWidget, public KSyncInterface void synchowto() ; + void storagehowto() ; void multisynchowto() ; @@ -474,2 +475,3 @@ class KABCore : public QWidget, public KSyncInterface KAction *mActionSyncHowto; + KAction *mActionStorageHowto; KAction *mActionKdeSyncHowto; |