-rw-r--r-- | kaddressbook/kabcore.cpp | 17 | ||||
-rw-r--r-- | kaddressbook/kabcore.h | 4 |
2 files changed, 21 insertions, 0 deletions
diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp index f2d4cd6..282560f 100644 --- a/kaddressbook/kabcore.cpp +++ b/kaddressbook/kabcore.cpp @@ -1859,4 +1859,10 @@ void KABCore::initActions() this, SLOT( faq() ), actionCollection(), "faq_about_data" ); + mActionWN = new KAction( i18n( "What's New?" ), 0, + this, SLOT( whatsnew() ), actionCollection(), + "wn" ); + mActionSyncHowto = new KAction( i18n( "Sync HowTo" ), 0, + this, SLOT( synchowto() ), actionCollection(), + "sync" ); mActionAboutKAddressbook = new KAction( i18n( "&About KAddressBook" ), "kaddressbook2", 0, @@ -1990,4 +1996,7 @@ void KABCore::addActionsManually() mActionCategories->plug( settingsMenu ); + + mActionWN->plug( helpMenu ); + mActionSyncHowto->plug( helpMenu ); mActionLicence->plug( helpMenu ); mActionFaq->plug( helpMenu ); @@ -2278,4 +2287,12 @@ void KABCore::requestForDetails(const QString& sourceChannel, const QString& ses } +void KABCore::whatsnew() +{ + KApplication::showFile( "KDE-Pim/Pi Version Info", "kdepim/WhatsNew.txt" ); +} +void KABCore::synchowto() +{ + KApplication::showFile( "KDE-Pim/Pi Synchronization HowTo", "kdepim/SyncHowto.txt" ); +} void KABCore::faq() diff --git a/kaddressbook/kabcore.h b/kaddressbook/kabcore.h index 04ce33d..3c33923 100644 --- a/kaddressbook/kabcore.h +++ b/kaddressbook/kabcore.h @@ -147,4 +147,6 @@ class KABCore : public QWidget, public KSyncInterface void showLicence(); void faq(); + void whatsnew() ; + void synchowto() ; /** @@ -436,4 +438,6 @@ class KABCore : public QWidget, public KSyncInterface KAction *mActionLicence; KAction *mActionFaq; + KAction *mActionWN; + KAction *mActionSyncHowto; KAction *mActionDeleteView; |