From e63beeb5bdb82987b1e00bc35178667786fbad48 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 5 Dec 2011 16:20:48 -0600 Subject: Fix incorrect conversion --- qtsharp/src/bindings/static/QtSlot.cs | 46 +++++++++++++++++------------------ 1 file changed, 23 insertions(+), 23 deletions(-) (limited to 'qtsharp/src/bindings/static/QtSlot.cs') diff --git a/qtsharp/src/bindings/static/QtSlot.cs b/qtsharp/src/bindings/static/QtSlot.cs index 0467bc13..e8ced65c 100644 --- a/qtsharp/src/bindings/static/QtSlot.cs +++ b/qtsharp/src/bindings/static/QtSlot.cs @@ -22,7 +22,7 @@ namespace Qt { using System.Text; internal class QtSlot { - protected TTQObject receiver; + protected TQObject receiver; protected string slot; private string name; private string args; @@ -30,7 +30,7 @@ namespace Qt { private IntPtr wrapperPtr; private Delegate callback; - public TTQObject Receiver { + public TQObject Receiver { get { return receiver; } } @@ -74,7 +74,7 @@ namespace Qt { public QtSlot() {} - public QtSlot(TTQObject receiver, string slot) + public QtSlot(TQObject receiver, string slot) { this.receiver = receiver; this.slot = slot; @@ -95,109 +95,109 @@ namespace Qt { public void SlotBridge_QString (IntPtr value0) { - TTQString csvalue0 = QtSupport.LookupObject (value0, typeof (TTQString)) as TTQString; + TQString csvalue0 = QtSupport.LookupObject (value0, typeof (TQString)) as TQString; Invoke (new object[] {csvalue0}); } public void SlotBridge_QDockWindow (IntPtr value0) { - TTQDockWindow csvalue0 = QtSupport.LookupObject (value0, typeof (TTQDockWindow)) as TTQDockWindow; + TQDockWindow csvalue0 = QtSupport.LookupObject (value0, typeof (TQDockWindow)) as TQDockWindow; Invoke (new object[] {csvalue0}); } public void SlotBridge_QDropEvent (IntPtr value0) { - TTQDropEvent csvalue0 = QtSupport.LookupObject (value0, typeof (TTQDropEvent)) as TTQDropEvent; + TQDropEvent csvalue0 = QtSupport.LookupObject (value0, typeof (TQDropEvent)) as TQDropEvent; Invoke (new object[] {csvalue0}); } public void SlotBridge_QDropEventTQListViewItem (IntPtr value0, IntPtr value1) { - TTQDropEvent csvalue0 = QtSupport.LookupObject (value0, typeof (TTQDropEvent)) as TTQDropEvent; - TTQListViewItem csvalue1 = QtSupport.LookupObject (value1, typeof (TTQListViewItem)) as TTQListViewItem; + TQDropEvent csvalue0 = QtSupport.LookupObject (value0, typeof (TQDropEvent)) as TQDropEvent; + TQListViewItem csvalue1 = QtSupport.LookupObject (value1, typeof (TQListViewItem)) as TQListViewItem; Invoke (new object[] {csvalue0, csvalue1}); } public void SlotBridge_QIconViewItem (IntPtr value0) { - TTQIconViewItem csvalue0 = QtSupport.LookupObject (value0, typeof (TTQIconViewItem)) as TTQIconViewItem; + TQIconViewItem csvalue0 = QtSupport.LookupObject (value0, typeof (TQIconViewItem)) as TQIconViewItem; Invoke (new object[] {csvalue0}); } public void SlotBridge_QListBoxItem (IntPtr value0) { - TTQListBoxItem csvalue0 = QtSupport.LookupObject (value0, typeof (TTQListBoxItem)) as TTQListBoxItem; + TQListBoxItem csvalue0 = QtSupport.LookupObject (value0, typeof (TQListBoxItem)) as TQListBoxItem; Invoke (new object[] {csvalue0}); } public void SlotBridge_QListViewItem (IntPtr value0) { - TTQListViewItem csvalue0 = QtSupport.LookupObject (value0, typeof (TTQListViewItem)) as TTQListViewItem; + TQListViewItem csvalue0 = QtSupport.LookupObject (value0, typeof (TQListViewItem)) as TQListViewItem; Invoke (new object[] {csvalue0}); } public void SlotBridge_QListViewItemTQListViewItem (IntPtr value0, IntPtr value1) { - TTQListViewItem csvalue0 = QtSupport.LookupObject (value0, typeof (TTQListViewItem)) as TTQListViewItem; - TTQListViewItem csvalue1 = QtSupport.LookupObject (value1, typeof (TTQListViewItem)) as TTQListViewItem; + TQListViewItem csvalue0 = QtSupport.LookupObject (value0, typeof (TQListViewItem)) as TQListViewItem; + TQListViewItem csvalue1 = QtSupport.LookupObject (value1, typeof (TQListViewItem)) as TQListViewItem; Invoke (new object[] {csvalue0, csvalue1}); } public void SlotBridge_QListViewItemTQListViewItemTQListViewItem (IntPtr value0, IntPtr value1, IntPtr value2) { - TTQListViewItem csvalue0 = QtSupport.LookupObject (value0, typeof (TTQListViewItem)) as TTQListViewItem; - TTQListViewItem csvalue1 = QtSupport.LookupObject (value1, typeof (TTQListViewItem)) as TTQListViewItem; - TTQListViewItem csvalue2 = QtSupport.LookupObject (value2, typeof (TTQListViewItem)) as TTQListViewItem; + TQListViewItem csvalue0 = QtSupport.LookupObject (value0, typeof (TQListViewItem)) as TQListViewItem; + TQListViewItem csvalue1 = QtSupport.LookupObject (value1, typeof (TQListViewItem)) as TQListViewItem; + TQListViewItem csvalue2 = QtSupport.LookupObject (value2, typeof (TQListViewItem)) as TQListViewItem; Invoke (new object[] {csvalue0, csvalue1, csvalue2}); } public void SlotBridge_QNetworkOperation (IntPtr value0) { - TTQNetworkOperation csvalue0 = QtSupport.LookupObject (value0, typeof (TTQNetworkOperation)) as TTQNetworkOperation; + TQNetworkOperation csvalue0 = QtSupport.LookupObject (value0, typeof (TQNetworkOperation)) as TQNetworkOperation; Invoke (new object[] {csvalue0}); } public void SlotBridge_QObject (IntPtr value0) { - TTQObject csvalue0 = QtSupport.LookupObject (value0, typeof (TTQObject)) as TTQObject; + TQObject csvalue0 = QtSupport.LookupObject (value0, typeof (TQObject)) as TQObject; Invoke (new object[] {csvalue0}); } public void SlotBridge_QToolBar (IntPtr value0) { - TTQToolBar csvalue0 = QtSupport.LookupObject (value0, typeof (TTQToolBar)) as TTQToolBar; + TQToolBar csvalue0 = QtSupport.LookupObject (value0, typeof (TQToolBar)) as TQToolBar; Invoke (new object[] {csvalue0}); } public void SlotBridge_QWidget (IntPtr value0) { - TTQWidget csvalue0 = QtSupport.LookupObject (value0, typeof (TTQWidget)) as TTQWidget; + TQWidget csvalue0 = QtSupport.LookupObject (value0, typeof (TQWidget)) as TQWidget; Invoke (new object[] {csvalue0}); } public void SlotBridge_intTQIconViewItem (int value0, IntPtr value1) { - TTQIconViewItem csvalue1 = QtSupport.LookupObject (value1, typeof (TTQIconViewItem)) as TTQIconViewItem; + TQIconViewItem csvalue1 = QtSupport.LookupObject (value1, typeof (TQIconViewItem)) as TQIconViewItem; Invoke (new object[] {value0, csvalue1}); } public void SlotBridge_intTQListBoxItem (int value0, IntPtr value1) { - TTQListBoxItem csvalue1 = QtSupport.LookupObject (value1, typeof (TTQListBoxItem)) as TTQListBoxItem; + TQListBoxItem csvalue1 = QtSupport.LookupObject (value1, typeof (TQListBoxItem)) as TQListBoxItem; Invoke (new object[] {value0, csvalue1}); } @@ -209,7 +209,7 @@ namespace Qt { } } - private static MethodInfo LookupSlot(TTQObject receiver, string name, string args) + private static MethodInfo LookupSlot(TQObject receiver, string name, string args) { MethodInfo ret = null; -- cgit v1.2.1