diff options
Diffstat (limited to 'qtsharp/src/bindings/static/QtSlot.cs')
-rw-r--r-- | qtsharp/src/bindings/static/QtSlot.cs | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/qtsharp/src/bindings/static/QtSlot.cs b/qtsharp/src/bindings/static/QtSlot.cs index 6bf14da8..462be9ad 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 QObject 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 QObject Receiver { + public TQObject Receiver { get { return receiver; } } @@ -74,7 +74,7 @@ namespace Qt { public QtSlot() {} - public QtSlot(QObject 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) { - QString csvalue0 = QtSupport.LookupObject (value0, typeof (QString)) as QString; + TQString csvalue0 = QtSupport.LookupObject (value0, typeof (TQString)) as QString; Invoke (new object[] {csvalue0}); } public void SlotBridge_QDockWindow (IntPtr value0) { - QDockWindow csvalue0 = QtSupport.LookupObject (value0, typeof (QDockWindow)) as QDockWindow; + TQDockWindow csvalue0 = QtSupport.LookupObject (value0, typeof (TQDockWindow)) as QDockWindow; Invoke (new object[] {csvalue0}); } public void SlotBridge_QDropEvent (IntPtr value0) { - QDropEvent csvalue0 = QtSupport.LookupObject (value0, typeof (QDropEvent)) as QDropEvent; + TQDropEvent csvalue0 = QtSupport.LookupObject (value0, typeof (TQDropEvent)) as QDropEvent; Invoke (new object[] {csvalue0}); } public void SlotBridge_QDropEventQListViewItem (IntPtr value0, IntPtr value1) { - QDropEvent csvalue0 = QtSupport.LookupObject (value0, typeof (QDropEvent)) as QDropEvent; - QListViewItem csvalue1 = QtSupport.LookupObject (value1, typeof (QListViewItem)) as QListViewItem; + TQDropEvent csvalue0 = QtSupport.LookupObject (value0, typeof (TQDropEvent)) as QDropEvent; + TQListViewItem csvalue1 = QtSupport.LookupObject (value1, typeof (TQListViewItem)) as QListViewItem; Invoke (new object[] {csvalue0, csvalue1}); } public void SlotBridge_QIconViewItem (IntPtr value0) { - QIconViewItem csvalue0 = QtSupport.LookupObject (value0, typeof (QIconViewItem)) as QIconViewItem; + TQIconViewItem csvalue0 = QtSupport.LookupObject (value0, typeof (TQIconViewItem)) as QIconViewItem; Invoke (new object[] {csvalue0}); } public void SlotBridge_QListBoxItem (IntPtr value0) { - QListBoxItem csvalue0 = QtSupport.LookupObject (value0, typeof (QListBoxItem)) as QListBoxItem; + TQListBoxItem csvalue0 = QtSupport.LookupObject (value0, typeof (TQListBoxItem)) as QListBoxItem; Invoke (new object[] {csvalue0}); } public void SlotBridge_QListViewItem (IntPtr value0) { - QListViewItem csvalue0 = QtSupport.LookupObject (value0, typeof (QListViewItem)) as QListViewItem; + TQListViewItem csvalue0 = QtSupport.LookupObject (value0, typeof (TQListViewItem)) as QListViewItem; Invoke (new object[] {csvalue0}); } public void SlotBridge_QListViewItemQListViewItem (IntPtr value0, IntPtr value1) { - QListViewItem csvalue0 = QtSupport.LookupObject (value0, typeof (QListViewItem)) as QListViewItem; - QListViewItem csvalue1 = QtSupport.LookupObject (value1, typeof (QListViewItem)) as QListViewItem; + TQListViewItem csvalue0 = QtSupport.LookupObject (value0, typeof (TQListViewItem)) as QListViewItem; + TQListViewItem csvalue1 = QtSupport.LookupObject (value1, typeof (TQListViewItem)) as QListViewItem; Invoke (new object[] {csvalue0, csvalue1}); } public void SlotBridge_QListViewItemQListViewItemQListViewItem (IntPtr value0, IntPtr value1, IntPtr value2) { - QListViewItem csvalue0 = QtSupport.LookupObject (value0, typeof (QListViewItem)) as QListViewItem; - QListViewItem csvalue1 = QtSupport.LookupObject (value1, typeof (QListViewItem)) as QListViewItem; - QListViewItem csvalue2 = QtSupport.LookupObject (value2, typeof (QListViewItem)) as QListViewItem; + TQListViewItem csvalue0 = QtSupport.LookupObject (value0, typeof (TQListViewItem)) as QListViewItem; + TQListViewItem csvalue1 = QtSupport.LookupObject (value1, typeof (TQListViewItem)) as QListViewItem; + TQListViewItem csvalue2 = QtSupport.LookupObject (value2, typeof (TQListViewItem)) as QListViewItem; Invoke (new object[] {csvalue0, csvalue1, csvalue2}); } public void SlotBridge_QNetworkOperation (IntPtr value0) { - QNetworkOperation csvalue0 = QtSupport.LookupObject (value0, typeof (QNetworkOperation)) as QNetworkOperation; + TQNetworkOperation csvalue0 = QtSupport.LookupObject (value0, typeof (TQNetworkOperation)) as QNetworkOperation; Invoke (new object[] {csvalue0}); } public void SlotBridge_QObject (IntPtr value0) { - QObject csvalue0 = QtSupport.LookupObject (value0, typeof (QObject)) as QObject; + TQObject csvalue0 = QtSupport.LookupObject (value0, typeof (TQObject)) as QObject; Invoke (new object[] {csvalue0}); } public void SlotBridge_QToolBar (IntPtr value0) { - QToolBar csvalue0 = QtSupport.LookupObject (value0, typeof (QToolBar)) as QToolBar; + TQToolBar csvalue0 = QtSupport.LookupObject (value0, typeof (TQToolBar)) as QToolBar; Invoke (new object[] {csvalue0}); } public void SlotBridge_QWidget (IntPtr value0) { - QWidget csvalue0 = QtSupport.LookupObject (value0, typeof (QWidget)) as QWidget; + TQWidget csvalue0 = QtSupport.LookupObject (value0, typeof (TQWidget)) as QWidget; Invoke (new object[] {csvalue0}); } public void SlotBridge_intQIconViewItem (int value0, IntPtr value1) { - QIconViewItem csvalue1 = QtSupport.LookupObject (value1, typeof (QIconViewItem)) as QIconViewItem; + TQIconViewItem csvalue1 = QtSupport.LookupObject (value1, typeof (TQIconViewItem)) as QIconViewItem; Invoke (new object[] {value0, csvalue1}); } public void SlotBridge_intQListBoxItem (int value0, IntPtr value1) { - QListBoxItem csvalue1 = QtSupport.LookupObject (value1, typeof (QListBoxItem)) as QListBoxItem; + TQListBoxItem csvalue1 = QtSupport.LookupObject (value1, typeof (TQListBoxItem)) as QListBoxItem; Invoke (new object[] {value0, csvalue1}); } @@ -209,7 +209,7 @@ namespace Qt { } } - private static MethodInfo LookupSlot(QObject receiver, string name, string args) + private static MethodInfo LookupSlot(TQObject receiver, string name, string args) { MethodInfo ret = null; |