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

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

/**
 See {@link TQDateEditSignals} for signals emitted by TQDateEdit
*/
public class TQDateEdit extends TQDateTimeEditBase  {
	protected TQDateEdit(Class dummy){super((Class) null);}
	public static final int DMY = 0;
	public static final int MDY = 1;
	public static final int YMD = 2;
	public static final int YDM = 3;

	public native TQMetaObject metaObject();
	public native String className();
	public TQDateEdit(TQWidget parent, String name) {
		super((Class) null);
		newTQDateEdit(parent,name);
	}
	private native void newTQDateEdit(TQWidget parent, String name);
	public TQDateEdit(TQWidget parent) {
		super((Class) null);
		newTQDateEdit(parent);
	}
	private native void newTQDateEdit(TQWidget parent);
	public TQDateEdit() {
		super((Class) null);
		newTQDateEdit();
	}
	private native void newTQDateEdit();
	public TQDateEdit(Calendar date, TQWidget parent, String name) {
		super((Class) null);
		newTQDateEdit(date,parent,name);
	}
	private native void newTQDateEdit(Calendar date, TQWidget parent, String name);
	public TQDateEdit(Calendar date, TQWidget parent) {
		super((Class) null);
		newTQDateEdit(date,parent);
	}
	private native void newTQDateEdit(Calendar date, TQWidget parent);
	public TQDateEdit(Calendar date) {
		super((Class) null);
		newTQDateEdit(date);
	}
	private native void newTQDateEdit(Calendar date);
	public native TQSize sizeHint();
	public native TQSize minimumSizeHint();
	public native Calendar date();
	public native void setOrder(int order);
	public native int order();
	public native void setAutoAdvance(boolean advance);
	public native boolean autoAdvance();
	public native void setMinValue(Calendar d);
	public native Calendar minValue();
	public native void setMaxValue(Calendar d);
	public native Calendar maxValue();
	public native void setRange(Calendar min, Calendar max);
	public native String separator();
	public native void setSeparator(String s);
	public native void removeFirstNumber(int sec);
	public native void setDate(Calendar date);
	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 arg1);
	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 void setYear(int year);
	protected native void setMonth(int month);
	protected native void setDay(int day);
	protected native void fix();
	protected native boolean outOfRange(int y, int m, int d);
	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();
}