summaryrefslogtreecommitdiffabout
path: root/kaddressbook
Side-by-side diff
Diffstat (limited to 'kaddressbook') (more/less context) (ignore whitespace changes)
-rw-r--r--kaddressbook/kabcore.cpp17
-rw-r--r--kaddressbook/kabcore.h4
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
@@ -1860,2 +1860,8 @@ void KABCore::initActions()
"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" );
@@ -1991,2 +1997,5 @@ void KABCore::addActionsManually()
+
+ mActionWN->plug( helpMenu );
+ mActionSyncHowto->plug( helpMenu );
mActionLicence->plug( helpMenu );
@@ -2279,2 +2288,10 @@ 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" );
+}
diff --git a/kaddressbook/kabcore.h b/kaddressbook/kabcore.h
index 04ce33d..3c33923 100644
--- a/kaddressbook/kabcore.h
+++ b/kaddressbook/kabcore.h
@@ -148,2 +148,4 @@ class KABCore : public QWidget, public KSyncInterface
void faq();
+ void whatsnew() ;
+ void synchowto() ;
@@ -437,2 +439,4 @@ class KABCore : public QWidget, public KSyncInterface
KAction *mActionFaq;
+ KAction *mActionWN;
+ KAction *mActionSyncHowto;