diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | 90825e2392b2d70e43c7a25b8a3752299a933894 (patch) | |
tree | e33aa27f02b74604afbfd0ea4f1cfca8833d882a /kdejava/koala/org/kde/koala/KDateTimeWidget.java | |
download | tdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.tar.gz tdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdejava/koala/org/kde/koala/KDateTimeWidget.java')
-rw-r--r-- | kdejava/koala/org/kde/koala/KDateTimeWidget.java | 83 |
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(); +} |