blob: b4669f1830a8b210cba13cfafb40046ba5961253 (
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
|
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;
import org.kde.qt.Qt;
import org.kde.qt.QMetaObject;
import org.kde.qt.QtSupport;
import java.util.Calendar;
import org.kde.qt.QWidget;
import org.kde.qt.QWidget;
/**
This widget can be used to display or allow user selection of date and time.
\image html kdatetimewidget.png "KDE Date Time Widget"
See {@link KDateTimeWidgetSignals} for signals emitted by KDateTimeWidget
@author Hans Petter Bieker <bieker@kde.org>
@version $Id$
@short A combination of a date and a time selection widget.
@see KDateWidget
*/
public class KDateTimeWidget extends QWidget {
protected KDateTimeWidget(Class dummy){super((Class) null);}
public native QMetaObject metaObject();
public native String className();
/**
Constructs a date and time selection widget.
@short Constructs a date and time selection widget.
*/
public KDateTimeWidget(QWidget parent, String name) {
super((Class) null);
newKDateTimeWidget(parent,name);
}
private native void newKDateTimeWidget(QWidget parent, String name);
public KDateTimeWidget(QWidget parent) {
super((Class) null);
newKDateTimeWidget(parent);
}
private native void newKDateTimeWidget(QWidget parent);
public KDateTimeWidget() {
super((Class) null);
newKDateTimeWidget();
}
private native void newKDateTimeWidget();
/**
Constructs a date and time selection widget with the initial date and
time set to <code>datetime.</code>
@short Constructs a date and time selection widget with the initial date and time set to <code>datetime.</code>
*/
public KDateTimeWidget(Calendar datetime, QWidget parent, String name) {
super((Class) null);
newKDateTimeWidget(datetime,parent,name);
}
private native void newKDateTimeWidget(Calendar datetime, QWidget parent, String name);
public KDateTimeWidget(Calendar datetime, QWidget parent) {
super((Class) null);
newKDateTimeWidget(datetime,parent);
}
private native void newKDateTimeWidget(Calendar datetime, QWidget parent);
public KDateTimeWidget(Calendar datetime) {
super((Class) null);
newKDateTimeWidget(datetime);
}
private native void newKDateTimeWidget(Calendar datetime);
/**
Returns the currently selected date and time.
@short Returns the currently selected date and time.
*/
public native Calendar dateTime();
/**
Changes the selected date and time to <code>datetime.</code>
@short Changes the selected date and time to <code>datetime.</code>
*/
public native void setDateTime(Calendar datetime);
/** 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();
}
|