author | ulf69 <ulf69> | 2004-08-20 21:26:25 (UTC) |
---|---|---|
committer | ulf69 <ulf69> | 2004-08-20 21:26:25 (UTC) |
commit | b9eff79c5702aad1ee8abe8a9ff01899ae969bed (patch) (side-by-side diff) | |
tree | 09628cd451301034adf8d95d2e8b88acef8ee142 | |
parent | a3083042bb9c69193cc43105e6c9d045bd79e8b2 (diff) | |
download | kdepimpi-b9eff79c5702aad1ee8abe8a9ff01899ae969bed.zip kdepimpi-b9eff79c5702aad1ee8abe8a9ff01899ae969bed.tar.gz kdepimpi-b9eff79c5702aad1ee8abe8a9ff01899ae969bed.tar.bz2 |
FAQ dialog added
-rw-r--r-- | kaddressbook/kabcore.cpp | 33 | ||||
-rw-r--r-- | kaddressbook/kabcore.h | 3 |
2 files changed, 29 insertions, 7 deletions
diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp index dabb8e9..cb9b992 100644 --- a/kaddressbook/kabcore.cpp +++ b/kaddressbook/kabcore.cpp @@ -22,4 +22,11 @@ */ +/* +Enhanced Version of the file for platform independent KDE tools. +Copyright (c) 2004 Ulf Schenk + +$Id$ +*/ + #include "kabcore.h" @@ -419,15 +426,16 @@ void KABCore::createAboutData() "(c) 2004 Ulf Schenk\n" + "(c) 2004 Lutz Rogowski\n" "(c) 1997-2003, The KDE PIM Team\n" - "Tobias Koenig Current maintainer tokoe@kde.org\n" + "Tobias Koenig Current maintainer\ntokoe@kde.org\n" "Don Sanders Original author\n" - "Cornelius Schumacher Co-maintainer schumacher@kde.org\n" - "Mike Pilone GUI and framework redesign mpilone@slac.com\n" + "Cornelius Schumacher Co-maintainer\nschumacher@kde.org\n" + "Mike Pilone GUI and framework redesign\nmpilone@slac.com\n" "Greg Stern DCOP interface\n" "Mark Westcot Contact pinning\n" "Michel Boyer de la Giroday LDAP Lookup\n" "michel@klaralvdalens-datakonsult.se\n" - "Steffen Hansen LDAP Lookup hansen@kde.org\n" + "Steffen Hansen LDAP Lookup\nhansen@kde.org\n" #ifdef _WIN32_ - "(c) 2004 Lutz Rogowski Import from OL rogowski@kde.org\n" + "(c) 2004 Lutz Rogowski Import from OL\nrogowski@kde.org\n" #endif ); @@ -1735,7 +1743,11 @@ void KABCore::initActions() "import_OL" ); #ifdef KAB_EMBEDDED - mActionLicence = new KAction( i18n( "Licence" ), "licence", 0, + mActionLicence = new KAction( i18n( "Licence" ), 0, this, SLOT( showLicence() ), actionCollection(), "licence_about_data" ); + mActionFaq = new KAction( i18n( "Faq" ), 0, + this, SLOT( faq() ), actionCollection(), + "faq_about_data" ); + mActionAboutKAddressbook = new KAction( i18n( "&About KAddressBook" ), "kaddressbook2", 0, this, SLOT( createAboutData() ), actionCollection(), @@ -1866,6 +1878,7 @@ void KABCore::addActionsManually() mActionCategories->plug( settingsMenu ); - mActionAboutKAddressbook->plug( helpMenu ); mActionLicence->plug( helpMenu ); + mActionFaq->plug( helpMenu ); + mActionAboutKAddressbook->plug( helpMenu ); if (KGlobal::getDesktopSize() > KGlobal::Small ) { @@ -2069,4 +2082,10 @@ void KABCore::requestForDetails(const QString& sourceChannel, const QString& ses +void KABCore::faq() +{ + KApplication::showFile( "KA/Pi FAQ", "kdepim/kaddressbook/kapiFAQ.txt" ); +} + + diff --git a/kaddressbook/kabcore.h b/kaddressbook/kabcore.h index 040b6aa..39d043f 100644 --- a/kaddressbook/kabcore.h +++ b/kaddressbook/kabcore.h @@ -144,4 +144,6 @@ class KABCore : public QWidget void statusMessage(QString, int time = 0 ); void showLicence(); + void faq(); + /** Is called whenever a contact is selected in the view. @@ -423,4 +425,5 @@ class KABCore : public QWidget KAction *mActionAboutKAddressbook; KAction *mActionLicence; + KAction *mActionFaq; KAction *mActionDeleteView; |