diff options
Diffstat (limited to 'qtsharp/src/bindings/static/QWidgetStack.cs')
-rw-r--r-- | qtsharp/src/bindings/static/QWidgetStack.cs | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/qtsharp/src/bindings/static/QWidgetStack.cs b/qtsharp/src/bindings/static/QWidgetStack.cs index aed0b6c2..417731ef 100644 --- a/qtsharp/src/bindings/static/QWidgetStack.cs +++ b/qtsharp/src/bindings/static/QWidgetStack.cs @@ -1,4 +1,4 @@ -// TQWidgetStack.cs - A Qt to C# binding. +// TTQWidgetStack.cs - A Qt to C# binding. // // Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) // @@ -25,13 +25,13 @@ namespace Qt { using System.Collections; using System.Runtime.InteropServices; - public class TQWidgetStack : TQFrame, IDisposable { + public class TTQWidgetStack : TTQFrame, IDisposable { private ArrayList widgets; [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_new_QWidgetStack (IntPtr parent, string name); - public TQWidgetStack (TQWidget parent, string name) : this (QNull.Instance) + public TTQWidgetStack (TTQWidget parent, string name) : this (TQNull.Instance) { if ((qparent = parent) != null) qparent.AddChild (this); @@ -39,22 +39,22 @@ namespace Qt { RegisterObject (this); } - public TQWidgetStack () : this (new TQWidget ()) {} + public TTQWidgetStack () : this (new TTQWidget ()) {} - public TQWidgetStack (TQWidget parent) : this (parent, "") {} + public TTQWidgetStack (TTQWidget parent) : this (parent, "") {} - internal TQWidgetStack (IntPtr ptr) : this (QNull.Instance) + internal TTQWidgetStack (IntPtr ptr) : this (TQNull.Instance) { rawObject = ptr; RegisterObject(this); } - internal TQWidgetStack (QNull dummy) : base (QNull.Instance) + internal TTQWidgetStack (TQNull dummy) : base (TQNull.Instance) { widgets = new ArrayList (); } - ~TQWidgetStack () + ~TTQWidgetStack () { Dispose (false); } @@ -71,7 +71,7 @@ namespace Qt { [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern int qt_QWidgetStack_addWidget (IntPtr raw, IntPtr arg1, int arg2); - public int AddWidget (TQWidget arg1, int arg2) + public int AddWidget (TTQWidget arg1, int arg2) { if (! widgets.Contains (arg1)) widgets.Add (arg1); return qt_QWidgetStack_addWidget (RawObject, arg1.RawObject, arg2); @@ -79,7 +79,7 @@ namespace Qt { [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern void qt_QWidgetStack_removeWidget (IntPtr raw, IntPtr arg1); - public void RemoveWidget (TQWidget arg1) + public void RemoveWidget (TTQWidget arg1) { widgets.Remove (arg1); qt_QWidgetStack_removeWidget (RawObject, arg1.RawObject); @@ -87,16 +87,16 @@ namespace Qt { [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QWidgetStack_sizeHint (IntPtr raw); - public TQSize SizeHint () + public TTQSize SizeHint () { - return LookupObject (qt_QWidgetStack_sizeHint (RawObject), typeof(TQSize)) as TQSize; + return LookupObject (qt_QWidgetStack_sizeHint (RawObject), typeof(TTQSize)) as TTQSize; } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QWidgetStack_minimumSizeHint (IntPtr raw); - public TQSize MinimumSizeHint () + public TTQSize MinimumSizeHint () { - return LookupObject (qt_QWidgetStack_minimumSizeHint (RawObject), typeof(TQSize)) as TQSize; + return LookupObject (qt_QWidgetStack_minimumSizeHint (RawObject), typeof(TTQSize)) as TTQSize; } [DllImport("libqtc", CharSet=CharSet.Ansi)] @@ -108,28 +108,28 @@ namespace Qt { [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QWidgetStack_widget (IntPtr raw, int arg1); - public TQWidget Widget (int arg1) + public TTQWidget Widget (int arg1) { - return LookupObject (qt_QWidgetStack_widget (RawObject, arg1), typeof(TQWidget)) as TQWidget; + return LookupObject (qt_QWidgetStack_widget (RawObject, arg1), typeof(TTQWidget)) as TTQWidget; } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern int qt_QWidgetStack_id (IntPtr raw, IntPtr arg1); - public int Id (TQWidget arg1) + public int Id (TTQWidget arg1) { return qt_QWidgetStack_id (RawObject, arg1.RawObject); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QWidgetStack_visibleWidget (IntPtr raw); - public TQWidget VisibleWidget () + public TTQWidget VisibleWidget () { - return LookupObject (qt_QWidgetStack_visibleWidget (RawObject), typeof(TQWidget)) as TQWidget; + return LookupObject (qt_QWidgetStack_visibleWidget (RawObject), typeof(TTQWidget)) as TTQWidget; } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern void qt_QWidgetStack_setFrameRect (IntPtr raw, IntPtr arg1); - public void SetFrameRect (TQRect arg1) + public void SetFrameRect (TTQRect arg1) { qt_QWidgetStack_setFrameRect (RawObject, arg1.RawObject); } @@ -143,7 +143,7 @@ namespace Qt { [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern void qt_QWidgetStack_raiseWidget1 (IntPtr raw, IntPtr arg1); - public void RaiseWidget (TQWidget arg1) + public void RaiseWidget (TTQWidget arg1) { qt_QWidgetStack_raiseWidget1 (RawObject, arg1.RawObject); } @@ -162,7 +162,7 @@ namespace Qt { qt_QWidgetStack_setChildGeometries (RawObject); } - public int AddWidget (TQWidget arg1) + public int AddWidget (TTQWidget arg1) { return AddWidget(arg1, (int) -1); } |