diff options
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QStyle.java')
-rw-r--r-- | qtjava/javalib/org/kde/qt/QStyle.java | 94 |
1 files changed, 47 insertions, 47 deletions
diff --git a/qtjava/javalib/org/kde/qt/QStyle.java b/qtjava/javalib/org/kde/qt/QStyle.java index f04bf0ed..f91e9796 100644 --- a/qtjava/javalib/org/kde/qt/QStyle.java +++ b/qtjava/javalib/org/kde/qt/QStyle.java @@ -3,8 +3,8 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QStyle extends QObject { - protected QStyle(Class dummy){super((Class) null);} +public class TQStyle extends TQObject { + protected TQStyle(Class dummy){super((Class) null);} public static final int PE_ButtonCommand = 0; public static final int PE_ButtonDefault = 1; public static final int PE_ButtonBevel = 2; @@ -302,55 +302,55 @@ public class QStyle extends QObject { public static final int SP_MessageBoxQuestion = 10; public static final int SP_CustomBase = 0xf0000000; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public native void polish(QWidget arg1); - public native void unPolish(QWidget arg1); - public native void polish(QApplication arg1); - public native void unPolish(QApplication arg1); - public native void polish(QPalette arg1); - public native void polishPopupMenu(QPopupMenu arg1); - public native QRect itemRect(QPainter p, QRect r, int flags, boolean enabled, QPixmap pixmap, String text, int len); - public native QRect itemRect(QPainter p, QRect r, int flags, boolean enabled, QPixmap pixmap, String text); - public native void drawItem(QPainter p, QRect r, int flags, QColorGroup g, boolean enabled, QPixmap pixmap, String text, int len, QColor penColor); - public native void drawItem(QPainter p, QRect r, int flags, QColorGroup g, boolean enabled, QPixmap pixmap, String text, int len); - public native void drawItem(QPainter p, QRect r, int flags, QColorGroup g, boolean enabled, QPixmap pixmap, String text); - public native void drawPrimitive(int pe, QPainter p, QRect r, QColorGroup cg, int flags, QStyleOption arg6); - public native void drawPrimitive(int pe, QPainter p, QRect r, QColorGroup cg, int flags); - public native void drawPrimitive(int pe, QPainter p, QRect r, QColorGroup cg); - public native void drawControl(int element, QPainter p, QWidget widget, QRect r, QColorGroup cg, int how, QStyleOption arg7); - public native void drawControl(int element, QPainter p, QWidget widget, QRect r, QColorGroup cg, int how); - public native void drawControl(int element, QPainter p, QWidget widget, QRect r, QColorGroup cg); - public native void drawControlMask(int element, QPainter p, QWidget widget, QRect r, QStyleOption arg5); - public native void drawControlMask(int element, QPainter p, QWidget widget, QRect r); - public native QRect subRect(int r, QWidget widget); - public native void drawComplexControl(int control, QPainter p, QWidget widget, QRect r, QColorGroup cg, int how, int sub, int subActive, QStyleOption arg9); - public native void drawComplexControl(int control, QPainter p, QWidget widget, QRect r, QColorGroup cg, int how, int sub, int subActive); - public native void drawComplexControl(int control, QPainter p, QWidget widget, QRect r, QColorGroup cg, int how, int sub); - public native void drawComplexControl(int control, QPainter p, QWidget widget, QRect r, QColorGroup cg, int how); - public native void drawComplexControl(int control, QPainter p, QWidget widget, QRect r, QColorGroup cg); - public native void drawComplexControlMask(int control, QPainter p, QWidget widget, QRect r, QStyleOption arg5); - public native void drawComplexControlMask(int control, QPainter p, QWidget widget, QRect r); - public native QRect querySubControlMetrics(int control, QWidget widget, int sc, QStyleOption arg4); - public native QRect querySubControlMetrics(int control, QWidget widget, int sc); - public native int querySubControl(int control, QWidget widget, QPoint pos, QStyleOption arg4); - public native int querySubControl(int control, QWidget widget, QPoint pos); - public native int pixelMetric(int metric, QWidget widget); + public native void polish(TQWidget arg1); + public native void unPolish(TQWidget arg1); + public native void polish(TQApplication arg1); + public native void unPolish(TQApplication arg1); + public native void polish(TQPalette arg1); + public native void polishPopupMenu(TQPopupMenu arg1); + public native TQRect itemRect(TQPainter p, TQRect r, int flags, boolean enabled, TQPixmap pixmap, String text, int len); + public native TQRect itemRect(TQPainter p, TQRect r, int flags, boolean enabled, TQPixmap pixmap, String text); + public native void drawItem(TQPainter p, TQRect r, int flags, TQColorGroup g, boolean enabled, TQPixmap pixmap, String text, int len, TQColor penColor); + public native void drawItem(TQPainter p, TQRect r, int flags, TQColorGroup g, boolean enabled, TQPixmap pixmap, String text, int len); + public native void drawItem(TQPainter p, TQRect r, int flags, TQColorGroup g, boolean enabled, TQPixmap pixmap, String text); + public native void drawPrimitive(int pe, TQPainter p, TQRect r, TQColorGroup cg, int flags, TQStyleOption arg6); + public native void drawPrimitive(int pe, TQPainter p, TQRect r, TQColorGroup cg, int flags); + public native void drawPrimitive(int pe, TQPainter p, TQRect r, TQColorGroup cg); + public native void drawControl(int element, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg, int how, TQStyleOption arg7); + public native void drawControl(int element, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg, int how); + public native void drawControl(int element, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg); + public native void drawControlMask(int element, TQPainter p, TQWidget widget, TQRect r, TQStyleOption arg5); + public native void drawControlMask(int element, TQPainter p, TQWidget widget, TQRect r); + public native TQRect subRect(int r, TQWidget widget); + public native void drawComplexControl(int control, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg, int how, int sub, int subActive, TQStyleOption arg9); + public native void drawComplexControl(int control, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg, int how, int sub, int subActive); + public native void drawComplexControl(int control, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg, int how, int sub); + public native void drawComplexControl(int control, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg, int how); + public native void drawComplexControl(int control, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg); + public native void drawComplexControlMask(int control, TQPainter p, TQWidget widget, TQRect r, TQStyleOption arg5); + public native void drawComplexControlMask(int control, TQPainter p, TQWidget widget, TQRect r); + public native TQRect querySubControlMetrics(int control, TQWidget widget, int sc, TQStyleOption arg4); + public native TQRect querySubControlMetrics(int control, TQWidget widget, int sc); + public native int querySubControl(int control, TQWidget widget, TQPoint pos, TQStyleOption arg4); + public native int querySubControl(int control, TQWidget widget, TQPoint pos); + public native int pixelMetric(int metric, TQWidget widget); public native int pixelMetric(int metric); - public native QSize sizeFromContents(int contents, QWidget widget, QSize contentsSize, QStyleOption arg4); - public native QSize sizeFromContents(int contents, QWidget widget, QSize contentsSize); - // int styleHint(QStyle::StyleHint arg1,const QWidget* arg2,const QStyleOption& arg3,QStyleHintReturn* arg4); >>>> NOT CONVERTED - public native int styleHint(int stylehint, QWidget widget, QStyleOption arg3); - public native int styleHint(int stylehint, QWidget widget); + public native TQSize sizeFromContents(int contents, TQWidget widget, TQSize contentsSize, TQStyleOption arg4); + public native TQSize sizeFromContents(int contents, TQWidget widget, TQSize contentsSize); + // int styleHint(TQStyle::StyleHint arg1,const TQWidget* arg2,const TQStyleOption& arg3,TQStyleHintReturn* arg4); >>>> NOT CONVERTED + public native int styleHint(int stylehint, TQWidget widget, TQStyleOption arg3); + public native int styleHint(int stylehint, TQWidget widget); public native int styleHint(int stylehint); - public native QPixmap stylePixmap(int stylepixmap, QWidget widget, QStyleOption arg3); - public native QPixmap stylePixmap(int stylepixmap, QWidget widget); - public native QPixmap stylePixmap(int stylepixmap); + public native TQPixmap stylePixmap(int stylepixmap, TQWidget widget, TQStyleOption arg3); + public native TQPixmap stylePixmap(int stylepixmap, TQWidget widget); + public native TQPixmap stylePixmap(int stylepixmap); public native int defaultFrameWidth(); - public native void tabbarMetrics(QWidget t, int[] hf, int[] vf, int[] ov); - public native QSize scrollBarExtent(); + public native void tabbarMetrics(TQWidget t, int[] hf, int[] vf, int[] ov); + public native TQSize scrollBarExtent(); public static native String tr(String arg1, String arg2); public static native String tr(String arg1); - public static native QRect visualRect(QRect logical, QWidget w); - public static native QRect visualRect(QRect logical, QRect bounding); + public static native TQRect visualRect(TQRect logical, TQWidget w); + public static native TQRect visualRect(TQRect logical, TQRect bounding); } |