You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
81 lines
2.4 KiB
81 lines
2.4 KiB
//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.Date;
|
|
import org.kde.qt.QWidget;
|
|
import org.kde.qt.QWidget;
|
|
|
|
/**
|
|
|
|
This widget can be used to display or allow user selection of time.
|
|
\image html ktimewidget.png "KDE Time Widget"
|
|
See {@link KTimeWidgetSignals} for signals emitted by KTimeWidget
|
|
@author Hans Petter Bieker <bieker@kde.org>
|
|
|
|
@short A time selection widget.
|
|
|
|
*/
|
|
public class KTimeWidget extends QWidget {
|
|
protected KTimeWidget(Class dummy){super((Class) null);}
|
|
public native QMetaObject metaObject();
|
|
public native String className();
|
|
/**
|
|
Constructs a time selection widget.
|
|
@short Constructs a time selection widget.
|
|
*/
|
|
public KTimeWidget(QWidget parent, String name) {
|
|
super((Class) null);
|
|
newKTimeWidget(parent,name);
|
|
}
|
|
private native void newKTimeWidget(QWidget parent, String name);
|
|
public KTimeWidget(QWidget parent) {
|
|
super((Class) null);
|
|
newKTimeWidget(parent);
|
|
}
|
|
private native void newKTimeWidget(QWidget parent);
|
|
public KTimeWidget() {
|
|
super((Class) null);
|
|
newKTimeWidget();
|
|
}
|
|
private native void newKTimeWidget();
|
|
/**
|
|
Constructs a time selection widget with the initial time set to
|
|
<code>time.</code>
|
|
@short Constructs a time selection widget with the initial time set to <code>time.</code>
|
|
*/
|
|
public KTimeWidget(Date time, QWidget parent, String name) {
|
|
super((Class) null);
|
|
newKTimeWidget(time,parent,name);
|
|
}
|
|
private native void newKTimeWidget(Date time, QWidget parent, String name);
|
|
public KTimeWidget(Date time, QWidget parent) {
|
|
super((Class) null);
|
|
newKTimeWidget(time,parent);
|
|
}
|
|
private native void newKTimeWidget(Date time, QWidget parent);
|
|
public KTimeWidget(Date time) {
|
|
super((Class) null);
|
|
newKTimeWidget(time);
|
|
}
|
|
private native void newKTimeWidget(Date time);
|
|
/**
|
|
Returns the currently selected time.
|
|
@short Returns the currently selected time.
|
|
*/
|
|
public native Date time();
|
|
/**
|
|
Changes the selected time to <code>time.</code>
|
|
@short Changes the selected time to <code>time.</code>
|
|
*/
|
|
public native void setTime(Date time);
|
|
/** 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();
|
|
}
|