diff options
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QHeader.java')
-rw-r--r-- | qtjava/javalib/org/kde/qt/QHeader.java | 120 |
1 files changed, 120 insertions, 0 deletions
diff --git a/qtjava/javalib/org/kde/qt/QHeader.java b/qtjava/javalib/org/kde/qt/QHeader.java new file mode 100644 index 00000000..1a8b0eff --- /dev/null +++ b/qtjava/javalib/org/kde/qt/QHeader.java @@ -0,0 +1,120 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +/** + See {@link QHeaderSignals} for signals emitted by QHeader +*/ +public class QHeader extends QWidget { + protected QHeader(Class dummy){super((Class) null);} + public native QMetaObject metaObject(); + public native String className(); + public QHeader(QWidget parent, String name) { + super((Class) null); + newQHeader(parent,name); + } + private native void newQHeader(QWidget parent, String name); + public QHeader(QWidget parent) { + super((Class) null); + newQHeader(parent); + } + private native void newQHeader(QWidget parent); + public QHeader() { + super((Class) null); + newQHeader(); + } + private native void newQHeader(); + public QHeader(int arg1, QWidget parent, String name) { + super((Class) null); + newQHeader(arg1,parent,name); + } + private native void newQHeader(int arg1, QWidget parent, String name); + public QHeader(int arg1, QWidget parent) { + super((Class) null); + newQHeader(arg1,parent); + } + private native void newQHeader(int arg1, QWidget parent); + public QHeader(int arg1) { + super((Class) null); + newQHeader(arg1); + } + private native void newQHeader(int arg1); + public native int addLabel(String arg1, int size); + public native int addLabel(String arg1); + public native int addLabel(QIconSet arg1, String arg2, int size); + public native int addLabel(QIconSet arg1, String arg2); + public native void removeLabel(int section); + public native void setLabel(int arg1, String arg2, int size); + public native void setLabel(int arg1, String arg2); + public native void setLabel(int arg1, QIconSet arg2, String arg3, int size); + public native void setLabel(int arg1, QIconSet arg2, String arg3); + public native String label(int section); + public native QIconSet iconSet(int section); + public native void setOrientation(int arg1); + public native int orientation(); + public native void setTracking(boolean enable); + public native boolean tracking(); + public native void setClickEnabled(boolean arg1, int section); + public native void setClickEnabled(boolean arg1); + public native void setResizeEnabled(boolean arg1, int section); + public native void setResizeEnabled(boolean arg1); + public native void setMovingEnabled(boolean arg1); + public native void setStretchEnabled(boolean b, int section); + public native void setStretchEnabled(boolean b); + public native boolean isClickEnabled(int section); + public native boolean isClickEnabled(); + public native boolean isResizeEnabled(int section); + public native boolean isResizeEnabled(); + public native boolean isMovingEnabled(); + public native boolean isStretchEnabled(); + public native boolean isStretchEnabled(int section); + public native void resizeSection(int section, int s); + public native int sectionSize(int section); + public native int sectionPos(int section); + public native int sectionAt(int pos); + public native int count(); + public native int headerWidth(); + public native QRect sectionRect(int section); + public native void setCellSize(int arg1, int arg2); + public native int cellSize(int i); + public native int cellPos(int arg1); + public native int cellAt(int pos); + public native int offset(); + public native QSize sizeHint(); + public native int mapToSection(int index); + public native int mapToIndex(int section); + public native int mapToLogical(int arg1); + public native int mapToActual(int arg1); + public native void moveSection(int section, int toIndex); + public native void moveCell(int arg1, int arg2); + public native void setSortIndicator(int section, boolean ascending); + public native void setSortIndicator(int section); + public native void setSortIndicator(int section, int order); + public native int sortIndicatorSection(); + public native int sortIndicatorOrder(); + public native void adjustHeaderSize(); + public native void setUpdatesEnabled(boolean enable); + public native void setOffset(int pos); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void paintEvent(QPaintEvent arg1); + public native void showEvent(QShowEvent e); + protected native void resizeEvent(QResizeEvent e); + protected native QRect sRect(int index); + protected native void paintSection(QPainter p, int index, QRect fr); + protected native void paintSectionLabel(QPainter p, int index, QRect fr); + protected native void fontChange(QFont arg1); + protected native void mousePressEvent(QMouseEvent arg1); + protected native void mouseReleaseEvent(QMouseEvent arg1); + protected native void mouseMoveEvent(QMouseEvent arg1); + protected native void mouseDoubleClickEvent(QMouseEvent arg1); + protected native void keyPressEvent(QKeyEvent arg1); + protected native void keyReleaseEvent(QKeyEvent arg1); + /** 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(); +} |