summaryrefslogtreecommitdiffstats
path: root/qtsharp/src/libqtsharp/qtsharp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtsharp/src/libqtsharp/qtsharp.cpp')
-rw-r--r--qtsharp/src/libqtsharp/qtsharp.cpp158
1 files changed, 79 insertions, 79 deletions
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;
}