You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
83 lines
2.6 KiB
Java
83 lines
2.6 KiB
Java
//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 a date.
|
|
See {@link KDateWidgetSignals} for signals emitted by KDateWidget
|
|
@version $Id$
|
|
|
|
@short A pushbutton to display or allow user selection of a date.
|
|
@see KDatePicker
|
|
|
|
*/
|
|
public class KDateWidget extends QWidget {
|
|
protected KDateWidget(Class dummy){super((Class) null);}
|
|
public native QMetaObject metaObject();
|
|
public native String className();
|
|
/**
|
|
Constructs a date selection widget.
|
|
@short Constructs a date selection widget.
|
|
*/
|
|
public KDateWidget(QWidget parent, String name) {
|
|
super((Class) null);
|
|
newKDateWidget(parent,name);
|
|
}
|
|
private native void newKDateWidget(QWidget parent, String name);
|
|
public KDateWidget(QWidget parent) {
|
|
super((Class) null);
|
|
newKDateWidget(parent);
|
|
}
|
|
private native void newKDateWidget(QWidget parent);
|
|
public KDateWidget() {
|
|
super((Class) null);
|
|
newKDateWidget();
|
|
}
|
|
private native void newKDateWidget();
|
|
/**
|
|
Constructs a date selection widget with the initial date set to <code>date.</code>
|
|
@short Constructs a date selection widget with the initial date set to <code>date.</code>
|
|
*/
|
|
public KDateWidget(Calendar date, QWidget parent, String name) {
|
|
super((Class) null);
|
|
newKDateWidget(date,parent,name);
|
|
}
|
|
private native void newKDateWidget(Calendar date, QWidget parent, String name);
|
|
public KDateWidget(Calendar date, QWidget parent) {
|
|
super((Class) null);
|
|
newKDateWidget(date,parent);
|
|
}
|
|
private native void newKDateWidget(Calendar date, QWidget parent);
|
|
public KDateWidget(Calendar date) {
|
|
super((Class) null);
|
|
newKDateWidget(date);
|
|
}
|
|
private native void newKDateWidget(Calendar date);
|
|
/**
|
|
Returns the currently selected date.
|
|
@short Returns the currently selected date.
|
|
*/
|
|
public native Calendar date();
|
|
/**
|
|
Changes the selected date to <code>date.</code>
|
|
@short Changes the selected date to <code>date.</code>
|
|
*/
|
|
public native void setDate(Calendar date);
|
|
protected native void init();
|
|
protected native void init(Calendar arg1);
|
|
protected native void slotDateChanged();
|
|
/** 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();
|
|
}
|