-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 | |||
@@ -23,2 +23,9 @@ | |||
23 | 23 | ||
24 | /* | ||
25 | Enhanced Version of the file for platform independent KDE tools. | ||
26 | Copyright (c) 2004 Ulf Schenk | ||
27 | |||
28 | $Id$ | ||
29 | */ | ||
30 | |||
24 | #include "kabcore.h" | 31 | #include "kabcore.h" |
@@ -420,7 +427,8 @@ void KABCore::createAboutData() | |||
420 | "(c) 2004 Ulf Schenk\n" | 427 | "(c) 2004 Ulf Schenk\n" |
428 | "(c) 2004 Lutz Rogowski\n" | ||
421 | "(c) 1997-2003, The KDE PIM Team\n" | 429 | "(c) 1997-2003, The KDE PIM Team\n" |
422 | "Tobias Koenig Current maintainer tokoe@kde.org\n" | 430 | "Tobias Koenig Current maintainer\ntokoe@kde.org\n" |
423 | "Don Sanders Original author\n" | 431 | "Don Sanders Original author\n" |
424 | "Cornelius Schumacher Co-maintainer schumacher@kde.org\n" | 432 | "Cornelius Schumacher Co-maintainer\nschumacher@kde.org\n" |
425 | "Mike Pilone GUI and framework redesign mpilone@slac.com\n" | 433 | "Mike Pilone GUI and framework redesign\nmpilone@slac.com\n" |
426 | "Greg Stern DCOP interface\n" | 434 | "Greg Stern DCOP interface\n" |
@@ -428,5 +436,5 @@ void KABCore::createAboutData() | |||
428 | "Michel Boyer de la Giroday LDAP Lookup\n" "michel@klaralvdalens-datakonsult.se\n" | 436 | "Michel Boyer de la Giroday LDAP Lookup\n" "michel@klaralvdalens-datakonsult.se\n" |
429 | "Steffen Hansen LDAP Lookup hansen@kde.org\n" | 437 | "Steffen Hansen LDAP Lookup\nhansen@kde.org\n" |
430 | #ifdef _WIN32_ | 438 | #ifdef _WIN32_ |
431 | "(c) 2004 Lutz Rogowski Import from OL rogowski@kde.org\n" | 439 | "(c) 2004 Lutz Rogowski Import from OL\nrogowski@kde.org\n" |
432 | #endif | 440 | #endif |
@@ -1736,5 +1744,9 @@ void KABCore::initActions() | |||
1736 | #ifdef KAB_EMBEDDED | 1744 | #ifdef KAB_EMBEDDED |
1737 | mActionLicence = new KAction( i18n( "Licence" ), "licence", 0, | 1745 | mActionLicence = new KAction( i18n( "Licence" ), 0, |
1738 | this, SLOT( showLicence() ), actionCollection(), | 1746 | this, SLOT( showLicence() ), actionCollection(), |
1739 | "licence_about_data" ); | 1747 | "licence_about_data" ); |
1748 | mActionFaq = new KAction( i18n( "Faq" ), 0, | ||
1749 | this, SLOT( faq() ), actionCollection(), | ||
1750 | "faq_about_data" ); | ||
1751 | |||
1740 | mActionAboutKAddressbook = new KAction( i18n( "&About KAddressBook" ), "kaddressbook2", 0, | 1752 | mActionAboutKAddressbook = new KAction( i18n( "&About KAddressBook" ), "kaddressbook2", 0, |
@@ -1867,4 +1879,5 @@ void KABCore::addActionsManually() | |||
1867 | 1879 | ||
1868 | mActionAboutKAddressbook->plug( helpMenu ); | ||
1869 | mActionLicence->plug( helpMenu ); | 1880 | mActionLicence->plug( helpMenu ); |
1881 | mActionFaq->plug( helpMenu ); | ||
1882 | mActionAboutKAddressbook->plug( helpMenu ); | ||
1870 | 1883 | ||
@@ -2070,2 +2083,8 @@ void KABCore::requestForDetails(const QString& sourceChannel, const QString& ses | |||
2070 | 2083 | ||
2084 | void KABCore::faq() | ||
2085 | { | ||
2086 | KApplication::showFile( "KA/Pi FAQ", "kdepim/kaddressbook/kapiFAQ.txt" ); | ||
2087 | } | ||
2088 | |||
2089 | |||
2071 | 2090 | ||
diff --git a/kaddressbook/kabcore.h b/kaddressbook/kabcore.h index 040b6aa..39d043f 100644 --- a/kaddressbook/kabcore.h +++ b/kaddressbook/kabcore.h | |||
@@ -145,2 +145,4 @@ class KABCore : public QWidget | |||
145 | void showLicence(); | 145 | void showLicence(); |
146 | void faq(); | ||
147 | |||
146 | /** | 148 | /** |
@@ -424,2 +426,3 @@ class KABCore : public QWidget | |||
424 | KAction *mActionLicence; | 426 | KAction *mActionLicence; |
427 | KAction *mActionFaq; | ||
425 | 428 | ||