kdecore Library API Documentation

KAboutPerson Class Reference

This structure is used to store information about a person or developer. More...

#include <kaboutdata.h>

List of all members.

Public Methods

 KAboutPerson (const char *name, const char *task, const char *emailAddress, const char *webAddress)
 Convenience constructor.

QString name () const
 The person's name.

QString task () const
 The person's task.

QString emailAddress () const
 The person's email address.

QString webAddress () const
 The home page or a relevant link.


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.

Definition at line 39 of file kaboutdata.h.


Constructor & Destructor Documentation

KAboutPerson::KAboutPerson const char *    name,
const char *    task,
const char *    emailAddress,
const char *    webAddress
[inline]
 

Convenience constructor.

Parameters:
name  The name of the person.
task  The task of this person. This string should be marked for translation, e.g. I18N_NOOP("Task description....")
emailAddress  The email address of the person.
webAddress  Home page of the person.

Definition at line 55 of file kaboutdata.h.

References emailAddress(), name(), task(), and webAddress().


Member Function Documentation

QString KAboutPerson::name  
 

The person's name.

Returns:
the person's name (can be QString::null, if it has been constructed with a null name)

Definition at line 29 of file kaboutdata.cpp.

References QString::fromUtf8().

Referenced by KAboutPerson().

QString KAboutPerson::task  
 

The person's task.

Returns:
the person's task (can be QString::null, if it has been constructed with a null task)

Definition at line 35 of file kaboutdata.cpp.

Referenced by KAboutPerson().

QString KAboutPerson::emailAddress  
 

The person's email address.

Returns:
the person's email address (can be QString::null, if it has been constructed with a null email)

Definition at line 44 of file kaboutdata.cpp.

References QString::fromUtf8().

Referenced by KAboutPerson().

QString KAboutPerson::webAddress  
 

The home page or a relevant link.

Returns:
the persons home page (can be QString::null, if it has been constructed with a null home page)

Definition at line 51 of file kaboutdata.cpp.

References QString::fromUtf8().

Referenced by KAboutPerson().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kdelibs Version 3.1.0.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Wed Oct 8 12:20:43 2003 by doxygen 1.2.18 written by Dimitri van Heesch, © 1997-2001