Quassel IRC  Pre-Release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
AboutPerson Class Reference

#include </tmp/quassel/src/uisupport/aboutdata.h>

Public Member Functions

 AboutPerson (const QString &name, const QString &nick, const QString &task, const QString &emailAddress=QString(), QLocale::Language translatedLanguage=QLocale::C)
QString name () const
QString nick () const
QString task () const
QString emailAddress () const
QLocale::Language translatedLanguage () const
QString prettyName () const

Private Attributes

QString _name
 The person's name.
QString _nick
 The person's nick.
QString _task
 The person's task.
QString _emailAddress
 The person's email address.
QLocale::Language _language
 The language the person helps translate.

Detailed Description

Represents a contributor or author for Quassel.

This is used to show a list of contributors in the About Quassel dialog.

Definition at line 35 of file aboutdata.h.

Constructor & Destructor Documentation

AboutPerson ( const QString &  name,
const QString &  nick,
const QString &  task,
const QString &  emailAddress = QString(),
QLocale::Language  translatedLanguage = QLocale::C 
)

Constructor.

Parameters
[in]nameThe person's name (in the form "Firstname Surname")
[in]nickThe person's nickname, if applicable
[in]taskThings the person does or has done for the project
[in]emailAddressThe person's email address, if applicable
[in]translatedLanguageThe language the person helped translate (only applicable for translators)

Definition at line 28 of file aboutdata.cpp.

Member Function Documentation

QString name ( ) const

Gets the person's name.

Returns
The person's name

Definition at line 39 of file aboutdata.cpp.

References _name.

Referenced by prettyName().

QString nick ( ) const

Gets the person's nick.

Returns
The person's nick

Definition at line 45 of file aboutdata.cpp.

References _nick.

Referenced by prettyName().

QString task ( ) const

Gets the person's task.

Returns
The person's task

Definition at line 51 of file aboutdata.cpp.

References _task.

QString emailAddress ( ) const

Gets the person's e-mail address.

Returns
The person's e-mail address

Definition at line 57 of file aboutdata.cpp.

References _emailAddress.

QLocale::Language translatedLanguage ( ) const

Gets the language this person helped translate.

Returns
The language this person helped translate

Definition at line 63 of file aboutdata.cpp.

References _language.

QString prettyName ( ) const

Gets the person's formatted name and nick.

Returns
The person's name and nick formatted for combined output

Definition at line 69 of file aboutdata.cpp.

References name(), and nick().

Member Data Documentation

QString _name
private

The person's name.

Definition at line 92 of file aboutdata.h.

Referenced by name().

QString _nick
private

The person's nick.

Definition at line 93 of file aboutdata.h.

Referenced by nick().

QString _task
private

The person's task.

Definition at line 94 of file aboutdata.h.

Referenced by task().

QString _emailAddress
private

The person's email address.

Definition at line 95 of file aboutdata.h.

Referenced by emailAddress().

QLocale::Language _language
private

The language the person helps translate.

Definition at line 96 of file aboutdata.h.

Referenced by translatedLanguage().


The documentation for this class was generated from the following files: