diff options
Diffstat (limited to 'tdejava/koala/org/trinitydesktop/koala/TDEAboutPerson.java')
-rw-r--r-- | tdejava/koala/org/trinitydesktop/koala/TDEAboutPerson.java | 93 |
1 files changed, 93 insertions, 0 deletions
diff --git a/tdejava/koala/org/trinitydesktop/koala/TDEAboutPerson.java b/tdejava/koala/org/trinitydesktop/koala/TDEAboutPerson.java new file mode 100644 index 00000000..233027ea --- /dev/null +++ b/tdejava/koala/org/trinitydesktop/koala/TDEAboutPerson.java @@ -0,0 +1,93 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.koala; + +import org.trinitydesktop.qt.Qt; +import org.trinitydesktop.qt.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 + 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(): + <pre> + 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(args, &about); + </pre> + @short This structure is used to store information about a person or developer. + +*/ +public class TDEAboutPerson implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TDEAboutPerson(Class dummy){} + + /** + Convenience constructor + @param name The name of the person. + @param task The task of this person. This string should be + marked for translation, e.g. + I18N_NOOP("Task description....") + @param emailAddress The email address of the person. + @param webAddress Home page of the person. + @short Convenience constructor + */ + public TDEAboutPerson(String name, String task, String emailAddress, String webAddress) { + newTDEAboutPerson(name,task,emailAddress,webAddress); + } + private native void newTDEAboutPerson(String name, String task, String emailAddress, String webAddress); + /** + Don't use. Required by TQValueList + @short + */ + public TDEAboutPerson() { + newTDEAboutPerson(); + } + private native void newTDEAboutPerson(); + /** + The person's name + @return the person's name (can be null, if it has been + constructed with a null name) + + @short The person's name + */ + public native String name(); + /** + The person's task + @return the person's task (can be null, if it has been + constructed with a null task) + + @short The person's task + */ + public native String task(); + /** + The person's email address + @return the person's email address (can be null, if it has been + constructed with a null email) + + @short The person's email address + */ + public native String emailAddress(); + /** + The home page or a relevant link + @return the persons home page (can be null, if it has been + constructed with a null home page) + + @short The home page or a relevant link + */ + public native String webAddress(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} |