summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/KDateTimeWidget.java
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/org/kde/koala/KDateTimeWidget.java')
-rw-r--r--kdejava/koala/org/kde/koala/KDateTimeWidget.java83
1 files changed, 83 insertions, 0 deletions
diff --git a/kdejava/koala/org/kde/koala/KDateTimeWidget.java b/kdejava/koala/org/kde/koala/KDateTimeWidget.java
new file mode 100644
index 00000000..b4669f18
--- /dev/null
+++ b/kdejava/koala/org/kde/koala/KDateTimeWidget.java
@@ -0,0 +1,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();
+}