summaryrefslogtreecommitdiffstats
path: root/tdejava/koala/org/trinitydesktop/koala/TDEAboutPerson.java
blob: 233027ea763f70058e2d67bb47f425c048cd1c96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
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();
}