-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 @@ -2098,6 +2098,13 @@ void KABCore::initActions() mActionWN = new KAction( i18n( "What's New?" ), 0, this, SLOT( whatsnew() ), actionCollection(), "wn" ); + + + + mActionStorageHowto = new KAction( i18n( "Storage HowTo" ), 0, + this, SLOT( storagehowto() ), actionCollection(), + "storage" ); + mActionSyncHowto = new KAction( i18n( "Sync HowTo" ), 0, this, SLOT( synchowto() ), actionCollection(), "sync" ); @@ -2273,6 +2280,7 @@ void KABCore::addActionsManually() mActionWN->plug( helpMenu ); + mActionStorageHowto->plug( helpMenu ); mActionSyncHowto->plug( helpMenu ); mActionKdeSyncHowto->plug( helpMenu ); mActionMultiSyncHowto->plug( helpMenu ); @@ -2726,7 +2734,10 @@ 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() { KApplication::showFile( "KDE-Pim/Pi Version Info", "kdepim/WhatsNew.txt" ); diff --git a/kaddressbook/kabcore.h b/kaddressbook/kabcore.h index 4cef73a..80dbf08 100644 --- a/kaddressbook/kabcore.h +++ b/kaddressbook/kabcore.h @@ -149,6 +149,7 @@ class KABCore : public QWidget, public KSyncInterface void faq(); void whatsnew() ; void synchowto() ; + void storagehowto() ; void multisynchowto() ; void kdesynchowto() ; void writeToPhone(); @@ -472,6 +473,7 @@ class KABCore : public QWidget, public KSyncInterface KAction *mActionFaq; KAction *mActionWN; KAction *mActionSyncHowto; + KAction *mActionStorageHowto; KAction *mActionKdeSyncHowto; KAction *mActionMultiSyncHowto; |