You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdebindings/kdejava/koala/org/kde/koala/KAboutPerson.java

94 lines
3.0 KiB

//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;
import org.kde.qt.Qt;
import org.kde.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
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():
<pre>
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);
</pre>
@short This structure is used to store information about a person or developer.
*/
public class KAboutPerson implements QtSupport {
private long _qt;
private boolean _allocatedInJavaWorld = true;
protected KAboutPerson(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 KAboutPerson(String name, String task, String emailAddress, String webAddress) {
newKAboutPerson(name,task,emailAddress,webAddress);
}
private native void newKAboutPerson(String name, String task, String emailAddress, String webAddress);
/**
Don't use. Required by QValueList
@short
*/
public KAboutPerson() {
newKAboutPerson();
}
private native void newKAboutPerson();
/**
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();
}