org.kde.koala

Class KAboutPerson

public class KAboutPerson extends Object implements QtSupport

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(args, &about);
 

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

Constructor Summary
protected KAboutPerson(Class dummy)
KAboutPerson(String name, String task, String emailAddress, String webAddress)
Convenience constructor
KAboutPerson()
Don't use.
Method Summary
voiddispose()
Delete the wrapped C++ instance ahead of finalize()
StringemailAddress()
The person's email address
protected voidfinalize()
Deletes the wrapped C++ instance
booleanisDisposed()
Has the wrapped C++ instance been deleted?
Stringname()
The person's name
Stringtask()
The person's task
StringwebAddress()
The home page or a relevant link

Constructor Detail

KAboutPerson

protected KAboutPerson(Class dummy)

KAboutPerson

public KAboutPerson(String name, String task, String emailAddress, String webAddress)
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.

UNKNOWN: Convenience constructor

KAboutPerson

public KAboutPerson()
Don't use. Required by QValueList

UNKNOWN:

Method Detail

dispose

public void dispose()
Delete the wrapped C++ instance ahead of finalize()

emailAddress

public String emailAddress()
The person's email address

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

UNKNOWN: The person's email address

finalize

protected void finalize()
Deletes the wrapped C++ instance

isDisposed

public boolean isDisposed()
Has the wrapped C++ instance been deleted?

name

public String name()
The person's name

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

UNKNOWN: The person's name

task

public String task()
The person's task

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

UNKNOWN: The person's task

webAddress

public String webAddress()
The home page or a relevant link

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

UNKNOWN: The home page or a relevant link