diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:44:01 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:44:01 +0000 |
commit | 479f5f799523bffbcc83dff581a2299c047c6fff (patch) | |
tree | 186aae707ed02aac6c7cab2fb14e97f72aca5e36 /qtsharp/src/bindings/static/QStyle.cs | |
parent | f1dbff6145c98324ff82e34448b7483727e8ace4 (diff) | |
download | tdebindings-479f5f799523bffbcc83dff581a2299c047c6fff.tar.gz tdebindings-479f5f799523bffbcc83dff581a2299c047c6fff.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1157645 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'qtsharp/src/bindings/static/QStyle.cs')
-rw-r--r-- | qtsharp/src/bindings/static/QStyle.cs | 180 |
1 files changed, 90 insertions, 90 deletions
diff --git a/qtsharp/src/bindings/static/QStyle.cs b/qtsharp/src/bindings/static/QStyle.cs index c61ec005..1068433b 100644 --- a/qtsharp/src/bindings/static/QStyle.cs +++ b/qtsharp/src/bindings/static/QStyle.cs @@ -1,4 +1,4 @@ -// QStyle.cs - A Qt to C# binding. +// TQStyle.cs - A Qt to C# binding. // // Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) // @@ -24,7 +24,7 @@ namespace Qt { using System; using System.Runtime.InteropServices; - public class QStyle : QObject, IDisposable { + public class TQStyle : TQObject, IDisposable { public enum PrimitiveElement: long { PE_ButtonCommand = 0, @@ -279,17 +279,17 @@ namespace Qt { SP_CustomBase = 4026531840 } - internal QStyle () : this (QNull.Instance) {} + internal TQStyle () : this (QNull.Instance) {} - internal QStyle (IntPtr ptr) : this (QNull.Instance) + internal TQStyle (IntPtr ptr) : this (QNull.Instance) { rawObject = ptr; RegisterObject(this); } - internal QStyle (QNull dummy) : base (QNull.Instance) {} + internal TQStyle (QNull dummy) : base (QNull.Instance) {} - ~QStyle () + ~TQStyle () { Dispose(false); } @@ -306,142 +306,142 @@ namespace Qt { [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern void qt_QStyle_polish (IntPtr raw, IntPtr arg1); - public void polish (QWidget arg1) + public void polish (TQWidget arg1) { qt_QStyle_polish (rawObject, arg1.RawObject); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern void qt_QStyle_unPolish (IntPtr raw, IntPtr arg1); - public void unPolish (QWidget arg1) + public void unPolish (TQWidget arg1) { qt_QStyle_unPolish (rawObject, arg1.RawObject); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern void qt_QStyle_polish1 (IntPtr raw, IntPtr arg1); - public void polish (QApplication arg1) + public void polish (TQApplication arg1) { qt_QStyle_polish1 (rawObject, arg1.RawObject); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern void qt_QStyle_unPolish1 (IntPtr raw, IntPtr arg1); - public void unPolish (QApplication arg1) + public void unPolish (TQApplication arg1) { qt_QStyle_unPolish1 (rawObject, arg1.RawObject); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern void qt_QStyle_polish2 (IntPtr raw, IntPtr arg1); - public void polish (QPalette arg1) + public void polish (TQPalette arg1) { qt_QStyle_polish2 (rawObject, arg1.RawObject); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern void qt_QStyle_polishPopupMenu (IntPtr raw, IntPtr arg1); - public void polishPopupMenu (QPopupMenu arg1) + public void polishPopupMenu (TQPopupMenu arg1) { qt_QStyle_polishPopupMenu (rawObject, arg1.RawObject); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QStyle_itemRect (IntPtr raw, IntPtr p, IntPtr r, int flags, bool enabled, IntPtr pixmap, IntPtr text, int len); - public QRect itemRect (QPainter p, QRect r, int flags, bool enabled, QPixmap pixmap, string text, int len) + public TQRect itemRect (TQPainter p, TQRect r, int flags, bool enabled, TQPixmap pixmap, string text, int len) { - return (QRect)LookupObject (qt_QStyle_itemRect (rawObject, p.RawObject, r.RawObject, flags, enabled, pixmap.RawObject, new QString (text).RawObject, len), typeof(QRect)); + return (TQRect)LookupObject (qt_QStyle_itemRect (rawObject, p.RawObject, r.RawObject, flags, enabled, pixmap.RawObject, new TQString (text).RawObject, len), typeof(TQRect)); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern void qt_QStyle_drawItem (IntPtr raw, IntPtr p, IntPtr r, int flags, IntPtr g, bool enabled, IntPtr pixmap, IntPtr text, int len, IntPtr penColor); - public void drawItem (QPainter p, QRect r, int flags, QColorGroup g, bool enabled, QPixmap pixmap, string text, int len, QColor penColor) + public void drawItem (TQPainter p, TQRect r, int flags, TQColorGroup g, bool enabled, TQPixmap pixmap, string text, int len, TQColor penColor) { - qt_QStyle_drawItem (rawObject, p.RawObject, r.RawObject, flags, g.RawObject, enabled, pixmap.RawObject, new QString (text).RawObject, len, penColor.RawObject); + qt_QStyle_drawItem (rawObject, p.RawObject, r.RawObject, flags, g.RawObject, enabled, pixmap.RawObject, new TQString (text).RawObject, len, penColor.RawObject); } [DllImport("libqtc", CharSet=CharSet.Ansi)] - private static extern void qt_QStyle_drawPrimitive (IntPtr raw, QStyle.PrimitiveElement pe, IntPtr p, IntPtr r, IntPtr cg, QStyle.StyleFlags flags, IntPtr arg1); - public void drawPrimitive (QStyle.PrimitiveElement pe, QPainter p, QRect r, QColorGroup cg, QStyle.StyleFlags flags, QStyleOption arg1) + private static extern void qt_QStyle_drawPrimitive (IntPtr raw, TQStyle.PrimitiveElement pe, IntPtr p, IntPtr r, IntPtr cg, TQStyle.StyleFlags flags, IntPtr arg1); + public void drawPrimitive (TQStyle.PrimitiveElement pe, TQPainter p, TQRect r, TQColorGroup cg, TQStyle.StyleFlags flags, TQStyleOption arg1) { qt_QStyle_drawPrimitive (rawObject, pe, p.RawObject, r.RawObject, cg.RawObject, flags, arg1.RawObject); } [DllImport("libqtc", CharSet=CharSet.Ansi)] - private static extern void qt_QStyle_drawControl (IntPtr raw, QStyle.ControlElement element, IntPtr p, IntPtr widget, IntPtr r, IntPtr cg, QStyle.StyleFlags how, IntPtr arg1); - public void drawControl (QStyle.ControlElement element, QPainter p, QWidget widget, QRect r, QColorGroup cg, QStyle.StyleFlags how, QStyleOption arg1) + private static extern void qt_QStyle_drawControl (IntPtr raw, TQStyle.ControlElement element, IntPtr p, IntPtr widget, IntPtr r, IntPtr cg, TQStyle.StyleFlags how, IntPtr arg1); + public void drawControl (TQStyle.ControlElement element, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg, TQStyle.StyleFlags how, TQStyleOption arg1) { qt_QStyle_drawControl (rawObject, element, p.RawObject, widget.RawObject, r.RawObject, cg.RawObject, how, arg1.RawObject); } [DllImport("libqtc", CharSet=CharSet.Ansi)] - private static extern void qt_QStyle_drawControlMask (IntPtr raw, QStyle.ControlElement element, IntPtr p, IntPtr widget, IntPtr r, IntPtr arg1); - public void drawControlMask (QStyle.ControlElement element, QPainter p, QWidget widget, QRect r, QStyleOption arg1) + private static extern void qt_QStyle_drawControlMask (IntPtr raw, TQStyle.ControlElement element, IntPtr p, IntPtr widget, IntPtr r, IntPtr arg1); + public void drawControlMask (TQStyle.ControlElement element, TQPainter p, TQWidget widget, TQRect r, TQStyleOption arg1) { qt_QStyle_drawControlMask (rawObject, element, p.RawObject, widget.RawObject, r.RawObject, arg1.RawObject); } [DllImport("libqtc", CharSet=CharSet.Ansi)] - private static extern IntPtr qt_QStyle_subRect (IntPtr raw, QStyle.SubRect r, IntPtr widget); - public QRect subRect (QStyle.SubRect r, QWidget widget) + private static extern IntPtr qt_QStyle_subRect (IntPtr raw, TQStyle.SubRect r, IntPtr widget); + public TQRect subRect (TQStyle.SubRect r, TQWidget widget) { - return (QRect)LookupObject (qt_QStyle_subRect (rawObject, r, widget.RawObject), typeof(QRect)); + return (TQRect)LookupObject (qt_QStyle_subRect (rawObject, r, widget.RawObject), typeof(TQRect)); } [DllImport("libqtc", CharSet=CharSet.Ansi)] - private static extern void qt_QStyle_drawComplexControl (IntPtr raw, QStyle.ComplexControl control, IntPtr p, IntPtr widget, IntPtr r, IntPtr cg, QStyle.StyleFlags how, QStyle.SubControl sub, QStyle.SubControl subActive, IntPtr arg1); - public void drawComplexControl (QStyle.ComplexControl control, QPainter p, QWidget widget, QRect r, QColorGroup cg, QStyle.StyleFlags how, QStyle.SubControl sub, QStyle.SubControl subActive, QStyleOption arg1) + private static extern void qt_QStyle_drawComplexControl (IntPtr raw, TQStyle.ComplexControl control, IntPtr p, IntPtr widget, IntPtr r, IntPtr cg, TQStyle.StyleFlags how, TQStyle.SubControl sub, TQStyle.SubControl subActive, IntPtr arg1); + public void drawComplexControl (TQStyle.ComplexControl control, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg, TQStyle.StyleFlags how, TQStyle.SubControl sub, TQStyle.SubControl subActive, TQStyleOption arg1) { qt_QStyle_drawComplexControl (rawObject, control, p.RawObject, widget.RawObject, r.RawObject, cg.RawObject, how, sub, subActive, arg1.RawObject); } [DllImport("libqtc", CharSet=CharSet.Ansi)] - private static extern void qt_QStyle_drawComplexControlMask (IntPtr raw, QStyle.ComplexControl control, IntPtr p, IntPtr widget, IntPtr r, IntPtr arg1); - public void drawComplexControlMask (QStyle.ComplexControl control, QPainter p, QWidget widget, QRect r, QStyleOption arg1) + private static extern void qt_QStyle_drawComplexControlMask (IntPtr raw, TQStyle.ComplexControl control, IntPtr p, IntPtr widget, IntPtr r, IntPtr arg1); + public void drawComplexControlMask (TQStyle.ComplexControl control, TQPainter p, TQWidget widget, TQRect r, TQStyleOption arg1) { qt_QStyle_drawComplexControlMask (rawObject, control, p.RawObject, widget.RawObject, r.RawObject, arg1.RawObject); } [DllImport("libqtc", CharSet=CharSet.Ansi)] - private static extern IntPtr qt_QStyle_querySubControlMetrics (IntPtr raw, QStyle.ComplexControl control, IntPtr widget, QStyle.SubControl sc, IntPtr arg1); - public QRect querySubControlMetrics (QStyle.ComplexControl control, QWidget widget, QStyle.SubControl sc, QStyleOption arg1) + private static extern IntPtr qt_QStyle_querySubControlMetrics (IntPtr raw, TQStyle.ComplexControl control, IntPtr widget, TQStyle.SubControl sc, IntPtr arg1); + public TQRect querySubControlMetrics (TQStyle.ComplexControl control, TQWidget widget, TQStyle.SubControl sc, TQStyleOption arg1) { - return (QRect)LookupObject (qt_QStyle_querySubControlMetrics (rawObject, control, widget.RawObject, sc, arg1.RawObject), typeof(QRect)); + return (TQRect)LookupObject (qt_QStyle_querySubControlMetrics (rawObject, control, widget.RawObject, sc, arg1.RawObject), typeof(TQRect)); } [DllImport("libqtc", CharSet=CharSet.Ansi)] - private static extern QStyle.SubControl qt_QStyle_querySubControl (IntPtr raw, QStyle.ComplexControl control, IntPtr widget, IntPtr pos, IntPtr arg1); - public QStyle.SubControl querySubControl (QStyle.ComplexControl control, QWidget widget, QPoint pos, QStyleOption arg1) + private static extern TQStyle.SubControl qt_QStyle_querySubControl (IntPtr raw, TQStyle.ComplexControl control, IntPtr widget, IntPtr pos, IntPtr arg1); + public TQStyle.SubControl querySubControl (TQStyle.ComplexControl control, TQWidget widget, TQPoint pos, TQStyleOption arg1) { return qt_QStyle_querySubControl (rawObject, control, widget.RawObject, pos.RawObject, arg1.RawObject); } [DllImport("libqtc", CharSet=CharSet.Ansi)] - private static extern int qt_QStyle_pixelMetric (IntPtr raw, QStyle.PixelMetric metric, IntPtr widget); - public int pixelMetric (QStyle.PixelMetric metric, QWidget widget) + private static extern int qt_QStyle_pixelMetric (IntPtr raw, TQStyle.PixelMetric metric, IntPtr widget); + public int pixelMetric (TQStyle.PixelMetric metric, TQWidget widget) { return qt_QStyle_pixelMetric (rawObject, metric, widget.RawObject); } [DllImport("libqtc", CharSet=CharSet.Ansi)] - private static extern IntPtr qt_QStyle_sizeFromContents (IntPtr raw, QStyle.ContentsType contents, IntPtr widget, IntPtr contentsSize, IntPtr arg1); - public QSize sizeFromContents (QStyle.ContentsType contents, QWidget widget, QSize contentsSize, QStyleOption arg1) + private static extern IntPtr qt_QStyle_sizeFromContents (IntPtr raw, TQStyle.ContentsType contents, IntPtr widget, IntPtr contentsSize, IntPtr arg1); + public TQSize sizeFromContents (TQStyle.ContentsType contents, TQWidget widget, TQSize contentsSize, TQStyleOption arg1) { - return (QSize)LookupObject (qt_QStyle_sizeFromContents (rawObject, contents, widget.RawObject, contentsSize.RawObject, arg1.RawObject), typeof(QSize)); + return (TQSize)LookupObject (qt_QStyle_sizeFromContents (rawObject, contents, widget.RawObject, contentsSize.RawObject, arg1.RawObject), typeof(TQSize)); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern int qt_QStyle_styleHint (IntPtr raw, StyleHint stylehint, IntPtr widget, IntPtr arg1, IntPtr returnData); - public int styleHint (StyleHint stylehint, QWidget widget, QStyleOption arg1, IntPtr returnData) + public int styleHint (StyleHint stylehint, TQWidget widget, TQStyleOption arg1, IntPtr returnData) { return qt_QStyle_styleHint (rawObject, stylehint, widget.RawObject, arg1.RawObject, returnData); } [DllImport("libqtc", CharSet=CharSet.Ansi)] - private static extern IntPtr qt_QStyle_stylePixmap (IntPtr raw, QStyle.StylePixmap stylepixmap, IntPtr widget, IntPtr arg1); - public QPixmap stylePixmap (QStyle.StylePixmap stylepixmap, QWidget widget, QStyleOption arg1) + private static extern IntPtr qt_QStyle_stylePixmap (IntPtr raw, TQStyle.StylePixmap stylepixmap, IntPtr widget, IntPtr arg1); + public TQPixmap stylePixmap (TQStyle.StylePixmap stylepixmap, TQWidget widget, TQStyleOption arg1) { - return (QPixmap)LookupObject (qt_QStyle_stylePixmap (rawObject, stylepixmap, widget.RawObject, arg1.RawObject), typeof(QPixmap)); + return (TQPixmap)LookupObject (qt_QStyle_stylePixmap (rawObject, stylepixmap, widget.RawObject, arg1.RawObject), typeof(TQPixmap)); } [DllImport("libqtc", CharSet=CharSet.Ansi)] @@ -453,140 +453,140 @@ namespace Qt { [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern void qt_QStyle_tabbarMetrics (IntPtr raw, IntPtr t, int hf, int vf, int ov); - public void tabbarMetrics (QWidget t, int hf, int vf, int ov) + public void tabbarMetrics (TQWidget t, int hf, int vf, int ov) { qt_QStyle_tabbarMetrics (rawObject, t.RawObject, hf, vf, ov); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QStyle_scrollBarExtent (IntPtr raw); - public QSize scrollBarExtent () + public TQSize scrollBarExtent () { - return (QSize)LookupObject (qt_QStyle_scrollBarExtent (rawObject), typeof(QSize)); + return (TQSize)LookupObject (qt_QStyle_scrollBarExtent (rawObject), typeof(TQSize)); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QStyle_visualRect (IntPtr logical, IntPtr w); - public static QRect visualRect (QRect logical, QWidget w) + public static TQRect visualRect (TQRect logical, TQWidget w) { - return (QRect)LookupObject (qt_QStyle_visualRect (logical.RawObject, w.RawObject), typeof(QRect)); + return (TQRect)LookupObject (qt_QStyle_visualRect (logical.RawObject, w.RawObject), typeof(TQRect)); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QStyle_visualRect1 (IntPtr logical, IntPtr bounding); - public static QRect visualRect (QRect logical, QRect bounding) + public static TQRect visualRect (TQRect logical, TQRect bounding) { - return (QRect)LookupObject (qt_QStyle_visualRect1 (logical.RawObject, bounding.RawObject), typeof(QRect)); + return (TQRect)LookupObject (qt_QStyle_visualRect1 (logical.RawObject, bounding.RawObject), typeof(TQRect)); } - public QRect itemRect (QPainter p, QRect r, int flags, bool enabled, QPixmap pixmap, string text) + public TQRect itemRect (TQPainter p, TQRect r, int flags, bool enabled, TQPixmap pixmap, string text) { return itemRect(p, r, flags, enabled, pixmap, text, (int) -1); } - public void drawItem (QPainter p, QRect r, int flags, QColorGroup g, bool enabled, QPixmap pixmap, string text) + public void drawItem (TQPainter p, TQRect r, int flags, TQColorGroup g, bool enabled, TQPixmap pixmap, string text) { drawItem(p, r, flags, g, enabled, pixmap, text, (int) -1); } - public void drawItem (QPainter p, QRect r, int flags, QColorGroup g, bool enabled, QPixmap pixmap, string text, int len) + public void drawItem (TQPainter p, TQRect r, int flags, TQColorGroup g, bool enabled, TQPixmap pixmap, string text, int len) { - drawItem(p, r, flags, g, enabled, pixmap, text, len, new QColor ()); + drawItem(p, r, flags, g, enabled, pixmap, text, len, new TQColor ()); } - public void drawPrimitive (QStyle.PrimitiveElement pe, QPainter p, QRect r, QColorGroup cg) + public void drawPrimitive (TQStyle.PrimitiveElement pe, TQPainter p, TQRect r, TQColorGroup cg) { - drawPrimitive(pe, p, r, cg, QStyle.StyleFlags.Style_Default); + drawPrimitive(pe, p, r, cg, TQStyle.StyleFlags.Style_Default); } - public void drawPrimitive (QStyle.PrimitiveElement pe, QPainter p, QRect r, QColorGroup cg, QStyle.StyleFlags flags) + public void drawPrimitive (TQStyle.PrimitiveElement pe, TQPainter p, TQRect r, TQColorGroup cg, TQStyle.StyleFlags flags) { - drawPrimitive(pe, p, r, cg, flags, new QStyleOption ()); + drawPrimitive(pe, p, r, cg, flags, new TQStyleOption ()); } - public void drawControl (QStyle.ControlElement element, QPainter p, QWidget widget, QRect r, QColorGroup cg) + public void drawControl (TQStyle.ControlElement element, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg) { - drawControl(element, p, widget, r, cg, QStyle.StyleFlags.Style_Default); + drawControl(element, p, widget, r, cg, TQStyle.StyleFlags.Style_Default); } - public void drawControl (QStyle.ControlElement element, QPainter p, QWidget widget, QRect r, QColorGroup cg, QStyle.StyleFlags how) + public void drawControl (TQStyle.ControlElement element, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg, TQStyle.StyleFlags how) { - drawControl(element, p, widget, r, cg, how, new QStyleOption ()); + drawControl(element, p, widget, r, cg, how, new TQStyleOption ()); } - public void drawControlMask (QStyle.ControlElement element, QPainter p, QWidget widget, QRect r) + public void drawControlMask (TQStyle.ControlElement element, TQPainter p, TQWidget widget, TQRect r) { - drawControlMask(element, p, widget, r, new QStyleOption ()); + drawControlMask(element, p, widget, r, new TQStyleOption ()); } - public void drawComplexControl (QStyle.ComplexControl control, QPainter p, QWidget widget, QRect r, QColorGroup cg) + public void drawComplexControl (TQStyle.ComplexControl control, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg) { - drawComplexControl(control, p, widget, r, cg, QStyle.StyleFlags.Style_Default); + drawComplexControl(control, p, widget, r, cg, TQStyle.StyleFlags.Style_Default); } - public void drawComplexControl (QStyle.ComplexControl control, QPainter p, QWidget widget, QRect r, QColorGroup cg, QStyle.StyleFlags how) + public void drawComplexControl (TQStyle.ComplexControl control, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg, TQStyle.StyleFlags how) { - drawComplexControl(control, p, widget, r, cg, how, QStyle.SubControl.SC_All); + drawComplexControl(control, p, widget, r, cg, how, TQStyle.SubControl.SC_All); } - public void drawComplexControl (QStyle.ComplexControl control, QPainter p, QWidget widget, QRect r, QColorGroup cg, QStyle.StyleFlags how, QStyle.SubControl sub) + public void drawComplexControl (TQStyle.ComplexControl control, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg, TQStyle.StyleFlags how, TQStyle.SubControl sub) { - drawComplexControl(control, p, widget, r, cg, how, sub, QStyle.SubControl.SC_None); + drawComplexControl(control, p, widget, r, cg, how, sub, TQStyle.SubControl.SC_None); } - public void drawComplexControl (QStyle.ComplexControl control, QPainter p, QWidget widget, QRect r, QColorGroup cg, QStyle.StyleFlags how, QStyle.SubControl sub, QStyle.SubControl subActive) + public void drawComplexControl (TQStyle.ComplexControl control, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg, TQStyle.StyleFlags how, TQStyle.SubControl sub, TQStyle.SubControl subActive) { - drawComplexControl(control, p, widget, r, cg, how, sub, subActive, new QStyleOption ()); + drawComplexControl(control, p, widget, r, cg, how, sub, subActive, new TQStyleOption ()); } - public void drawComplexControlMask (QStyle.ComplexControl control, QPainter p, QWidget widget, QRect r) + public void drawComplexControlMask (TQStyle.ComplexControl control, TQPainter p, TQWidget widget, TQRect r) { - drawComplexControlMask(control, p, widget, r, new QStyleOption ()); + drawComplexControlMask(control, p, widget, r, new TQStyleOption ()); } - public QRect querySubControlMetrics (QStyle.ComplexControl control, QWidget widget, QStyle.SubControl sc) + public TQRect querySubControlMetrics (TQStyle.ComplexControl control, TQWidget widget, TQStyle.SubControl sc) { - return querySubControlMetrics(control, widget, sc, new QStyleOption ()); + return querySubControlMetrics(control, widget, sc, new TQStyleOption ()); } - public QStyle.SubControl querySubControl (QStyle.ComplexControl control, QWidget widget, QPoint pos) + public TQStyle.SubControl querySubControl (TQStyle.ComplexControl control, TQWidget widget, TQPoint pos) { - return querySubControl(control, widget, pos, new QStyleOption ()); + return querySubControl(control, widget, pos, new TQStyleOption ()); } - public int pixelMetric (QStyle.PixelMetric metric) + public int pixelMetric (TQStyle.PixelMetric metric) { - return pixelMetric(metric, new QWidget ()); + return pixelMetric(metric, new TQWidget ()); } - public QSize sizeFromContents (QStyle.ContentsType contents, QWidget widget, QSize contentsSize) + public TQSize sizeFromContents (TQStyle.ContentsType contents, TQWidget widget, TQSize contentsSize) { - return sizeFromContents(contents, widget, contentsSize, new QStyleOption ()); + return sizeFromContents(contents, widget, contentsSize, new TQStyleOption ()); } public int styleHint (StyleHint stylehint) { - return styleHint(stylehint, new QWidget ()); + return styleHint(stylehint, new TQWidget ()); } - public int styleHint (StyleHint stylehint, QWidget widget) + public int styleHint (StyleHint stylehint, TQWidget widget) { - return styleHint(stylehint, widget, new QStyleOption ()); + return styleHint(stylehint, widget, new TQStyleOption ()); } - public int styleHint (StyleHint stylehint, QWidget widget, QStyleOption arg1) + public int styleHint (StyleHint stylehint, TQWidget widget, TQStyleOption arg1) { return styleHint(stylehint, widget, arg1, (IntPtr) 0); } - public QPixmap stylePixmap (QStyle.StylePixmap stylepixmap) + public TQPixmap stylePixmap (TQStyle.StylePixmap stylepixmap) { - return stylePixmap(stylepixmap, new QWidget ()); + return stylePixmap(stylepixmap, new TQWidget ()); } - public QPixmap stylePixmap (QStyle.StylePixmap stylepixmap, QWidget widget) + public TQPixmap stylePixmap (TQStyle.StylePixmap stylepixmap, TQWidget widget) { - return stylePixmap(stylepixmap, widget, new QStyleOption ()); + return stylePixmap(stylepixmap, widget, new TQStyleOption ()); } // Begin interface methods. |