summaryrefslogtreecommitdiffabout
path: root/kaddressbook
authorzautrix <zautrix>2004-10-12 21:02:25 (UTC)
committer zautrix <zautrix>2004-10-12 21:02:25 (UTC)
commit0dab27179ee6b1e0a052ab589a27e31ffb887912 (patch) (unidiff)
tree77a44d4673cf36164993bee2ed78b4f3b4d39dbb /kaddressbook
parent95ce1ce07164da5660a2bf1992fed4c263c6afca (diff)
downloadkdepimpi-0dab27179ee6b1e0a052ab589a27e31ffb887912.zip
kdepimpi-0dab27179ee6b1e0a052ab589a27e31ffb887912.tar.gz
kdepimpi-0dab27179ee6b1e0a052ab589a27e31ffb887912.tar.bz2
added help to kapi
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
@@ -1858,6 +1858,12 @@ void KABCore::initActions()
1858 mActionFaq = new KAction( i18n( "Faq" ), 0, 1858 mActionFaq = new KAction( i18n( "Faq" ), 0,
1859 this, SLOT( faq() ), actionCollection(), 1859 this, SLOT( faq() ), actionCollection(),
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
1862 mActionAboutKAddressbook = new KAction( i18n( "&About KAddressBook" ), "kaddressbook2", 0, 1868 mActionAboutKAddressbook = new KAction( i18n( "&About KAddressBook" ), "kaddressbook2", 0,
1863 this, SLOT( createAboutData() ), actionCollection(), 1869 this, SLOT( createAboutData() ), actionCollection(),
@@ -1989,6 +1995,9 @@ void KABCore::addActionsManually()
1989 mActionWhoAmI->plug( settingsMenu ); 1995 mActionWhoAmI->plug( settingsMenu );
1990 mActionCategories->plug( settingsMenu ); 1996 mActionCategories->plug( settingsMenu );
1991 1997
1998
1999 mActionWN->plug( helpMenu );
2000 mActionSyncHowto->plug( helpMenu );
1992 mActionLicence->plug( helpMenu ); 2001 mActionLicence->plug( helpMenu );
1993 mActionFaq->plug( helpMenu ); 2002 mActionFaq->plug( helpMenu );
1994 mActionAboutKAddressbook->plug( helpMenu ); 2003 mActionAboutKAddressbook->plug( helpMenu );
@@ -2277,6 +2286,14 @@ void KABCore::requestForDetails(const QString& sourceChannel, const QString& ses
2277 } 2286 }
2278} 2287}
2279 2288
2289void KABCore::whatsnew()
2290{
2291 KApplication::showFile( "KDE-Pim/Pi Version Info", "kdepim/WhatsNew.txt" );
2292}
2293void KABCore::synchowto()
2294{
2295 KApplication::showFile( "KDE-Pim/Pi Synchronization HowTo", "kdepim/SyncHowto.txt" );
2296}
2280 2297
2281void KABCore::faq() 2298void KABCore::faq()
2282{ 2299{
diff --git a/kaddressbook/kabcore.h b/kaddressbook/kabcore.h
index 04ce33d..3c33923 100644
--- a/kaddressbook/kabcore.h
+++ b/kaddressbook/kabcore.h
@@ -146,6 +146,8 @@ class KABCore : public QWidget, public KSyncInterface
146 void statusMessage(QString, int time = 0 ); 146 void statusMessage(QString, int time = 0 );
147 void showLicence(); 147 void showLicence();
148 void faq(); 148 void faq();
149 void whatsnew() ;
150 void synchowto() ;
149 151
150 /** 152 /**
151 Is called whenever a contact is selected in the view. 153 Is called whenever a contact is selected in the view.
@@ -435,6 +437,8 @@ class KABCore : public QWidget, public KSyncInterface
435 KAction *mActionAboutKAddressbook; 437 KAction *mActionAboutKAddressbook;
436 KAction *mActionLicence; 438 KAction *mActionLicence;
437 KAction *mActionFaq; 439 KAction *mActionFaq;
440 KAction *mActionWN;
441 KAction *mActionSyncHowto;
438 442
439 KAction *mActionDeleteView; 443 KAction *mActionDeleteView;
440 444