summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/trinitydesktop/qt/TQTimeEdit.java
blob: 2b5da2ae9d019d3e2be39b05694e8097c7c58781 (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
//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.qt;

import org.trinitydesktop.qt.Qt;
import java.util.Date;

/**
 See {@link TQTimeEditSignals} for signals emitted by TQTimeEdit
*/
public class TQTimeEdit extends TQDateTimeEditBase  {
	protected TQTimeEdit(Class dummy){super((Class) null);}
	public static final int Hours = 0x01;
	public static final int Minutes = 0x02;
	public static final int Seconds = 0x04;
	public static final int AMPM = 0x10;

	public native TQMetaObject metaObject();
	public native String className();
	public TQTimeEdit(TQWidget parent, String name) {
		super((Class) null);
		newTQTimeEdit(parent,name);
	}
	private native void newTQTimeEdit(TQWidget parent, String name);
	public TQTimeEdit(TQWidget parent) {
		super((Class) null);
		newTQTimeEdit(parent);
	}
	private native void newTQTimeEdit(TQWidget parent);
	public TQTimeEdit() {
		super((Class) null);
		newTQTimeEdit();
	}
	private native void newTQTimeEdit();
	public TQTimeEdit(Date time, TQWidget parent, String name) {
		super((Class) null);
		newTQTimeEdit(time,parent,name);
	}
	private native void newTQTimeEdit(Date time, TQWidget parent, String name);
	public TQTimeEdit(Date time, TQWidget parent) {
		super((Class) null);
		newTQTimeEdit(time,parent);
	}
	private native void newTQTimeEdit(Date time, TQWidget parent);
	public TQTimeEdit(Date time) {
		super((Class) null);
		newTQTimeEdit(time);
	}
	private native void newTQTimeEdit(Date time);
	public native TQSize sizeHint();
	public native TQSize minimumSizeHint();
	public native Date time();
	public native void setAutoAdvance(boolean advance);
	public native boolean autoAdvance();
	public native void setMinValue(Date d);
	public native Date minValue();
	public native void setMaxValue(Date d);
	public native Date maxValue();
	public native void setRange(Date min, Date max);
	public native String separator();
	public native void setSeparator(String s);
	public native int display();
	public native void setDisplay(int disp);
	public native void removeFirstNumber(int sec);
	public native void setTime(Date time);
	public static native String tr(String arg1, String arg2);
	public static native String tr(String arg1);
	public native boolean event(TQEvent e);
	protected native void timerEvent(TQTimerEvent e);
	protected native void resizeEvent(TQResizeEvent arg1);
	public native void stepUp();
	public native void stepDown();
	public native String sectionFormattedText(int sec);
	public native void addNumber(int sec, int num);
	public native void removeLastNumber(int sec);
	public native boolean setFocusSection(int s);
	protected native boolean outOfRange(int h, int m, int s);
	protected native void setHour(int h);
	protected native void setMinute(int m);
	protected native void setSecond(int s);
	protected native void updateButtons();
	/** 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();
}