summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QTimeEdit.java
blob: a6298aa9d803db92b262c24d067c455407d35a71 (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.kde.qt;

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

/**
 See {@link QTimeEditSignals} for signals emitted by QTimeEdit
*/
public class QTimeEdit extends QDateTimeEditBase  {
	protected QTimeEdit(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 QMetaObject metaObject();
	public native String className();
	public QTimeEdit(QWidget parent, String name) {
		super((Class) null);
		newQTimeEdit(parent,name);
	}
	private native void newQTimeEdit(QWidget parent, String name);
	public QTimeEdit(QWidget parent) {
		super((Class) null);
		newQTimeEdit(parent);
	}
	private native void newQTimeEdit(QWidget parent);
	public QTimeEdit() {
		super((Class) null);
		newQTimeEdit();
	}
	private native void newQTimeEdit();
	public QTimeEdit(Date time, QWidget parent, String name) {
		super((Class) null);
		newQTimeEdit(time,parent,name);
	}
	private native void newQTimeEdit(Date time, QWidget parent, String name);
	public QTimeEdit(Date time, QWidget parent) {
		super((Class) null);
		newQTimeEdit(time,parent);
	}
	private native void newQTimeEdit(Date time, QWidget parent);
	public QTimeEdit(Date time) {
		super((Class) null);
		newQTimeEdit(time);
	}
	private native void newQTimeEdit(Date time);
	public native QSize sizeHint();
	public native QSize 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(QEvent e);
	protected native void timerEvent(QTimerEvent e);
	protected native void resizeEvent(QResizeEvent 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();
}