• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdecore
 

tdecore

Public Member Functions | List of all members
TDEAboutPerson Class Reference

#include <tdeaboutdata.h>

Public Member Functions

 TDEAboutPerson (const char *name, const char *task, const char *emailAddress, const char *webAddress)
 
TQString name () const
 
TQString task () const
 
TQString emailAddress () const
 
TQString 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 TDEAboutData class, but it can be used elsewhere as well. Normally you should at least define the person's name.

Example Usage within a main():

TDEAboutData about("khello", I18N_NOOP("KHello"), "0.1",
I18N_NOOP("A TDE version of Hello, world!"),
TDEAboutData::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);
TDECmdLineArgs::init(argc, argv, &about);
TDEAboutData
This class is used to store information about a program.
Definition: tdeaboutdata.h:183
TDECmdLineArgs::init
static void init(int _argc, char **_argv, const char *_appname, const char *programName, const char *_description, const char *_version, bool noTDEApp=false)
Initialize class.
Definition: tdecmdlineargs.cpp:127

Definition at line 54 of file tdeaboutdata.h.

Constructor & Destructor Documentation

◆ TDEAboutPerson() [1/2]

TDEAboutPerson::TDEAboutPerson ( const char *  name,
const char *  task,
const char *  emailAddress,
const char *  webAddress 
)
inline

Convenience constructor.

Parameters
nameThe name of the person.
taskThe task of this person. This string should be marked for translation, e.g. I18N_NOOP("Task description....")
emailAddressThe email address of the person.
webAddressHome page of the person.

Definition at line 70 of file tdeaboutdata.h.

◆ TDEAboutPerson() [2/2]

TDEAboutPerson::TDEAboutPerson ( )
inline

Definition at line 82 of file tdeaboutdata.h.

Member Function Documentation

◆ emailAddress()

TQString TDEAboutPerson::emailAddress ( ) const

The person's email address.

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

Definition at line 44 of file tdeaboutdata.cpp.

◆ name()

TQString TDEAboutPerson::name ( ) const

The person's name.

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

Definition at line 29 of file tdeaboutdata.cpp.

◆ task()

TQString TDEAboutPerson::task ( ) const

The person's task.

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

Definition at line 35 of file tdeaboutdata.cpp.

◆ webAddress()

TQString TDEAboutPerson::webAddress ( ) const

The home page or a relevant link.

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

Definition at line 51 of file tdeaboutdata.cpp.


The documentation for this class was generated from the following files:
  • tdeaboutdata.h
  • tdeaboutdata.cpp

tdecore

Skip menu "tdecore"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

tdecore

Skip menu "tdecore"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdecore by doxygen 1.9.4
This website is maintained by Timothy Pearson.