-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 | |||
@@ -1860,2 +1860,8 @@ void KABCore::initActions() | |||
1860 | "faq_about_data" ); | 1860 | "faq_about_data" ); |
1861 | mActionWN = new KAction( i18n( "What's New?" ), 0, | ||
1862 | this, SLOT( whatsnew() ), actionCollection(), | ||
1863 | "wn" ); | ||
1864 | mActionSyncHowto = new KAction( i18n( "Sync HowTo" ), 0, | ||
1865 | this, SLOT( synchowto() ), actionCollection(), | ||
1866 | "sync" ); | ||
1861 | 1867 | ||
@@ -1991,2 +1997,5 @@ void KABCore::addActionsManually() | |||
1991 | 1997 | ||
1998 | |||
1999 | mActionWN->plug( helpMenu ); | ||
2000 | mActionSyncHowto->plug( helpMenu ); | ||
1992 | mActionLicence->plug( helpMenu ); | 2001 | mActionLicence->plug( helpMenu ); |
@@ -2279,2 +2288,10 @@ void KABCore::requestForDetails(const QString& sourceChannel, const QString& ses | |||
2279 | 2288 | ||
2289 | void KABCore::whatsnew() | ||
2290 | { | ||
2291 | KApplication::showFile( "KDE-Pim/Pi Version Info", "kdepim/WhatsNew.txt" ); | ||
2292 | } | ||
2293 | void KABCore::synchowto() | ||
2294 | { | ||
2295 | KApplication::showFile( "KDE-Pim/Pi Synchronization HowTo", "kdepim/SyncHowto.txt" ); | ||
2296 | } | ||
2280 | 2297 | ||
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 | |||
148 | void faq(); | 148 | void faq(); |
149 | void whatsnew() ; | ||
150 | void synchowto() ; | ||
149 | 151 | ||
@@ -437,2 +439,4 @@ class KABCore : public QWidget, public KSyncInterface | |||
437 | KAction *mActionFaq; | 439 | KAction *mActionFaq; |
440 | KAction *mActionWN; | ||
441 | KAction *mActionSyncHowto; | ||
438 | 442 | ||