|
|
@ -22,7 +22,7 @@ void qtsharp_QObject_registerEventDelegate (qtsharp_EventDelegate delegate)
|
|
|
|
TQObject *csharp_connect_void (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(void))
|
|
|
|
TQObject *csharp_connect_void (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(void))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
CustomSlot *cs = new CustomSlot (ptr, receiver);
|
|
|
|
CustomSlot *cs = new CustomSlot (ptr, receiver);
|
|
|
|
if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (void)))) {
|
|
|
|
if (! TQObject::connect (sender, signal, cs, TQ_SLOT (callback (void)))) {
|
|
|
|
delete cs;
|
|
|
|
delete cs;
|
|
|
|
cs = 0L;
|
|
|
|
cs = 0L;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -32,7 +32,7 @@ TQObject *csharp_connect_void (TQObject *sender, const char *signal, TQObject *r
|
|
|
|
TQObject *csharp_connect_item_void (TQMenuData *instance, int id, TQObject *receiver, void (*ptr)(void))
|
|
|
|
TQObject *csharp_connect_item_void (TQMenuData *instance, int id, TQObject *receiver, void (*ptr)(void))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
CustomSlot *cs = new CustomSlot (ptr, receiver);
|
|
|
|
CustomSlot *cs = new CustomSlot (ptr, receiver);
|
|
|
|
if (! instance->connectItem (id, cs, TQT_SLOT (callback (void)))) {
|
|
|
|
if (! instance->connectItem (id, cs, TQ_SLOT (callback (void)))) {
|
|
|
|
delete cs;
|
|
|
|
delete cs;
|
|
|
|
cs = 0L;
|
|
|
|
cs = 0L;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -42,7 +42,7 @@ TQObject *csharp_connect_item_void (TQMenuData *instance, int id, TQObject *rece
|
|
|
|
TQObject *csharp_connect_bool (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(bool))
|
|
|
|
TQObject *csharp_connect_bool (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(bool))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
CustomSlot *cs = new CustomSlot (ptr, receiver);
|
|
|
|
CustomSlot *cs = new CustomSlot (ptr, receiver);
|
|
|
|
if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (bool)))) {
|
|
|
|
if (! TQObject::connect (sender, signal, cs, TQ_SLOT (callback (bool)))) {
|
|
|
|
delete cs;
|
|
|
|
delete cs;
|
|
|
|
cs = 0L;
|
|
|
|
cs = 0L;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -52,7 +52,7 @@ TQObject *csharp_connect_bool (TQObject *sender, const char *signal, TQObject *r
|
|
|
|
TQObject *csharp_connect_short (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(short))
|
|
|
|
TQObject *csharp_connect_short (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(short))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
CustomSlot *cs = new CustomSlot (ptr, receiver);
|
|
|
|
CustomSlot *cs = new CustomSlot (ptr, receiver);
|
|
|
|
if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (short)))) {
|
|
|
|
if (! TQObject::connect (sender, signal, cs, TQ_SLOT (callback (short)))) {
|
|
|
|
delete cs;
|
|
|
|
delete cs;
|
|
|
|
cs = 0L;
|
|
|
|
cs = 0L;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -62,7 +62,7 @@ TQObject *csharp_connect_short (TQObject *sender, const char *signal, TQObject *
|
|
|
|
TQObject *csharp_connect_int (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(int))
|
|
|
|
TQObject *csharp_connect_int (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(int))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
CustomSlot *cs = new CustomSlot (ptr, receiver);
|
|
|
|
CustomSlot *cs = new CustomSlot (ptr, receiver);
|
|
|
|
if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (int)))) {
|
|
|
|
if (! TQObject::connect (sender, signal, cs, TQ_SLOT (callback (int)))) {
|
|
|
|
delete cs;
|
|
|
|
delete cs;
|
|
|
|
cs = 0L;
|
|
|
|
cs = 0L;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -72,7 +72,7 @@ TQObject *csharp_connect_int (TQObject *sender, const char *signal, TQObject *re
|
|
|
|
TQObject *csharp_connect_item_int (TQMenuData *instance, int id, TQObject *receiver, void (*ptr)(int))
|
|
|
|
TQObject *csharp_connect_item_int (TQMenuData *instance, int id, TQObject *receiver, void (*ptr)(int))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
CustomSlot *cs = new CustomSlot (ptr, receiver);
|
|
|
|
CustomSlot *cs = new CustomSlot (ptr, receiver);
|
|
|
|
if (! instance->connectItem (id, cs, TQT_SLOT (callback (int)))) {
|
|
|
|
if (! instance->connectItem (id, cs, TQ_SLOT (callback (int)))) {
|
|
|
|
delete cs;
|
|
|
|
delete cs;
|
|
|
|
cs = 0L;
|
|
|
|
cs = 0L;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -82,7 +82,7 @@ TQObject *csharp_connect_item_int (TQMenuData *instance, int id, TQObject *recei
|
|
|
|
TQObject *csharp_connect_long (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(long))
|
|
|
|
TQObject *csharp_connect_long (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(long))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
CustomSlot *cs = new CustomSlot (ptr, receiver);
|
|
|
|
CustomSlot *cs = new CustomSlot (ptr, receiver);
|
|
|
|
if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (long)))) {
|
|
|
|
if (! TQObject::connect (sender, signal, cs, TQ_SLOT (callback (long)))) {
|
|
|
|
delete cs;
|
|
|
|
delete cs;
|
|
|
|
cs = 0L;
|
|
|
|
cs = 0L;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -92,7 +92,7 @@ TQObject *csharp_connect_long (TQObject *sender, const char *signal, TQObject *r
|
|
|
|
TQObject *csharp_connect_float (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(float))
|
|
|
|
TQObject *csharp_connect_float (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(float))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
CustomSlot *cs = new CustomSlot (ptr, receiver);
|
|
|
|
CustomSlot *cs = new CustomSlot (ptr, receiver);
|
|
|
|
if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (float)))) {
|
|
|
|
if (! TQObject::connect (sender, signal, cs, TQ_SLOT (callback (float)))) {
|
|
|
|
delete cs;
|
|
|
|
delete cs;
|
|
|
|
cs = 0L;
|
|
|
|
cs = 0L;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -102,7 +102,7 @@ TQObject *csharp_connect_float (TQObject *sender, const char *signal, TQObject *
|
|
|
|
TQObject *csharp_connect_double (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(double))
|
|
|
|
TQObject *csharp_connect_double (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(double))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
CustomSlot *cs = new CustomSlot (ptr, receiver);
|
|
|
|
CustomSlot *cs = new CustomSlot (ptr, receiver);
|
|
|
|
if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (double)))) {
|
|
|
|
if (! TQObject::connect (sender, signal, cs, TQ_SLOT (callback (double)))) {
|
|
|
|
delete cs;
|
|
|
|
delete cs;
|
|
|
|
cs = 0L;
|
|
|
|
cs = 0L;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -112,7 +112,7 @@ TQObject *csharp_connect_double (TQObject *sender, const char *signal, TQObject
|
|
|
|
TQObject *csharp_connect_QString (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(const TQString&))
|
|
|
|
TQObject *csharp_connect_QString (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(const TQString&))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
CustomSlot *cs = new CustomSlot (ptr, receiver);
|
|
|
|
CustomSlot *cs = new CustomSlot (ptr, receiver);
|
|
|
|
if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (const TQString&)))) {
|
|
|
|
if (! TQObject::connect (sender, signal, cs, TQ_SLOT (callback (const TQString&)))) {
|
|
|
|
delete cs;
|
|
|
|
delete cs;
|
|
|
|
cs = 0L;
|
|
|
|
cs = 0L;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -122,7 +122,7 @@ TQObject *csharp_connect_QString (TQObject *sender, const char *signal, TQObject
|
|
|
|
TQObject *csharp_connect_QDockWindow (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQDockWindow*))
|
|
|
|
TQObject *csharp_connect_QDockWindow (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQDockWindow*))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
CustomSlot *cs = new CustomSlot (ptr, receiver);
|
|
|
|
CustomSlot *cs = new CustomSlot (ptr, receiver);
|
|
|
|
if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (TQDockWindow*)))) {
|
|
|
|
if (! TQObject::connect (sender, signal, cs, TQ_SLOT (callback (TQDockWindow*)))) {
|
|
|
|
delete cs;
|
|
|
|
delete cs;
|
|
|
|
cs = 0L;
|
|
|
|
cs = 0L;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -132,7 +132,7 @@ TQObject *csharp_connect_QDockWindow (TQObject *sender, const char *signal, TQOb
|
|
|
|
TQObject *csharp_connect_QDropEvent (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQDropEvent*))
|
|
|
|
TQObject *csharp_connect_QDropEvent (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQDropEvent*))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
CustomSlot *cs = new CustomSlot (ptr, receiver);
|
|
|
|
CustomSlot *cs = new CustomSlot (ptr, receiver);
|
|
|
|
if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (TQDropEvent*)))) {
|
|
|
|
if (! TQObject::connect (sender, signal, cs, TQ_SLOT (callback (TQDropEvent*)))) {
|
|
|
|
delete cs;
|
|
|
|
delete cs;
|
|
|
|
cs = 0L;
|
|
|
|
cs = 0L;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -142,7 +142,7 @@ TQObject *csharp_connect_QDropEvent (TQObject *sender, const char *signal, TQObj
|
|
|
|
TQObject *csharp_connect_QDropEventTQListViewItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQDropEvent*,TQListViewItem*))
|
|
|
|
TQObject *csharp_connect_QDropEventTQListViewItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQDropEvent*,TQListViewItem*))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
CustomSlot *cs = new CustomSlot (ptr, receiver);
|
|
|
|
CustomSlot *cs = new CustomSlot (ptr, receiver);
|
|
|
|
if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (TQDropEvent*,TQListViewItem*)))) {
|
|
|
|
if (! TQObject::connect (sender, signal, cs, TQ_SLOT (callback (TQDropEvent*,TQListViewItem*)))) {
|
|
|
|
delete cs;
|
|
|
|
delete cs;
|
|
|
|
cs = 0L;
|
|
|
|
cs = 0L;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -152,7 +152,7 @@ TQObject *csharp_connect_QDropEventTQListViewItem (TQObject *sender, const char
|
|
|
|
TQObject *csharp_connect_QIconViewItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQIconViewItem*))
|
|
|
|
TQObject *csharp_connect_QIconViewItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQIconViewItem*))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
CustomSlot *cs = new CustomSlot (ptr, receiver);
|
|
|
|
CustomSlot *cs = new CustomSlot (ptr, receiver);
|
|
|
|
if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (TQIconViewItem*)))) {
|
|
|
|
if (! TQObject::connect (sender, signal, cs, TQ_SLOT (callback (TQIconViewItem*)))) {
|
|
|
|
delete cs;
|
|
|
|
delete cs;
|
|
|
|
cs = 0L;
|
|
|
|
cs = 0L;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -162,7 +162,7 @@ TQObject *csharp_connect_QIconViewItem (TQObject *sender, const char *signal, TQ
|
|
|
|
TQObject *csharp_connect_QListBoxItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQListBoxItem*))
|
|
|
|
TQObject *csharp_connect_QListBoxItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQListBoxItem*))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
CustomSlot *cs = new CustomSlot (ptr, receiver);
|
|
|
|
CustomSlot *cs = new CustomSlot (ptr, receiver);
|
|
|
|
if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (TQListBoxItem*)))) {
|
|
|
|
if (! TQObject::connect (sender, signal, cs, TQ_SLOT (callback (TQListBoxItem*)))) {
|
|
|
|
delete cs;
|
|
|
|
delete cs;
|
|
|
|
cs = 0L;
|
|
|
|
cs = 0L;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -172,7 +172,7 @@ TQObject *csharp_connect_QListBoxItem (TQObject *sender, const char *signal, TQO
|
|
|
|
TQObject *csharp_connect_QListViewItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQListViewItem*))
|
|
|
|
TQObject *csharp_connect_QListViewItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQListViewItem*))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
CustomSlot *cs = new CustomSlot (ptr, receiver);
|
|
|
|
CustomSlot *cs = new CustomSlot (ptr, receiver);
|
|
|
|
if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (TQListViewItem*)))) {
|
|
|
|
if (! TQObject::connect (sender, signal, cs, TQ_SLOT (callback (TQListViewItem*)))) {
|
|
|
|
delete cs;
|
|
|
|
delete cs;
|
|
|
|
cs = 0L;
|
|
|
|
cs = 0L;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -182,7 +182,7 @@ TQObject *csharp_connect_QListViewItem (TQObject *sender, const char *signal, TQ
|
|
|
|
TQObject *csharp_connect_QListViewItemTQListViewItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQListViewItem*,TQListViewItem*))
|
|
|
|
TQObject *csharp_connect_QListViewItemTQListViewItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQListViewItem*,TQListViewItem*))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
CustomSlot *cs = new CustomSlot (ptr, receiver);
|
|
|
|
CustomSlot *cs = new CustomSlot (ptr, receiver);
|
|
|
|
if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (TQListViewItem*,TQListViewItem*)))) {
|
|
|
|
if (! TQObject::connect (sender, signal, cs, TQ_SLOT (callback (TQListViewItem*,TQListViewItem*)))) {
|
|
|
|
delete cs;
|
|
|
|
delete cs;
|
|
|
|
cs = 0L;
|
|
|
|
cs = 0L;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -192,7 +192,7 @@ TQObject *csharp_connect_QListViewItemTQListViewItem (TQObject *sender, const ch
|
|
|
|
TQObject *csharp_connect_QListViewItemTQListViewItemTQListViewItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQListViewItem*,TQListViewItem*,TQListViewItem*))
|
|
|
|
TQObject *csharp_connect_QListViewItemTQListViewItemTQListViewItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQListViewItem*,TQListViewItem*,TQListViewItem*))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
CustomSlot *cs = new CustomSlot (ptr, receiver);
|
|
|
|
CustomSlot *cs = new CustomSlot (ptr, receiver);
|
|
|
|
if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (TQListViewItem*,TQListViewItem*,TQListViewItem*)))) {
|
|
|
|
if (! TQObject::connect (sender, signal, cs, TQ_SLOT (callback (TQListViewItem*,TQListViewItem*,TQListViewItem*)))) {
|
|
|
|
delete cs;
|
|
|
|
delete cs;
|
|
|
|
cs = 0L;
|
|
|
|
cs = 0L;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -202,7 +202,7 @@ TQObject *csharp_connect_QListViewItemTQListViewItemTQListViewItem (TQObject *se
|
|
|
|
TQObject *csharp_connect_QNetworkOperation (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQNetworkOperation*))
|
|
|
|
TQObject *csharp_connect_QNetworkOperation (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQNetworkOperation*))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
CustomSlot *cs = new CustomSlot (ptr, receiver);
|
|
|
|
CustomSlot *cs = new CustomSlot (ptr, receiver);
|
|
|
|
if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (TQNetworkOperation*)))) {
|
|
|
|
if (! TQObject::connect (sender, signal, cs, TQ_SLOT (callback (TQNetworkOperation*)))) {
|
|
|
|
delete cs;
|
|
|
|
delete cs;
|
|
|
|
cs = 0L;
|
|
|
|
cs = 0L;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -212,7 +212,7 @@ TQObject *csharp_connect_QNetworkOperation (TQObject *sender, const char *signal
|
|
|
|
TQObject *csharp_connect_QObject (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQObject*))
|
|
|
|
TQObject *csharp_connect_QObject (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQObject*))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
CustomSlot *cs = new CustomSlot (ptr, receiver);
|
|
|
|
CustomSlot *cs = new CustomSlot (ptr, receiver);
|
|
|
|
if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (TQObject*)))) {
|
|
|
|
if (! TQObject::connect (sender, signal, cs, TQ_SLOT (callback (TQObject*)))) {
|
|
|
|
delete cs;
|
|
|
|
delete cs;
|
|
|
|
cs = 0L;
|
|
|
|
cs = 0L;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -222,7 +222,7 @@ TQObject *csharp_connect_QObject (TQObject *sender, const char *signal, TQObject
|
|
|
|
TQObject *csharp_connect_QToolBar (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQToolBar*))
|
|
|
|
TQObject *csharp_connect_QToolBar (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQToolBar*))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
CustomSlot *cs = new CustomSlot (ptr, receiver);
|
|
|
|
CustomSlot *cs = new CustomSlot (ptr, receiver);
|
|
|
|
if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (TQToolBar*)))) {
|
|
|
|
if (! TQObject::connect (sender, signal, cs, TQ_SLOT (callback (TQToolBar*)))) {
|
|
|
|
delete cs;
|
|
|
|
delete cs;
|
|
|
|
cs = 0L;
|
|
|
|
cs = 0L;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -232,7 +232,7 @@ TQObject *csharp_connect_QToolBar (TQObject *sender, const char *signal, TQObjec
|
|
|
|
TQObject *csharp_connect_QWidget (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQWidget*))
|
|
|
|
TQObject *csharp_connect_QWidget (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQWidget*))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
CustomSlot *cs = new CustomSlot (ptr, receiver);
|
|
|
|
CustomSlot *cs = new CustomSlot (ptr, receiver);
|
|
|
|
if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (TQWidget*)))) {
|
|
|
|
if (! TQObject::connect (sender, signal, cs, TQ_SLOT (callback (TQWidget*)))) {
|
|
|
|
delete cs;
|
|
|
|
delete cs;
|
|
|
|
cs = 0L;
|
|
|
|
cs = 0L;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -242,7 +242,7 @@ TQObject *csharp_connect_QWidget (TQObject *sender, const char *signal, TQObject
|
|
|
|
TQObject *csharp_connect_intTQIconViewItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(int,TQIconViewItem*))
|
|
|
|
TQObject *csharp_connect_intTQIconViewItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(int,TQIconViewItem*))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
CustomSlot *cs = new CustomSlot (ptr, receiver);
|
|
|
|
CustomSlot *cs = new CustomSlot (ptr, receiver);
|
|
|
|
if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (int,TQIconViewItem*)))) {
|
|
|
|
if (! TQObject::connect (sender, signal, cs, TQ_SLOT (callback (int,TQIconViewItem*)))) {
|
|
|
|
delete cs;
|
|
|
|
delete cs;
|
|
|
|
cs = 0L;
|
|
|
|
cs = 0L;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -252,7 +252,7 @@ TQObject *csharp_connect_intTQIconViewItem (TQObject *sender, const char *signal
|
|
|
|
TQObject *csharp_connect_intTQListBoxItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(int,TQListBoxItem*))
|
|
|
|
TQObject *csharp_connect_intTQListBoxItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(int,TQListBoxItem*))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
CustomSlot *cs = new CustomSlot (ptr, receiver);
|
|
|
|
CustomSlot *cs = new CustomSlot (ptr, receiver);
|
|
|
|
if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (int,TQListBoxItem*)))) {
|
|
|
|
if (! TQObject::connect (sender, signal, cs, TQ_SLOT (callback (int,TQListBoxItem*)))) {
|
|
|
|
delete cs;
|
|
|
|
delete cs;
|
|
|
|
cs = 0L;
|
|
|
|
cs = 0L;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -262,7 +262,7 @@ TQObject *csharp_connect_intTQListBoxItem (TQObject *sender, const char *signal,
|
|
|
|
TQObject *csharp_connect_intbool (TQObject *sender, const char *signal, TQObject *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);
|
|
|
|
CustomSlot *cs = new CustomSlot (ptr, receiver);
|
|
|
|
if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (int,bool)))) {
|
|
|
|
if (! TQObject::connect (sender, signal, cs, TQ_SLOT (callback (int,bool)))) {
|
|
|
|
delete cs;
|
|
|
|
delete cs;
|
|
|
|
cs = 0L;
|
|
|
|
cs = 0L;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -272,7 +272,7 @@ TQObject *csharp_connect_intbool (TQObject *sender, const char *signal, TQObject
|
|
|
|
TQObject *csharp_connect_intint (TQObject *sender, const char *signal, TQObject *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);
|
|
|
|
CustomSlot *cs = new CustomSlot (ptr, receiver);
|
|
|
|
if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (int,int)))) {
|
|
|
|
if (! TQObject::connect (sender, signal, cs, TQ_SLOT (callback (int,int)))) {
|
|
|
|
delete cs;
|
|
|
|
delete cs;
|
|
|
|
cs = 0L;
|
|
|
|
cs = 0L;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -282,7 +282,7 @@ TQObject *csharp_connect_intint (TQObject *sender, const char *signal, TQObject
|
|
|
|
TQObject *csharp_connect_intintint (TQObject *sender, const char *signal, TQObject *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);
|
|
|
|
CustomSlot *cs = new CustomSlot (ptr, receiver);
|
|
|
|
if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (int,int,int)))) {
|
|
|
|
if (! TQObject::connect (sender, signal, cs, TQ_SLOT (callback (int,int,int)))) {
|
|
|
|
delete cs;
|
|
|
|
delete cs;
|
|
|
|
cs = 0L;
|
|
|
|
cs = 0L;
|
|
|
|
}
|
|
|
|
}
|
|
|
|