|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kde.koala.KAboutPerson
public class KAboutPerson
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);
Constructor Summary | |
---|---|
|
KAboutPerson()
Don't use. |
protected |
KAboutPerson(java.lang.Class dummy)
|
|
KAboutPerson(java.lang.String name,
java.lang.String task,
java.lang.String emailAddress,
java.lang.String webAddress)
Convenience constructor |
Method Summary | |
---|---|
void |
dispose()
Delete the wrapped C++ instance ahead of finalize() |
java.lang.String |
emailAddress()
The person's email address |
protected void |
finalize()
Deletes the wrapped C++ instance |
boolean |
isDisposed()
Has the wrapped C++ instance been deleted? |
java.lang.String |
name()
The person's name |
java.lang.String |
task()
The person's task |
java.lang.String |
webAddress()
The home page or a relevant link |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected KAboutPerson(java.lang.Class dummy)
public KAboutPerson(java.lang.String name, java.lang.String task, java.lang.String emailAddress, java.lang.String webAddress)
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.public KAboutPerson()
Method Detail |
---|
public java.lang.String name()
public java.lang.String task()
public java.lang.String emailAddress()
public java.lang.String webAddress()
protected void finalize() throws java.lang.InternalError
finalize
in class java.lang.Object
java.lang.InternalError
public void dispose()
public boolean isDisposed()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |