summaryrefslogtreecommitdiffabout
path: root/kaddressbook
authorulf69 <ulf69>2004-08-20 21:26:25 (UTC)
committer ulf69 <ulf69>2004-08-20 21:26:25 (UTC)
commitb9eff79c5702aad1ee8abe8a9ff01899ae969bed (patch) (side-by-side diff)
tree09628cd451301034adf8d95d2e8b88acef8ee142 /kaddressbook
parenta3083042bb9c69193cc43105e6c9d045bd79e8b2 (diff)
downloadkdepimpi-b9eff79c5702aad1ee8abe8a9ff01899ae969bed.zip
kdepimpi-b9eff79c5702aad1ee8abe8a9ff01899ae969bed.tar.gz
kdepimpi-b9eff79c5702aad1ee8abe8a9ff01899ae969bed.tar.bz2
FAQ dialog added
Diffstat (limited to 'kaddressbook') (more/less context) (ignore whitespace changes)
-rw-r--r--kaddressbook/kabcore.cpp33
-rw-r--r--kaddressbook/kabcore.h3
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
@@ -21,6 +21,13 @@
without including the source code for Qt in the source distribution.
*/
+/*
+Enhanced Version of the file for platform independent KDE tools.
+Copyright (c) 2004 Ulf Schenk
+
+$Id$
+*/
+
#include "kabcore.h"
#include <stdaddressbook.h>
@@ -418,17 +425,18 @@ void KABCore::createAboutData()
#endif
"(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
);
}
@@ -1734,9 +1742,13 @@ void KABCore::initActions()
SLOT( importFromOL() ), actionCollection(),
"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(),
"kaddressbook_about_data" );
@@ -1865,8 +1877,9 @@ void KABCore::addActionsManually()
mActionWhoAmI->plug( settingsMenu );
mActionCategories->plug( settingsMenu );
- mActionAboutKAddressbook->plug( helpMenu );
mActionLicence->plug( helpMenu );
+ mActionFaq->plug( helpMenu );
+ mActionAboutKAddressbook->plug( helpMenu );
if (KGlobal::getDesktopSize() > KGlobal::Small ) {
@@ -2068,6 +2081,12 @@ void KABCore::requestForDetails(const QString& sourceChannel, const QString& ses
}
+void KABCore::faq()
+{
+ KApplication::showFile( "KA/Pi FAQ", "kdepim/kaddressbook/kapiFAQ.txt" );
+}
+
+
#ifndef KAB_EMBEDDED
diff --git a/kaddressbook/kabcore.h b/kaddressbook/kabcore.h
index 040b6aa..39d043f 100644
--- a/kaddressbook/kabcore.h
+++ b/kaddressbook/kabcore.h
@@ -143,6 +143,8 @@ class KABCore : public QWidget
void statusMessage(QString, int time = 0 );
void showLicence();
+ void faq();
+
/**
Is called whenever a contact is selected in the view.
*/
@@ -422,6 +424,7 @@ class KABCore : public QWidget
KAction *mActionCategories;
KAction *mActionAboutKAddressbook;
KAction *mActionLicence;
+ KAction *mActionFaq;
KAction *mActionDeleteView;