summaryrefslogtreecommitdiffabout
path: root/kaddressbook/kabcore.cpp
Side-by-side diff
Diffstat (limited to 'kaddressbook/kabcore.cpp') (more/less context) (show whitespace changes)
-rw-r--r--kaddressbook/kabcore.cpp17
1 files changed, 17 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
@@ -1858,6 +1858,12 @@ void KABCore::initActions()
mActionFaq = new KAction( i18n( "Faq" ), 0,
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,
this, SLOT( createAboutData() ), actionCollection(),
@@ -1989,6 +1995,9 @@ void KABCore::addActionsManually()
mActionWhoAmI->plug( settingsMenu );
mActionCategories->plug( settingsMenu );
+
+ mActionWN->plug( helpMenu );
+ mActionSyncHowto->plug( helpMenu );
mActionLicence->plug( helpMenu );
mActionFaq->plug( helpMenu );
mActionAboutKAddressbook->plug( helpMenu );
@@ -2277,6 +2286,14 @@ 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()
{