diff options
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 1068433b..8db46fd9 100644 --- a/qtsharp/src/bindings/static/QStyle.cs +++ b/qtsharp/src/bindings/static/QStyle.cs @@ -1,4 +1,4 @@ -// TQStyle.cs - A Qt to C# binding. +// TTQStyle.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 TQStyle : TQObject, IDisposable { + public class TTQStyle : TTQObject, IDisposable { public enum PrimitiveElement: long { PE_ButtonCommand = 0, @@ -279,17 +279,17 @@ namespace Qt { SP_CustomBase = 4026531840 } - internal TQStyle () : this (QNull.Instance) {} + internal TTQStyle () : this (TQNull.Instance) {} - internal TQStyle (IntPtr ptr) : this (QNull.Instance) + internal TTQStyle (IntPtr ptr) : this (TQNull.Instance) { rawObject = ptr; RegisterObject(this); } - internal TQStyle (QNull dummy) : base (QNull.Instance) {} + internal TTQStyle (TQNull dummy) : base (TQNull.Instance) {} - ~TQStyle () + ~TTQStyle () { 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 (TQWidget arg1) + public void polish (TTQWidget 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 (TQWidget arg1) + public void unPolish (TTQWidget 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 (TQApplication arg1) + public void polish (TTQApplication 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 (TQApplication arg1) + public void unPolish (TTQApplication 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 (TQPalette arg1) + public void polish (TTQPalette 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 (TQPopupMenu arg1) + public void polishPopupMenu (TTQPopupMenu 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 TQRect itemRect (TQPainter p, TQRect r, int flags, bool enabled, TQPixmap pixmap, string text, int len) + public TTQRect itemRect (TTQPainter p, TTQRect r, int flags, bool enabled, TTQPixmap pixmap, string text, int len) { - return (TQRect)LookupObject (qt_QStyle_itemRect (rawObject, p.RawObject, r.RawObject, flags, enabled, pixmap.RawObject, new TQString (text).RawObject, len), typeof(TQRect)); + return (TTQRect)LookupObject (qt_QStyle_itemRect (rawObject, p.RawObject, r.RawObject, flags, enabled, pixmap.RawObject, new TTQString (text).RawObject, len), typeof(TTQRect)); } [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 (TQPainter p, TQRect r, int flags, TQColorGroup g, bool enabled, TQPixmap pixmap, string text, int len, TQColor penColor) + public void drawItem (TTQPainter p, TTQRect r, int flags, TTQColorGroup g, bool enabled, TTQPixmap pixmap, string text, int len, TTQColor penColor) { - qt_QStyle_drawItem (rawObject, p.RawObject, r.RawObject, flags, g.RawObject, enabled, pixmap.RawObject, new TQString (text).RawObject, len, penColor.RawObject); + qt_QStyle_drawItem (rawObject, p.RawObject, r.RawObject, flags, g.RawObject, enabled, pixmap.RawObject, new TTQString (text).RawObject, len, penColor.RawObject); } [DllImport("libqtc", CharSet=CharSet.Ansi)] - 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) + private static extern void qt_QStyle_drawPrimitive (IntPtr raw, TTQStyle.PrimitiveElement pe, IntPtr p, IntPtr r, IntPtr cg, TTQStyle.StyleFlags flags, IntPtr arg1); + public void drawPrimitive (TTQStyle.PrimitiveElement pe, TTQPainter p, TTQRect r, TTQColorGroup cg, TTQStyle.StyleFlags flags, TTQStyleOption 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, 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) + private static extern void qt_QStyle_drawControl (IntPtr raw, TTQStyle.ControlElement element, IntPtr p, IntPtr widget, IntPtr r, IntPtr cg, TTQStyle.StyleFlags how, IntPtr arg1); + public void drawControl (TTQStyle.ControlElement element, TTQPainter p, TTQWidget widget, TTQRect r, TTQColorGroup cg, TTQStyle.StyleFlags how, TTQStyleOption 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, 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) + private static extern void qt_QStyle_drawControlMask (IntPtr raw, TTQStyle.ControlElement element, IntPtr p, IntPtr widget, IntPtr r, IntPtr arg1); + public void drawControlMask (TTQStyle.ControlElement element, TTQPainter p, TTQWidget widget, TTQRect r, TTQStyleOption 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, TQStyle.SubRect r, IntPtr widget); - public TQRect subRect (TQStyle.SubRect r, TQWidget widget) + private static extern IntPtr qt_QStyle_subRect (IntPtr raw, TTQStyle.SubRect r, IntPtr widget); + public TTQRect subRect (TTQStyle.SubRect r, TTQWidget widget) { - return (TQRect)LookupObject (qt_QStyle_subRect (rawObject, r, widget.RawObject), typeof(TQRect)); + return (TTQRect)LookupObject (qt_QStyle_subRect (rawObject, r, widget.RawObject), typeof(TTQRect)); } [DllImport("libqtc", CharSet=CharSet.Ansi)] - 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) + private static extern void qt_QStyle_drawComplexControl (IntPtr raw, TTQStyle.ComplexControl control, IntPtr p, IntPtr widget, IntPtr r, IntPtr cg, TTQStyle.StyleFlags how, TTQStyle.SubControl sub, TTQStyle.SubControl subActive, IntPtr arg1); + public void drawComplexControl (TTQStyle.ComplexControl control, TTQPainter p, TTQWidget widget, TTQRect r, TTQColorGroup cg, TTQStyle.StyleFlags how, TTQStyle.SubControl sub, TTQStyle.SubControl subActive, TTQStyleOption 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, 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) + private static extern void qt_QStyle_drawComplexControlMask (IntPtr raw, TTQStyle.ComplexControl control, IntPtr p, IntPtr widget, IntPtr r, IntPtr arg1); + public void drawComplexControlMask (TTQStyle.ComplexControl control, TTQPainter p, TTQWidget widget, TTQRect r, TTQStyleOption 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, TQStyle.ComplexControl control, IntPtr widget, TQStyle.SubControl sc, IntPtr arg1); - public TQRect querySubControlMetrics (TQStyle.ComplexControl control, TQWidget widget, TQStyle.SubControl sc, TQStyleOption arg1) + private static extern IntPtr qt_QStyle_querySubControlMetrics (IntPtr raw, TTQStyle.ComplexControl control, IntPtr widget, TTQStyle.SubControl sc, IntPtr arg1); + public TTQRect querySubControlMetrics (TTQStyle.ComplexControl control, TTQWidget widget, TTQStyle.SubControl sc, TTQStyleOption arg1) { - return (TQRect)LookupObject (qt_QStyle_querySubControlMetrics (rawObject, control, widget.RawObject, sc, arg1.RawObject), typeof(TQRect)); + return (TTQRect)LookupObject (qt_QStyle_querySubControlMetrics (rawObject, control, widget.RawObject, sc, arg1.RawObject), typeof(TTQRect)); } [DllImport("libqtc", CharSet=CharSet.Ansi)] - 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) + private static extern TTQStyle.SubControl qt_QStyle_querySubControl (IntPtr raw, TTQStyle.ComplexControl control, IntPtr widget, IntPtr pos, IntPtr arg1); + public TTQStyle.SubControl querySubControl (TTQStyle.ComplexControl control, TTQWidget widget, TTQPoint pos, TTQStyleOption 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, TQStyle.PixelMetric metric, IntPtr widget); - public int pixelMetric (TQStyle.PixelMetric metric, TQWidget widget) + private static extern int qt_QStyle_pixelMetric (IntPtr raw, TTQStyle.PixelMetric metric, IntPtr widget); + public int pixelMetric (TTQStyle.PixelMetric metric, TTQWidget widget) { return qt_QStyle_pixelMetric (rawObject, metric, widget.RawObject); } [DllImport("libqtc", CharSet=CharSet.Ansi)] - 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) + private static extern IntPtr qt_QStyle_sizeFromContents (IntPtr raw, TTQStyle.ContentsType contents, IntPtr widget, IntPtr contentsSize, IntPtr arg1); + public TTQSize sizeFromContents (TTQStyle.ContentsType contents, TTQWidget widget, TTQSize contentsSize, TTQStyleOption arg1) { - return (TQSize)LookupObject (qt_QStyle_sizeFromContents (rawObject, contents, widget.RawObject, contentsSize.RawObject, arg1.RawObject), typeof(TQSize)); + return (TTQSize)LookupObject (qt_QStyle_sizeFromContents (rawObject, contents, widget.RawObject, contentsSize.RawObject, arg1.RawObject), typeof(TTQSize)); } [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, TQWidget widget, TQStyleOption arg1, IntPtr returnData) + public int styleHint (StyleHint stylehint, TTQWidget widget, TTQStyleOption 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, TQStyle.StylePixmap stylepixmap, IntPtr widget, IntPtr arg1); - public TQPixmap stylePixmap (TQStyle.StylePixmap stylepixmap, TQWidget widget, TQStyleOption arg1) + private static extern IntPtr qt_QStyle_stylePixmap (IntPtr raw, TTQStyle.StylePixmap stylepixmap, IntPtr widget, IntPtr arg1); + public TTQPixmap stylePixmap (TTQStyle.StylePixmap stylepixmap, TTQWidget widget, TTQStyleOption arg1) { - return (TQPixmap)LookupObject (qt_QStyle_stylePixmap (rawObject, stylepixmap, widget.RawObject, arg1.RawObject), typeof(TQPixmap)); + return (TTQPixmap)LookupObject (qt_QStyle_stylePixmap (rawObject, stylepixmap, widget.RawObject, arg1.RawObject), typeof(TTQPixmap)); } [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 (TQWidget t, int hf, int vf, int ov) + public void tabbarMetrics (TTQWidget 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 TQSize scrollBarExtent () + public TTQSize scrollBarExtent () { - return (TQSize)LookupObject (qt_QStyle_scrollBarExtent (rawObject), typeof(TQSize)); + return (TTQSize)LookupObject (qt_QStyle_scrollBarExtent (rawObject), typeof(TTQSize)); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QStyle_visualRect (IntPtr logical, IntPtr w); - public static TQRect visualRect (TQRect logical, TQWidget w) + public static TTQRect visualRect (TTQRect logical, TTQWidget w) { - return (TQRect)LookupObject (qt_QStyle_visualRect (logical.RawObject, w.RawObject), typeof(TQRect)); + return (TTQRect)LookupObject (qt_QStyle_visualRect (logical.RawObject, w.RawObject), typeof(TTQRect)); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QStyle_visualRect1 (IntPtr logical, IntPtr bounding); - public static TQRect visualRect (TQRect logical, TQRect bounding) + public static TTQRect visualRect (TTQRect logical, TTQRect bounding) { - return (TQRect)LookupObject (qt_QStyle_visualRect1 (logical.RawObject, bounding.RawObject), typeof(TQRect)); + return (TTQRect)LookupObject (qt_QStyle_visualRect1 (logical.RawObject, bounding.RawObject), typeof(TTQRect)); } - public TQRect itemRect (TQPainter p, TQRect r, int flags, bool enabled, TQPixmap pixmap, string text) + public TTQRect itemRect (TTQPainter p, TTQRect r, int flags, bool enabled, TTQPixmap pixmap, string text) { return itemRect(p, r, flags, enabled, pixmap, text, (int) -1); } - public void drawItem (TQPainter p, TQRect r, int flags, TQColorGroup g, bool enabled, TQPixmap pixmap, string text) + public void drawItem (TTQPainter p, TTQRect r, int flags, TTQColorGroup g, bool enabled, TTQPixmap pixmap, string text) { drawItem(p, r, flags, g, enabled, pixmap, text, (int) -1); } - public void drawItem (TQPainter p, TQRect r, int flags, TQColorGroup g, bool enabled, TQPixmap pixmap, string text, int len) + public void drawItem (TTQPainter p, TTQRect r, int flags, TTQColorGroup g, bool enabled, TTQPixmap pixmap, string text, int len) { - drawItem(p, r, flags, g, enabled, pixmap, text, len, new TQColor ()); + drawItem(p, r, flags, g, enabled, pixmap, text, len, new TTQColor ()); } - public void drawPrimitive (TQStyle.PrimitiveElement pe, TQPainter p, TQRect r, TQColorGroup cg) + public void drawPrimitive (TTQStyle.PrimitiveElement pe, TTQPainter p, TTQRect r, TTQColorGroup cg) { - drawPrimitive(pe, p, r, cg, TQStyle.StyleFlags.Style_Default); + drawPrimitive(pe, p, r, cg, TTQStyle.StyleFlags.Style_Default); } - public void drawPrimitive (TQStyle.PrimitiveElement pe, TQPainter p, TQRect r, TQColorGroup cg, TQStyle.StyleFlags flags) + public void drawPrimitive (TTQStyle.PrimitiveElement pe, TTQPainter p, TTQRect r, TTQColorGroup cg, TTQStyle.StyleFlags flags) { - drawPrimitive(pe, p, r, cg, flags, new TQStyleOption ()); + drawPrimitive(pe, p, r, cg, flags, new TTQStyleOption ()); } - public void drawControl (TQStyle.ControlElement element, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg) + public void drawControl (TTQStyle.ControlElement element, TTQPainter p, TTQWidget widget, TTQRect r, TTQColorGroup cg) { - drawControl(element, p, widget, r, cg, TQStyle.StyleFlags.Style_Default); + drawControl(element, p, widget, r, cg, TTQStyle.StyleFlags.Style_Default); } - public void drawControl (TQStyle.ControlElement element, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg, TQStyle.StyleFlags how) + public void drawControl (TTQStyle.ControlElement element, TTQPainter p, TTQWidget widget, TTQRect r, TTQColorGroup cg, TTQStyle.StyleFlags how) { - drawControl(element, p, widget, r, cg, how, new TQStyleOption ()); + drawControl(element, p, widget, r, cg, how, new TTQStyleOption ()); } - public void drawControlMask (TQStyle.ControlElement element, TQPainter p, TQWidget widget, TQRect r) + public void drawControlMask (TTQStyle.ControlElement element, TTQPainter p, TTQWidget widget, TTQRect r) { - drawControlMask(element, p, widget, r, new TQStyleOption ()); + drawControlMask(element, p, widget, r, new TTQStyleOption ()); } - public void drawComplexControl (TQStyle.ComplexControl control, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg) + public void drawComplexControl (TTQStyle.ComplexControl control, TTQPainter p, TTQWidget widget, TTQRect r, TTQColorGroup cg) { - drawComplexControl(control, p, widget, r, cg, TQStyle.StyleFlags.Style_Default); + drawComplexControl(control, p, widget, r, cg, TTQStyle.StyleFlags.Style_Default); } - public void drawComplexControl (TQStyle.ComplexControl control, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg, TQStyle.StyleFlags how) + public void drawComplexControl (TTQStyle.ComplexControl control, TTQPainter p, TTQWidget widget, TTQRect r, TTQColorGroup cg, TTQStyle.StyleFlags how) { - drawComplexControl(control, p, widget, r, cg, how, TQStyle.SubControl.SC_All); + drawComplexControl(control, p, widget, r, cg, how, TTQStyle.SubControl.SC_All); } - public void drawComplexControl (TQStyle.ComplexControl control, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg, TQStyle.StyleFlags how, TQStyle.SubControl sub) + public void drawComplexControl (TTQStyle.ComplexControl control, TTQPainter p, TTQWidget widget, TTQRect r, TTQColorGroup cg, TTQStyle.StyleFlags how, TTQStyle.SubControl sub) { - drawComplexControl(control, p, widget, r, cg, how, sub, TQStyle.SubControl.SC_None); + drawComplexControl(control, p, widget, r, cg, how, sub, TTQStyle.SubControl.SC_None); } - public void drawComplexControl (TQStyle.ComplexControl control, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg, TQStyle.StyleFlags how, TQStyle.SubControl sub, TQStyle.SubControl subActive) + public void drawComplexControl (TTQStyle.ComplexControl control, TTQPainter p, TTQWidget widget, TTQRect r, TTQColorGroup cg, TTQStyle.StyleFlags how, TTQStyle.SubControl sub, TTQStyle.SubControl subActive) { - drawComplexControl(control, p, widget, r, cg, how, sub, subActive, new TQStyleOption ()); + drawComplexControl(control, p, widget, r, cg, how, sub, subActive, new TTQStyleOption ()); } - public void drawComplexControlMask (TQStyle.ComplexControl control, TQPainter p, TQWidget widget, TQRect r) + public void drawComplexControlMask (TTQStyle.ComplexControl control, TTQPainter p, TTQWidget widget, TTQRect r) { - drawComplexControlMask(control, p, widget, r, new TQStyleOption ()); + drawComplexControlMask(control, p, widget, r, new TTQStyleOption ()); } - public TQRect querySubControlMetrics (TQStyle.ComplexControl control, TQWidget widget, TQStyle.SubControl sc) + public TTQRect querySubControlMetrics (TTQStyle.ComplexControl control, TTQWidget widget, TTQStyle.SubControl sc) { - return querySubControlMetrics(control, widget, sc, new TQStyleOption ()); + return querySubControlMetrics(control, widget, sc, new TTQStyleOption ()); } - public TQStyle.SubControl querySubControl (TQStyle.ComplexControl control, TQWidget widget, TQPoint pos) + public TTQStyle.SubControl querySubControl (TTQStyle.ComplexControl control, TTQWidget widget, TTQPoint pos) { - return querySubControl(control, widget, pos, new TQStyleOption ()); + return querySubControl(control, widget, pos, new TTQStyleOption ()); } - public int pixelMetric (TQStyle.PixelMetric metric) + public int pixelMetric (TTQStyle.PixelMetric metric) { - return pixelMetric(metric, new TQWidget ()); + return pixelMetric(metric, new TTQWidget ()); } - public TQSize sizeFromContents (TQStyle.ContentsType contents, TQWidget widget, TQSize contentsSize) + public TTQSize sizeFromContents (TTQStyle.ContentsType contents, TTQWidget widget, TTQSize contentsSize) { - return sizeFromContents(contents, widget, contentsSize, new TQStyleOption ()); + return sizeFromContents(contents, widget, contentsSize, new TTQStyleOption ()); } public int styleHint (StyleHint stylehint) { - return styleHint(stylehint, new TQWidget ()); + return styleHint(stylehint, new TTQWidget ()); } - public int styleHint (StyleHint stylehint, TQWidget widget) + public int styleHint (StyleHint stylehint, TTQWidget widget) { - return styleHint(stylehint, widget, new TQStyleOption ()); + return styleHint(stylehint, widget, new TTQStyleOption ()); } - public int styleHint (StyleHint stylehint, TQWidget widget, TQStyleOption arg1) + public int styleHint (StyleHint stylehint, TTQWidget widget, TTQStyleOption arg1) { return styleHint(stylehint, widget, arg1, (IntPtr) 0); } - public TQPixmap stylePixmap (TQStyle.StylePixmap stylepixmap) + public TTQPixmap stylePixmap (TTQStyle.StylePixmap stylepixmap) { - return stylePixmap(stylepixmap, new TQWidget ()); + return stylePixmap(stylepixmap, new TTQWidget ()); } - public TQPixmap stylePixmap (TQStyle.StylePixmap stylepixmap, TQWidget widget) + public TTQPixmap stylePixmap (TTQStyle.StylePixmap stylepixmap, TTQWidget widget) { - return stylePixmap(stylepixmap, widget, new TQStyleOption ()); + return stylePixmap(stylepixmap, widget, new TTQStyleOption ()); } // Begin interface methods. |