summaryrefslogtreecommitdiffstats
path: root/tdejava/koala/org/trinitydesktop/koala/KTimeWidget.java
blob: 65b91cd2b34a6ebc3c2c6c358e3e14a31344b80a (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
//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.koala;

import org.trinitydesktop.qt.Qt;
import org.trinitydesktop.qt.TQMetaObject;
import org.trinitydesktop.qt.QtSupport;
import java.util.Date;
import org.trinitydesktop.qt.TQWidget;
import org.trinitydesktop.qt.TQWidget;

/**

 This widget can be used to display or allow user selection of time.
 \image html ktimewidget.png "KDE Time Widget"
 See {@link KTimeWidgetSignals} for signals emitted by KTimeWidget
		@author Hans Petter Bieker <bieker@kde.org>

		@short A time selection widget.

*/
public class KTimeWidget extends TQWidget  {
	protected KTimeWidget(Class dummy){super((Class) null);}
	public native TQMetaObject metaObject();
	public native String className();
	/**
		 Constructs a time selection widget.
		   		@short    Constructs a time selection widget.
	*/
	public KTimeWidget(TQWidget parent, String name) {
		super((Class) null);
		newKTimeWidget(parent,name);
	}
	private native void newKTimeWidget(TQWidget parent, String name);
	public KTimeWidget(TQWidget parent) {
		super((Class) null);
		newKTimeWidget(parent);
	}
	private native void newKTimeWidget(TQWidget parent);
	public KTimeWidget() {
		super((Class) null);
		newKTimeWidget();
	}
	private native void newKTimeWidget();
	/**
		 Constructs a time selection widget with the initial time set to
		 <code>time.</code>
		   		@short    Constructs a time selection widget with the initial time set to  <code>time.</code>
	*/
	public KTimeWidget(Date time, TQWidget parent, String name) {
		super((Class) null);
		newKTimeWidget(time,parent,name);
	}
	private native void newKTimeWidget(Date time, TQWidget parent, String name);
	public KTimeWidget(Date time, TQWidget parent) {
		super((Class) null);
		newKTimeWidget(time,parent);
	}
	private native void newKTimeWidget(Date time, TQWidget parent);
	public KTimeWidget(Date time) {
		super((Class) null);
		newKTimeWidget(time);
	}
	private native void newKTimeWidget(Date time);
	/**
		 Returns the currently selected time.
		   		@short    Returns the currently selected time.
	*/
	public native Date time();
	/**
		 Changes the selected time to <code>time.</code>
		   		@short    Changes the selected time to <code>time.</code>
	*/
	public native void setTime(Date time);
	/** 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();
}