KAboutPerson Class Reference
This structure is used to store information about a person or developer. More...
#include <kaboutdata.h>
Public Member Functions | |
KAboutPerson (const char *name, const char *task, const char *emailAddress, const char *webAddress) | |
KAboutPerson () | |
QString | name () const |
QString | task () const |
QString | emailAddress () const |
QString | webAddress () const |
Detailed Description
This structure is used to store information about a person or developer.It can store the person's name, a task, an email address and a link to a home page. This class is intended for use in the KAboutData class, but it can be used elsewhere as well. Normally you should at least define the person's name.
Example Usage within a main():
KAboutData about("khello", I18N_NOOP("KHello"), "0.1", I18N_NOOP("A KDE version of Hello, world!"), KAboutData::License_LGPL, I18N_NOOP("Copyright (c) 2003 Developer"));
about.addAuthor("Joe Developer", I18N_NOOP("developer"), "joe@host.com", 0); about.addCredit("Joe User", I18N_NOOP("A lot of bug reports"), "joe.user@host.org", 0); KCmdLineArgs::init(argc, argv, &about);
Definition at line 52 of file kaboutdata.h.
Constructor & Destructor Documentation
|
Convenience constructor.
Definition at line 68 of file kaboutdata.h. |
Member Function Documentation
|
The person's name.
Definition at line 29 of file kaboutdata.cpp. References QString::fromUtf8(). |
|
The person's task.
Definition at line 35 of file kaboutdata.cpp. References i18n(). |
|
The person's email address.
Definition at line 44 of file kaboutdata.cpp. References QString::fromUtf8(). |
|
The home page or a relevant link.
Definition at line 51 of file kaboutdata.cpp. References QString::fromUtf8(). |
The documentation for this class was generated from the following files: