summaryrefslogtreecommitdiffstats
path: root/qtsharp/src/bindings/static/QWidgetStack.cs
diff options
context:
space:
mode:
Diffstat (limited to 'qtsharp/src/bindings/static/QWidgetStack.cs')
-rw-r--r--qtsharp/src/bindings/static/QWidgetStack.cs44
1 files changed, 22 insertions, 22 deletions
diff --git a/qtsharp/src/bindings/static/QWidgetStack.cs b/qtsharp/src/bindings/static/QWidgetStack.cs
index f48da641..fea0944c 100644
--- a/qtsharp/src/bindings/static/QWidgetStack.cs
+++ b/qtsharp/src/bindings/static/QWidgetStack.cs
@@ -1,4 +1,4 @@
-// QWidgetStack.cs - A Qt to C# binding.
+// TQWidgetStack.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 QWidgetStack : QFrame, IDisposable {
+ public class TQWidgetStack : TQFrame, IDisposable {
private ArrayList widgets;
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern IntPtr qt_new_QWidgetStack (IntPtr parent, string name);
- public QWidgetStack (QWidget parent, string name) : this (QNull.Instance)
+ public TQWidgetStack (TQWidget parent, string name) : this (QNull.Instance)
{
if ((qparent = parent) != null)
qparent.AddChild (this);
@@ -39,22 +39,22 @@ namespace Qt {
RegisterObject (this);
}
- public QWidgetStack () : this (new QWidget ()) {}
+ public TQWidgetStack () : this (new TQWidget ()) {}
- public QWidgetStack (QWidget parent) : this (parent, "") {}
+ public TQWidgetStack (TQWidget parent) : this (parent, "") {}
- internal QWidgetStack (IntPtr ptr) : this (QNull.Instance)
+ internal TQWidgetStack (IntPtr ptr) : this (QNull.Instance)
{
rawObject = ptr;
RegisterObject(this);
}
- internal QWidgetStack (QNull dummy) : base (QNull.Instance)
+ internal TQWidgetStack (QNull dummy) : base (QNull.Instance)
{
widgets = new ArrayList ();
}
- ~QWidgetStack ()
+ ~TQWidgetStack ()
{
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 (QWidget arg1, int arg2)
+ public int AddWidget (TQWidget 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 (QWidget arg1)
+ public void RemoveWidget (TQWidget 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 QSize SizeHint ()
+ public TQSize SizeHint ()
{
- return LookupObject (qt_QWidgetStack_sizeHint (RawObject), typeof(QSize)) as QSize;
+ return LookupObject (qt_QWidgetStack_sizeHint (RawObject), typeof(TQSize)) as QSize;
}
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern IntPtr qt_QWidgetStack_minimumSizeHint (IntPtr raw);
- public QSize MinimumSizeHint ()
+ public TQSize MinimumSizeHint ()
{
- return LookupObject (qt_QWidgetStack_minimumSizeHint (RawObject), typeof(QSize)) as QSize;
+ return LookupObject (qt_QWidgetStack_minimumSizeHint (RawObject), typeof(TQSize)) as QSize;
}
[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 QWidget Widget (int arg1)
+ public TQWidget Widget (int arg1)
{
- return LookupObject (qt_QWidgetStack_widget (RawObject, arg1), typeof(QWidget)) as QWidget;
+ return LookupObject (qt_QWidgetStack_widget (RawObject, arg1), typeof(TQWidget)) as QWidget;
}
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern int qt_QWidgetStack_id (IntPtr raw, IntPtr arg1);
- public int Id (QWidget arg1)
+ public int Id (TQWidget arg1)
{
return qt_QWidgetStack_id (RawObject, arg1.RawObject);
}
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern IntPtr qt_QWidgetStack_visibleWidget (IntPtr raw);
- public QWidget VisibleWidget ()
+ public TQWidget VisibleWidget ()
{
- return LookupObject (qt_QWidgetStack_visibleWidget (RawObject), typeof(QWidget)) as QWidget;
+ return LookupObject (qt_QWidgetStack_visibleWidget (RawObject), typeof(TQWidget)) as QWidget;
}
[DllImport("libqtc", CharSet=CharSet.Ansi)]
private static extern void qt_QWidgetStack_setFrameRect (IntPtr raw, IntPtr arg1);
- public void SetFrameRect (QRect arg1)
+ public void SetFrameRect (TQRect 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 (QWidget arg1)
+ public void RaiseWidget (TQWidget arg1)
{
qt_QWidgetStack_raiseWidget1 (RawObject, arg1.RawObject);
}
@@ -162,7 +162,7 @@ namespace Qt {
qt_QWidgetStack_setChildGeometries (RawObject);
}
- public int AddWidget (QWidget arg1)
+ public int AddWidget (TQWidget arg1)
{
return AddWidget(arg1, (int) -1);
}