diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 16:20:48 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 16:20:48 -0600 |
commit | e63beeb5bdb82987b1e00bc35178667786fbad48 (patch) | |
tree | ab77b6ac830b7944d5d1eb9ce8f81feb8fdab948 /qtsharp/src/libqtsharp | |
parent | 67557a2b56c0678c22ab1b00c4fd0224c5e9ed99 (diff) | |
download | tdebindings-e63beeb5bdb82987b1e00bc35178667786fbad48.tar.gz tdebindings-e63beeb5bdb82987b1e00bc35178667786fbad48.zip |
Fix incorrect conversion
Diffstat (limited to 'qtsharp/src/libqtsharp')
-rw-r--r-- | qtsharp/src/libqtsharp/customslot.cpp | 80 | ||||
-rw-r--r-- | qtsharp/src/libqtsharp/customslot.h | 110 | ||||
-rw-r--r-- | qtsharp/src/libqtsharp/qtsharp.cpp | 158 | ||||
-rw-r--r-- | qtsharp/src/libqtsharp/qtsharp.h | 54 |
4 files changed, 201 insertions, 201 deletions
diff --git a/qtsharp/src/libqtsharp/customslot.cpp b/qtsharp/src/libqtsharp/customslot.cpp index 82c57a20..ede36240 100644 --- a/qtsharp/src/libqtsharp/customslot.cpp +++ b/qtsharp/src/libqtsharp/customslot.cpp @@ -1,127 +1,127 @@ #include "customslot.h" -CustomSlot::CustomSlot (void (*ptr)(void), TTQObject *parent, const char *name): TTQObject (parent, name) +CustomSlot::CustomSlot (void (*ptr)(void), TQObject *parent, const char *name): TQObject (parent, name) { p0 = ptr; } -CustomSlot::CustomSlot (void (*ptr)(bool), TTQObject *parent, const char *name): TTQObject (parent, name) +CustomSlot::CustomSlot (void (*ptr)(bool), TQObject *parent, const char *name): TQObject (parent, name) { p1 = ptr; } -CustomSlot::CustomSlot (void (*ptr)(short), TTQObject *parent, const char *name): TTQObject (parent, name) +CustomSlot::CustomSlot (void (*ptr)(short), TQObject *parent, const char *name): TQObject (parent, name) { p2 = ptr; } -CustomSlot::CustomSlot (void (*ptr)(int), TTQObject *parent, const char *name): TTQObject (parent, name) +CustomSlot::CustomSlot (void (*ptr)(int), TQObject *parent, const char *name): TQObject (parent, name) { p3 = ptr; } -CustomSlot::CustomSlot (void (*ptr)(long), TTQObject *parent, const char *name): TTQObject (parent, name) +CustomSlot::CustomSlot (void (*ptr)(long), TQObject *parent, const char *name): TQObject (parent, name) { p4 = ptr; } -CustomSlot::CustomSlot (void (*ptr)(float), TTQObject *parent, const char *name): TTQObject (parent, name) +CustomSlot::CustomSlot (void (*ptr)(float), TQObject *parent, const char *name): TQObject (parent, name) { p5 = ptr; } -CustomSlot::CustomSlot (void (*ptr)(double), TTQObject *parent, const char *name): TTQObject (parent, name) +CustomSlot::CustomSlot (void (*ptr)(double), TQObject *parent, const char *name): TQObject (parent, name) { p6 = ptr; } -CustomSlot::CustomSlot (void (*ptr)(TTQDockWindow*), TTQObject *parent, const char *name): TTQObject (parent, name) +CustomSlot::CustomSlot (void (*ptr)(TQDockWindow*), TQObject *parent, const char *name): TQObject (parent, name) { p7 = ptr; } -CustomSlot::CustomSlot (void (*ptr)(TTQDropEvent*), TTQObject *parent, const char *name): TTQObject (parent, name) +CustomSlot::CustomSlot (void (*ptr)(TQDropEvent*), TQObject *parent, const char *name): TQObject (parent, name) { p8 = ptr; } -CustomSlot::CustomSlot (void (*ptr)(TTQDropEvent*,TTQListViewItem*), TTQObject *parent, const char *name): TTQObject (parent, name) +CustomSlot::CustomSlot (void (*ptr)(TQDropEvent*,TQListViewItem*), TQObject *parent, const char *name): TQObject (parent, name) { p9 = ptr; } -CustomSlot::CustomSlot (void (*ptr)(TTQIconViewItem*), TTQObject *parent, const char *name): TTQObject (parent, name) +CustomSlot::CustomSlot (void (*ptr)(TQIconViewItem*), TQObject *parent, const char *name): TQObject (parent, name) { p10 = ptr; } -CustomSlot::CustomSlot (void (*ptr)(TTQListBoxItem*), TTQObject *parent, const char *name): TTQObject (parent, name) +CustomSlot::CustomSlot (void (*ptr)(TQListBoxItem*), TQObject *parent, const char *name): TQObject (parent, name) { p11 = ptr; } -CustomSlot::CustomSlot (void (*ptr)(TTQListViewItem*), TTQObject *parent, const char *name): TTQObject (parent, name) +CustomSlot::CustomSlot (void (*ptr)(TQListViewItem*), TQObject *parent, const char *name): TQObject (parent, name) { p12 = ptr; } -CustomSlot::CustomSlot (void (*ptr)(TTQListViewItem*,TTQListViewItem*), TTQObject *parent, const char *name): TTQObject (parent, name) +CustomSlot::CustomSlot (void (*ptr)(TQListViewItem*,TQListViewItem*), TQObject *parent, const char *name): TQObject (parent, name) { p13 = ptr; } -CustomSlot::CustomSlot (void (*ptr)(TTQListViewItem*,TTQListViewItem*,TTQListViewItem*), TTQObject *parent, const char *name): TTQObject (parent, name) +CustomSlot::CustomSlot (void (*ptr)(TQListViewItem*,TQListViewItem*,TQListViewItem*), TQObject *parent, const char *name): TQObject (parent, name) { p14 = ptr; } -CustomSlot::CustomSlot (void (*ptr)(TTQNetworkOperation*), TTQObject *parent, const char *name): TTQObject (parent, name) +CustomSlot::CustomSlot (void (*ptr)(TQNetworkOperation*), TQObject *parent, const char *name): TQObject (parent, name) { p15 = ptr; } -CustomSlot::CustomSlot (void (*ptr)(TTQObject*), TTQObject *parent, const char *name): TTQObject (parent, name) +CustomSlot::CustomSlot (void (*ptr)(TQObject*), TQObject *parent, const char *name): TQObject (parent, name) { p16 = ptr; } -CustomSlot::CustomSlot (void (*ptr)(TTQToolBar*), TTQObject *parent, const char *name): TTQObject (parent, name) +CustomSlot::CustomSlot (void (*ptr)(TQToolBar*), TQObject *parent, const char *name): TQObject (parent, name) { p17 = ptr; } -CustomSlot::CustomSlot (void (*ptr)(TTQWidget*), TTQObject *parent, const char *name): TTQObject (parent, name) +CustomSlot::CustomSlot (void (*ptr)(TQWidget*), TQObject *parent, const char *name): TQObject (parent, name) { p18 = ptr; } -CustomSlot::CustomSlot (void (*ptr)(int,TTQIconViewItem*), TTQObject *parent, const char *name): TTQObject (parent, name) +CustomSlot::CustomSlot (void (*ptr)(int,TQIconViewItem*), TQObject *parent, const char *name): TQObject (parent, name) { p19 = ptr; } -CustomSlot::CustomSlot (void (*ptr)(int,TTQListBoxItem*), TTQObject *parent, const char *name): TTQObject (parent, name) +CustomSlot::CustomSlot (void (*ptr)(int,TQListBoxItem*), TQObject *parent, const char *name): TQObject (parent, name) { p20 = ptr; } -CustomSlot::CustomSlot (void (*ptr)(int,bool), TTQObject *parent, const char *name): TTQObject (parent, name) +CustomSlot::CustomSlot (void (*ptr)(int,bool), TQObject *parent, const char *name): TQObject (parent, name) { p21 = ptr; } -CustomSlot::CustomSlot (void (*ptr)(int,int), TTQObject *parent, const char *name): TTQObject (parent, name) +CustomSlot::CustomSlot (void (*ptr)(int,int), TQObject *parent, const char *name): TQObject (parent, name) { p22 = ptr; } -CustomSlot::CustomSlot (void (*ptr)(int,int,int), TTQObject *parent, const char *name): TTQObject (parent, name) +CustomSlot::CustomSlot (void (*ptr)(int,int,int), TQObject *parent, const char *name): TQObject (parent, name) { p23 = ptr; } -CustomSlot::CustomSlot (void (*ptr)(const TTQString&), TTQObject *parent, const char *name): TTQObject (parent, name) +CustomSlot::CustomSlot (void (*ptr)(const TQString&), TQObject *parent, const char *name): TQObject (parent, name) { p24 = ptr; } @@ -161,72 +161,72 @@ void CustomSlot::callback (double value0) p6 (value0); } -void CustomSlot::callback (TTQDockWindow* value0) +void CustomSlot::callback (TQDockWindow* value0) { p7 (value0); } -void CustomSlot::callback (TTQDropEvent* value0) +void CustomSlot::callback (TQDropEvent* value0) { p8 (value0); } -void CustomSlot::callback (TTQDropEvent* value0, TTQListViewItem* value1) +void CustomSlot::callback (TQDropEvent* value0, TQListViewItem* value1) { p9 (value0, value1); } -void CustomSlot::callback (TTQIconViewItem* value0) +void CustomSlot::callback (TQIconViewItem* value0) { p10 (value0); } -void CustomSlot::callback (TTQListBoxItem* value0) +void CustomSlot::callback (TQListBoxItem* value0) { p11 (value0); } -void CustomSlot::callback (TTQListViewItem* value0) +void CustomSlot::callback (TQListViewItem* value0) { p12 (value0); } -void CustomSlot::callback (TTQListViewItem* value0, TTQListViewItem* value1) +void CustomSlot::callback (TQListViewItem* value0, TQListViewItem* value1) { p13 (value0, value1); } -void CustomSlot::callback (TTQListViewItem* value0, TTQListViewItem* value1, TTQListViewItem* value2) +void CustomSlot::callback (TQListViewItem* value0, TQListViewItem* value1, TQListViewItem* value2) { p14 (value0, value1, value2); } -void CustomSlot::callback (TTQNetworkOperation* value0) +void CustomSlot::callback (TQNetworkOperation* value0) { p15 (value0); } -void CustomSlot::callback (TTQObject* value0) +void CustomSlot::callback (TQObject* value0) { p16 (value0); } -void CustomSlot::callback (TTQToolBar* value0) +void CustomSlot::callback (TQToolBar* value0) { p17 (value0); } -void CustomSlot::callback (TTQWidget* value0) +void CustomSlot::callback (TQWidget* value0) { p18 (value0); } -void CustomSlot::callback (int value0, TTQIconViewItem* value1) +void CustomSlot::callback (int value0, TQIconViewItem* value1) { p19 (value0, value1); } -void CustomSlot::callback (int value0, TTQListBoxItem* value1) +void CustomSlot::callback (int value0, TQListBoxItem* value1) { p20 (value0, value1); } @@ -246,7 +246,7 @@ void CustomSlot::callback (int value0, int value1, int value2) p23 (value0, value1, value2); } -void CustomSlot::callback( const TTQString& value0 ) +void CustomSlot::callback( const TQString& value0 ) { p24 (value0); } diff --git a/qtsharp/src/libqtsharp/customslot.h b/qtsharp/src/libqtsharp/customslot.h index 5ea7d65e..8b68c0b4 100644 --- a/qtsharp/src/libqtsharp/customslot.h +++ b/qtsharp/src/libqtsharp/customslot.h @@ -36,31 +36,31 @@ class CustomSlot: public TQObject public: - CustomSlot (void (*ptr)(void), TTQObject *parent, const char *name=0); - CustomSlot (void (*ptr)(bool), TTQObject *parent, const char *name=0); - CustomSlot (void (*ptr)(short), TTQObject *parent, const char *name=0); - CustomSlot (void (*ptr)(int), TTQObject *parent, const char *name=0); - CustomSlot (void (*ptr)(long), TTQObject *parent, const char *name=0); - CustomSlot (void (*ptr)(float), TTQObject *parent, const char *name=0); - CustomSlot (void (*ptr)(double), TTQObject *parent, const char *name=0); - CustomSlot (void (*ptr)(const TTQString&), TTQObject *parent, const char *name=0); - CustomSlot (void (*ptr)(TTQDockWindow*), TTQObject *parent, const char *name=0); - CustomSlot (void (*ptr)(TTQDropEvent*), TTQObject *parent, const char *name=0); - CustomSlot (void (*ptr)(TTQDropEvent*,TTQListViewItem*), TTQObject *parent, const char *name=0); - CustomSlot (void (*ptr)(TTQIconViewItem*), TTQObject *parent, const char *name=0); - CustomSlot (void (*ptr)(TTQListBoxItem*), TTQObject *parent, const char *name=0); - CustomSlot (void (*ptr)(TTQListViewItem*), TTQObject *parent, const char *name=0); - CustomSlot (void (*ptr)(TTQListViewItem*,TTQListViewItem*), TTQObject *parent, const char *name=0); - CustomSlot (void (*ptr)(TTQListViewItem*,TTQListViewItem*,TTQListViewItem*), TTQObject *parent, const char *name=0); - CustomSlot (void (*ptr)(TTQNetworkOperation*), TTQObject *parent, const char *name=0); - CustomSlot (void (*ptr)(TTQObject*), TTQObject *parent, const char *name=0); - CustomSlot (void (*ptr)(TTQToolBar*), TTQObject *parent, const char *name=0); - CustomSlot (void (*ptr)(TTQWidget*), TTQObject *parent, const char *name=0); - CustomSlot (void (*ptr)(int,TTQIconViewItem*), TTQObject *parent, const char *name=0); - CustomSlot (void (*ptr)(int,TTQListBoxItem*), TTQObject *parent, const char *name=0); - CustomSlot (void (*ptr)(int,bool), TTQObject *parent, const char *name=0); - CustomSlot (void (*ptr)(int,int), TTQObject *parent, const char *name=0); - CustomSlot (void (*ptr)(int,int,int), TTQObject *parent, const char *name=0); + CustomSlot (void (*ptr)(void), TQObject *parent, const char *name=0); + CustomSlot (void (*ptr)(bool), TQObject *parent, const char *name=0); + CustomSlot (void (*ptr)(short), TQObject *parent, const char *name=0); + CustomSlot (void (*ptr)(int), TQObject *parent, const char *name=0); + CustomSlot (void (*ptr)(long), TQObject *parent, const char *name=0); + CustomSlot (void (*ptr)(float), TQObject *parent, const char *name=0); + CustomSlot (void (*ptr)(double), TQObject *parent, const char *name=0); + CustomSlot (void (*ptr)(const TQString&), TQObject *parent, const char *name=0); + CustomSlot (void (*ptr)(TQDockWindow*), TQObject *parent, const char *name=0); + CustomSlot (void (*ptr)(TQDropEvent*), TQObject *parent, const char *name=0); + CustomSlot (void (*ptr)(TQDropEvent*,TQListViewItem*), TQObject *parent, const char *name=0); + CustomSlot (void (*ptr)(TQIconViewItem*), TQObject *parent, const char *name=0); + CustomSlot (void (*ptr)(TQListBoxItem*), TQObject *parent, const char *name=0); + CustomSlot (void (*ptr)(TQListViewItem*), TQObject *parent, const char *name=0); + CustomSlot (void (*ptr)(TQListViewItem*,TQListViewItem*), TQObject *parent, const char *name=0); + CustomSlot (void (*ptr)(TQListViewItem*,TQListViewItem*,TQListViewItem*), TQObject *parent, const char *name=0); + CustomSlot (void (*ptr)(TQNetworkOperation*), TQObject *parent, const char *name=0); + CustomSlot (void (*ptr)(TQObject*), TQObject *parent, const char *name=0); + CustomSlot (void (*ptr)(TQToolBar*), TQObject *parent, const char *name=0); + CustomSlot (void (*ptr)(TQWidget*), TQObject *parent, const char *name=0); + CustomSlot (void (*ptr)(int,TQIconViewItem*), TQObject *parent, const char *name=0); + CustomSlot (void (*ptr)(int,TQListBoxItem*), TQObject *parent, const char *name=0); + CustomSlot (void (*ptr)(int,bool), TQObject *parent, const char *name=0); + CustomSlot (void (*ptr)(int,int), TQObject *parent, const char *name=0); + CustomSlot (void (*ptr)(int,int,int), TQObject *parent, const char *name=0); public slots: void callback (void); @@ -70,21 +70,21 @@ public slots: void callback (long); void callback (float); void callback (double); - void callback (const TTQString&); - void callback (TTQDockWindow*); - void callback (TTQDropEvent*); - void callback (TTQDropEvent*,TTQListViewItem*); - void callback (TTQIconViewItem*); - void callback (TTQListBoxItem*); - void callback (TTQListViewItem*); - void callback (TTQListViewItem*,TTQListViewItem*); - void callback (TTQListViewItem*,TTQListViewItem*,TTQListViewItem*); - void callback (TTQNetworkOperation*); - void callback (TTQObject*); - void callback (TTQToolBar*); - void callback (TTQWidget*); - void callback (int,TTQIconViewItem*); - void callback (int,TTQListBoxItem*); + void callback (const TQString&); + void callback (TQDockWindow*); + void callback (TQDropEvent*); + void callback (TQDropEvent*,TQListViewItem*); + void callback (TQIconViewItem*); + void callback (TQListBoxItem*); + void callback (TQListViewItem*); + void callback (TQListViewItem*,TQListViewItem*); + void callback (TQListViewItem*,TQListViewItem*,TQListViewItem*); + void callback (TQNetworkOperation*); + void callback (TQObject*); + void callback (TQToolBar*); + void callback (TQWidget*); + void callback (int,TQIconViewItem*); + void callback (int,TQListBoxItem*); void callback (int,bool); void callback (int,int); void callback (int,int,int); @@ -97,24 +97,24 @@ private: void (*p4)(long); void (*p5)(float); void (*p6)(double); - void (*p7)(TTQDockWindow*); - void (*p8)(TTQDropEvent*); - void (*p9)(TTQDropEvent*,TTQListViewItem*); - void (*p10)(TTQIconViewItem*); - void (*p11)(TTQListBoxItem*); - void (*p12)(TTQListViewItem*); - void (*p13)(TTQListViewItem*,TTQListViewItem*); - void (*p14)(TTQListViewItem*,TTQListViewItem*,TTQListViewItem*); - void (*p15)(TTQNetworkOperation*); - void (*p16)(TTQObject*); - void (*p17)(TTQToolBar*); - void (*p18)(TTQWidget*); - void (*p19)(int,TTQIconViewItem*); - void (*p20)(int,TTQListBoxItem*); + void (*p7)(TQDockWindow*); + void (*p8)(TQDropEvent*); + void (*p9)(TQDropEvent*,TQListViewItem*); + void (*p10)(TQIconViewItem*); + void (*p11)(TQListBoxItem*); + void (*p12)(TQListViewItem*); + void (*p13)(TQListViewItem*,TQListViewItem*); + void (*p14)(TQListViewItem*,TQListViewItem*,TQListViewItem*); + void (*p15)(TQNetworkOperation*); + void (*p16)(TQObject*); + void (*p17)(TQToolBar*); + void (*p18)(TQWidget*); + void (*p19)(int,TQIconViewItem*); + void (*p20)(int,TQListBoxItem*); void (*p21)(int,bool); void (*p22)(int,int); void (*p23)(int,int,int); - void (*p24)(const TTQString&); + void (*p24)(const TQString&); }; #endif // _CUSTOMSLOT_H_ diff --git a/qtsharp/src/libqtsharp/qtsharp.cpp b/qtsharp/src/libqtsharp/qtsharp.cpp index 061ead09..7f433d76 100644 --- a/qtsharp/src/libqtsharp/qtsharp.cpp +++ b/qtsharp/src/libqtsharp/qtsharp.cpp @@ -19,273 +19,273 @@ void qtsharp_QObject_registerEventDelegate (qtsharp_EventDelegate delegate) return; } -TTQObject *csharp_connect_void (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(void)) +TQObject *csharp_connect_void (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(void)) { CustomSlot *cs = new CustomSlot (ptr, receiver); - if (! TTQObject::connect (sender, signal, cs, TQT_SLOT (callback (void)))) { + if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (void)))) { delete cs; cs = 0L; } - return (TTQObject *)cs; + return (TQObject *)cs; } -TTQObject *csharp_connect_item_void (TTQMenuData *instance, int id, TTQObject *receiver, void (*ptr)(void)) +TQObject *csharp_connect_item_void (TQMenuData *instance, int id, TQObject *receiver, void (*ptr)(void)) { CustomSlot *cs = new CustomSlot (ptr, receiver); if (! instance->connectItem (id, cs, TQT_SLOT (callback (void)))) { delete cs; cs = 0L; } - return (TTQObject *)cs; + return (TQObject *)cs; } -TTQObject *csharp_connect_bool (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(bool)) +TQObject *csharp_connect_bool (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(bool)) { CustomSlot *cs = new CustomSlot (ptr, receiver); - if (! TTQObject::connect (sender, signal, cs, TQT_SLOT (callback (bool)))) { + if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (bool)))) { delete cs; cs = 0L; } - return (TTQObject *)cs; + return (TQObject *)cs; } -TTQObject *csharp_connect_short (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(short)) +TQObject *csharp_connect_short (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(short)) { CustomSlot *cs = new CustomSlot (ptr, receiver); - if (! TTQObject::connect (sender, signal, cs, TQT_SLOT (callback (short)))) { + if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (short)))) { delete cs; cs = 0L; } - return (TTQObject *)cs; + return (TQObject *)cs; } -TTQObject *csharp_connect_int (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(int)) +TQObject *csharp_connect_int (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(int)) { CustomSlot *cs = new CustomSlot (ptr, receiver); - if (! TTQObject::connect (sender, signal, cs, TQT_SLOT (callback (int)))) { + if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (int)))) { delete cs; cs = 0L; } - return (TTQObject *)cs; + return (TQObject *)cs; } -TTQObject *csharp_connect_item_int (TTQMenuData *instance, int id, TTQObject *receiver, void (*ptr)(int)) +TQObject *csharp_connect_item_int (TQMenuData *instance, int id, TQObject *receiver, void (*ptr)(int)) { CustomSlot *cs = new CustomSlot (ptr, receiver); if (! instance->connectItem (id, cs, TQT_SLOT (callback (int)))) { delete cs; cs = 0L; } - return (TTQObject *)cs; + return (TQObject *)cs; } -TTQObject *csharp_connect_long (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(long)) +TQObject *csharp_connect_long (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(long)) { CustomSlot *cs = new CustomSlot (ptr, receiver); - if (! TTQObject::connect (sender, signal, cs, TQT_SLOT (callback (long)))) { + if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (long)))) { delete cs; cs = 0L; } - return (TTQObject *)cs; + return (TQObject *)cs; } -TTQObject *csharp_connect_float (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(float)) +TQObject *csharp_connect_float (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(float)) { CustomSlot *cs = new CustomSlot (ptr, receiver); - if (! TTQObject::connect (sender, signal, cs, TQT_SLOT (callback (float)))) { + if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (float)))) { delete cs; cs = 0L; } - return (TTQObject *)cs; + return (TQObject *)cs; } -TTQObject *csharp_connect_double (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(double)) +TQObject *csharp_connect_double (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(double)) { CustomSlot *cs = new CustomSlot (ptr, receiver); - if (! TTQObject::connect (sender, signal, cs, TQT_SLOT (callback (double)))) { + if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (double)))) { delete cs; cs = 0L; } - return (TTQObject *)cs; + return (TQObject *)cs; } -TTQObject *csharp_connect_QString (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(const TTQString&)) +TQObject *csharp_connect_QString (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(const TQString&)) { CustomSlot *cs = new CustomSlot (ptr, receiver); - if (! TTQObject::connect (sender, signal, cs, TQT_SLOT (callback (const TTQString&)))) { + if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (const TQString&)))) { delete cs; cs = 0L; } - return (TTQObject *)cs; + return (TQObject *)cs; } -TTQObject *csharp_connect_QDockWindow (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(TTQDockWindow*)) +TQObject *csharp_connect_QDockWindow (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQDockWindow*)) { CustomSlot *cs = new CustomSlot (ptr, receiver); - if (! TTQObject::connect (sender, signal, cs, TQT_SLOT (callback (TTQDockWindow*)))) { + if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (TQDockWindow*)))) { delete cs; cs = 0L; } - return (TTQObject *)cs; + return (TQObject *)cs; } -TTQObject *csharp_connect_QDropEvent (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(TTQDropEvent*)) +TQObject *csharp_connect_QDropEvent (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQDropEvent*)) { CustomSlot *cs = new CustomSlot (ptr, receiver); - if (! TTQObject::connect (sender, signal, cs, TQT_SLOT (callback (TTQDropEvent*)))) { + if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (TQDropEvent*)))) { delete cs; cs = 0L; } - return (TTQObject *)cs; + return (TQObject *)cs; } -TTQObject *csharp_connect_QDropEventTQListViewItem (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(TTQDropEvent*,TTQListViewItem*)) +TQObject *csharp_connect_QDropEventTQListViewItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQDropEvent*,TQListViewItem*)) { CustomSlot *cs = new CustomSlot (ptr, receiver); - if (! TTQObject::connect (sender, signal, cs, TQT_SLOT (callback (TTQDropEvent*,TTQListViewItem*)))) { + if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (TQDropEvent*,TQListViewItem*)))) { delete cs; cs = 0L; } - return (TTQObject *)cs; + return (TQObject *)cs; } -TTQObject *csharp_connect_QIconViewItem (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(TTQIconViewItem*)) +TQObject *csharp_connect_QIconViewItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQIconViewItem*)) { CustomSlot *cs = new CustomSlot (ptr, receiver); - if (! TTQObject::connect (sender, signal, cs, TQT_SLOT (callback (TTQIconViewItem*)))) { + if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (TQIconViewItem*)))) { delete cs; cs = 0L; } - return (TTQObject *)cs; + return (TQObject *)cs; } -TTQObject *csharp_connect_QListBoxItem (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(TTQListBoxItem*)) +TQObject *csharp_connect_QListBoxItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQListBoxItem*)) { CustomSlot *cs = new CustomSlot (ptr, receiver); - if (! TTQObject::connect (sender, signal, cs, TQT_SLOT (callback (TTQListBoxItem*)))) { + if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (TQListBoxItem*)))) { delete cs; cs = 0L; } - return (TTQObject *)cs; + return (TQObject *)cs; } -TTQObject *csharp_connect_QListViewItem (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(TTQListViewItem*)) +TQObject *csharp_connect_QListViewItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQListViewItem*)) { CustomSlot *cs = new CustomSlot (ptr, receiver); - if (! TTQObject::connect (sender, signal, cs, TQT_SLOT (callback (TTQListViewItem*)))) { + if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (TQListViewItem*)))) { delete cs; cs = 0L; } - return (TTQObject *)cs; + return (TQObject *)cs; } -TTQObject *csharp_connect_QListViewItemTQListViewItem (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(TTQListViewItem*,TTQListViewItem*)) +TQObject *csharp_connect_QListViewItemTQListViewItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQListViewItem*,TQListViewItem*)) { CustomSlot *cs = new CustomSlot (ptr, receiver); - if (! TTQObject::connect (sender, signal, cs, TQT_SLOT (callback (TTQListViewItem*,TTQListViewItem*)))) { + if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (TQListViewItem*,TQListViewItem*)))) { delete cs; cs = 0L; } - return (TTQObject *)cs; + return (TQObject *)cs; } -TTQObject *csharp_connect_QListViewItemTQListViewItemTQListViewItem (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(TTQListViewItem*,TTQListViewItem*,TTQListViewItem*)) +TQObject *csharp_connect_QListViewItemTQListViewItemTQListViewItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQListViewItem*,TQListViewItem*,TQListViewItem*)) { CustomSlot *cs = new CustomSlot (ptr, receiver); - if (! TTQObject::connect (sender, signal, cs, TQT_SLOT (callback (TTQListViewItem*,TTQListViewItem*,TTQListViewItem*)))) { + if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (TQListViewItem*,TQListViewItem*,TQListViewItem*)))) { delete cs; cs = 0L; } - return (TTQObject *)cs; + return (TQObject *)cs; } -TTQObject *csharp_connect_QNetworkOperation (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(TTQNetworkOperation*)) +TQObject *csharp_connect_QNetworkOperation (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQNetworkOperation*)) { CustomSlot *cs = new CustomSlot (ptr, receiver); - if (! TTQObject::connect (sender, signal, cs, TQT_SLOT (callback (TTQNetworkOperation*)))) { + if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (TQNetworkOperation*)))) { delete cs; cs = 0L; } - return (TTQObject *)cs; + return (TQObject *)cs; } -TTQObject *csharp_connect_QObject (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(TTQObject*)) +TQObject *csharp_connect_QObject (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQObject*)) { CustomSlot *cs = new CustomSlot (ptr, receiver); - if (! TTQObject::connect (sender, signal, cs, TQT_SLOT (callback (TTQObject*)))) { + if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (TQObject*)))) { delete cs; cs = 0L; } - return (TTQObject *)cs; + return (TQObject *)cs; } -TTQObject *csharp_connect_QToolBar (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(TTQToolBar*)) +TQObject *csharp_connect_QToolBar (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQToolBar*)) { CustomSlot *cs = new CustomSlot (ptr, receiver); - if (! TTQObject::connect (sender, signal, cs, TQT_SLOT (callback (TTQToolBar*)))) { + if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (TQToolBar*)))) { delete cs; cs = 0L; } - return (TTQObject *)cs; + return (TQObject *)cs; } -TTQObject *csharp_connect_QWidget (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(TTQWidget*)) +TQObject *csharp_connect_QWidget (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQWidget*)) { CustomSlot *cs = new CustomSlot (ptr, receiver); - if (! TTQObject::connect (sender, signal, cs, TQT_SLOT (callback (TTQWidget*)))) { + if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (TQWidget*)))) { delete cs; cs = 0L; } - return (TTQObject *)cs; + return (TQObject *)cs; } -TTQObject *csharp_connect_intTQIconViewItem (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(int,TTQIconViewItem*)) +TQObject *csharp_connect_intTQIconViewItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(int,TQIconViewItem*)) { CustomSlot *cs = new CustomSlot (ptr, receiver); - if (! TTQObject::connect (sender, signal, cs, TQT_SLOT (callback (int,TTQIconViewItem*)))) { + if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (int,TQIconViewItem*)))) { delete cs; cs = 0L; } - return (TTQObject *)cs; + return (TQObject *)cs; } -TTQObject *csharp_connect_intTQListBoxItem (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(int,TTQListBoxItem*)) +TQObject *csharp_connect_intTQListBoxItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(int,TQListBoxItem*)) { CustomSlot *cs = new CustomSlot (ptr, receiver); - if (! TTQObject::connect (sender, signal, cs, TQT_SLOT (callback (int,TTQListBoxItem*)))) { + if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (int,TQListBoxItem*)))) { delete cs; cs = 0L; } - return (TTQObject *)cs; + return (TQObject *)cs; } -TTQObject *csharp_connect_intbool (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(int,bool)) +TQObject *csharp_connect_intbool (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(int,bool)) { CustomSlot *cs = new CustomSlot (ptr, receiver); - if (! TTQObject::connect (sender, signal, cs, TQT_SLOT (callback (int,bool)))) { + if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (int,bool)))) { delete cs; cs = 0L; } - return (TTQObject *)cs; + return (TQObject *)cs; } -TTQObject *csharp_connect_intint (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(int,int)) +TQObject *csharp_connect_intint (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(int,int)) { CustomSlot *cs = new CustomSlot (ptr, receiver); - if (! TTQObject::connect (sender, signal, cs, TQT_SLOT (callback (int,int)))) { + if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (int,int)))) { delete cs; cs = 0L; } - return (TTQObject *)cs; + return (TQObject *)cs; } -TTQObject *csharp_connect_intintint (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(int,int,int)) +TQObject *csharp_connect_intintint (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(int,int,int)) { CustomSlot *cs = new CustomSlot (ptr, receiver); - if (! TTQObject::connect (sender, signal, cs, TQT_SLOT (callback (int,int,int)))) { + if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (int,int,int)))) { delete cs; cs = 0L; } - return (TTQObject *)cs; + return (TQObject *)cs; } diff --git a/qtsharp/src/libqtsharp/qtsharp.h b/qtsharp/src/libqtsharp/qtsharp.h index 53b0199e..308f6ec7 100644 --- a/qtsharp/src/libqtsharp/qtsharp.h +++ b/qtsharp/src/libqtsharp/qtsharp.h @@ -10,57 +10,57 @@ typedef int (*qt_EventDelegate)(void *, char *, void *, char *); void qt_QObject_registerEventDelegate (qt_EventDelegate delegate); -TTQObject *csharp_connect_void (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(void)); -TTQObject *csharp_connect_item_void (TTQMenuData *instance, int id, TTQObject *receiver, void (*ptr)(void)); +TQObject *csharp_connect_void (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(void)); +TQObject *csharp_connect_item_void (TQMenuData *instance, int id, TQObject *receiver, void (*ptr)(void)); -TTQObject *csharp_connect_bool (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(bool)); +TQObject *csharp_connect_bool (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(bool)); -TTQObject *csharp_connect_short (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(short)); +TQObject *csharp_connect_short (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(short)); -TTQObject *csharp_connect_int (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(int)); -TTQObject *csharp_connect_item_int (TTQMenuData *instance, int id, TTQObject *receiver, void (*ptr)(int)); +TQObject *csharp_connect_int (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(int)); +TQObject *csharp_connect_item_int (TQMenuData *instance, int id, TQObject *receiver, void (*ptr)(int)); -TTQObject *csharp_connect_long (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(long)); +TQObject *csharp_connect_long (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(long)); -TTQObject *csharp_connect_float (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(float)); +TQObject *csharp_connect_float (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(float)); -TTQObject *csharp_connect_double (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(double)); +TQObject *csharp_connect_double (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(double)); -TTQObject *csharp_connect_QString (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(const TTQString&)); +TQObject *csharp_connect_QString (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(const TQString&)); -TTQObject *csharp_connect_QDockWindow (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(TTQDockWindow*)); +TQObject *csharp_connect_QDockWindow (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQDockWindow*)); -TTQObject *csharp_connect_QDropEvent (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(TTQDropEvent*)); +TQObject *csharp_connect_QDropEvent (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQDropEvent*)); -TTQObject *csharp_connect_QDropEventTQListViewItem (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(TTQDropEvent*,TTQListViewItem*)); +TQObject *csharp_connect_QDropEventTQListViewItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQDropEvent*,TQListViewItem*)); -TTQObject *csharp_connect_QIconViewItem (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(TTQIconViewItem*)); +TQObject *csharp_connect_QIconViewItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQIconViewItem*)); -TTQObject *csharp_connect_QListBoxItem (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(TTQListBoxItem*)); +TQObject *csharp_connect_QListBoxItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQListBoxItem*)); -TTQObject *csharp_connect_QListViewItem (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(TTQListViewItem*)); +TQObject *csharp_connect_QListViewItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQListViewItem*)); -TTQObject *csharp_connect_QListViewItemTQListViewItem (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(TTQListViewItem*,TTQListViewItem*)); +TQObject *csharp_connect_QListViewItemTQListViewItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQListViewItem*,TQListViewItem*)); -TTQObject *csharp_connect_QListViewItemTQListViewItemTQListViewItem (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(TTQListViewItem*,TTQListViewItem*,TTQListViewItem*)); +TQObject *csharp_connect_QListViewItemTQListViewItemTQListViewItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQListViewItem*,TQListViewItem*,TQListViewItem*)); -TTQObject *csharp_connect_QNetworkOperation (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(TTQNetworkOperation*)); +TQObject *csharp_connect_QNetworkOperation (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQNetworkOperation*)); -TTQObject *csharp_connect_QObject (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(TTQObject*)); +TQObject *csharp_connect_QObject (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQObject*)); -TTQObject *csharp_connect_QToolBar (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(TTQToolBar*)); +TQObject *csharp_connect_QToolBar (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQToolBar*)); -TTQObject *csharp_connect_QWidget (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(TTQWidget*)); +TQObject *csharp_connect_QWidget (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQWidget*)); -TTQObject *csharp_connect_intTQIconViewItem (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(int,TTQIconViewItem*)); +TQObject *csharp_connect_intTQIconViewItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(int,TQIconViewItem*)); -TTQObject *csharp_connect_intTQListBoxItem (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(int,TTQListBoxItem*)); +TQObject *csharp_connect_intTQListBoxItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(int,TQListBoxItem*)); -TTQObject *csharp_connect_intbool (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(int,bool)); +TQObject *csharp_connect_intbool (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(int,bool)); -TTQObject *csharp_connect_intint (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(int,int)); +TQObject *csharp_connect_intint (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(int,int)); -TTQObject *csharp_connect_intintint (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(int,int,int)); +TQObject *csharp_connect_intintint (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(int,int,int)); } // extern "C" |