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 80e32b0d..061ead09 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;
}
-TQObject *csharp_connect_void (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(void))
+TTQObject *csharp_connect_void (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(void))
{
CustomSlot *cs = new CustomSlot (ptr, receiver);
- if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (void)))) {
+ if (! TTQObject::connect (sender, signal, cs, TQT_SLOT (callback (void)))) {
delete cs;
cs = 0L;
}
- return (TQObject *)cs;
+ return (TTQObject *)cs;
}
-TQObject *csharp_connect_item_void (TQMenuData *instance, int id, TQObject *receiver, void (*ptr)(void))
+TTQObject *csharp_connect_item_void (TTQMenuData *instance, int id, TTQObject *receiver, void (*ptr)(void))
{
CustomSlot *cs = new CustomSlot (ptr, receiver);
if (! instance->connectItem (id, cs, TQT_SLOT (callback (void)))) {
delete cs;
cs = 0L;
}
- return (TQObject *)cs;
+ return (TTQObject *)cs;
}
-TQObject *csharp_connect_bool (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(bool))
+TTQObject *csharp_connect_bool (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(bool))
{
CustomSlot *cs = new CustomSlot (ptr, receiver);
- if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (bool)))) {
+ if (! TTQObject::connect (sender, signal, cs, TQT_SLOT (callback (bool)))) {
delete cs;
cs = 0L;
}
- return (TQObject *)cs;
+ return (TTQObject *)cs;
}
-TQObject *csharp_connect_short (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(short))
+TTQObject *csharp_connect_short (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(short))
{
CustomSlot *cs = new CustomSlot (ptr, receiver);
- if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (short)))) {
+ if (! TTQObject::connect (sender, signal, cs, TQT_SLOT (callback (short)))) {
delete cs;
cs = 0L;
}
- return (TQObject *)cs;
+ return (TTQObject *)cs;
}
-TQObject *csharp_connect_int (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(int))
+TTQObject *csharp_connect_int (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(int))
{
CustomSlot *cs = new CustomSlot (ptr, receiver);
- if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (int)))) {
+ if (! TTQObject::connect (sender, signal, cs, TQT_SLOT (callback (int)))) {
delete cs;
cs = 0L;
}
- return (TQObject *)cs;
+ return (TTQObject *)cs;
}
-TQObject *csharp_connect_item_int (TQMenuData *instance, int id, TQObject *receiver, void (*ptr)(int))
+TTQObject *csharp_connect_item_int (TTQMenuData *instance, int id, TTQObject *receiver, void (*ptr)(int))
{
CustomSlot *cs = new CustomSlot (ptr, receiver);
if (! instance->connectItem (id, cs, TQT_SLOT (callback (int)))) {
delete cs;
cs = 0L;
}
- return (TQObject *)cs;
+ return (TTQObject *)cs;
}
-TQObject *csharp_connect_long (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(long))
+TTQObject *csharp_connect_long (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(long))
{
CustomSlot *cs = new CustomSlot (ptr, receiver);
- if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (long)))) {
+ if (! TTQObject::connect (sender, signal, cs, TQT_SLOT (callback (long)))) {
delete cs;
cs = 0L;
}
- return (TQObject *)cs;
+ return (TTQObject *)cs;
}
-TQObject *csharp_connect_float (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(float))
+TTQObject *csharp_connect_float (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(float))
{
CustomSlot *cs = new CustomSlot (ptr, receiver);
- if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (float)))) {
+ if (! TTQObject::connect (sender, signal, cs, TQT_SLOT (callback (float)))) {
delete cs;
cs = 0L;
}
- return (TQObject *)cs;
+ return (TTQObject *)cs;
}
-TQObject *csharp_connect_double (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(double))
+TTQObject *csharp_connect_double (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(double))
{
CustomSlot *cs = new CustomSlot (ptr, receiver);
- if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (double)))) {
+ if (! TTQObject::connect (sender, signal, cs, TQT_SLOT (callback (double)))) {
delete cs;
cs = 0L;
}
- return (TQObject *)cs;
+ return (TTQObject *)cs;
}
-TQObject *csharp_connect_QString (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(const TQString&))
+TTQObject *csharp_connect_QString (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(const TTQString&))
{
CustomSlot *cs = new CustomSlot (ptr, receiver);
- if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (const TQString&)))) {
+ if (! TTQObject::connect (sender, signal, cs, TQT_SLOT (callback (const TTQString&)))) {
delete cs;
cs = 0L;
}
- return (TQObject *)cs;
+ return (TTQObject *)cs;
}
-TQObject *csharp_connect_QDockWindow (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQDockWindow*))
+TTQObject *csharp_connect_QDockWindow (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(TTQDockWindow*))
{
CustomSlot *cs = new CustomSlot (ptr, receiver);
- if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (TQDockWindow*)))) {
+ if (! TTQObject::connect (sender, signal, cs, TQT_SLOT (callback (TTQDockWindow*)))) {
delete cs;
cs = 0L;
}
- return (TQObject *)cs;
+ return (TTQObject *)cs;
}
-TQObject *csharp_connect_QDropEvent (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQDropEvent*))
+TTQObject *csharp_connect_QDropEvent (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(TTQDropEvent*))
{
CustomSlot *cs = new CustomSlot (ptr, receiver);
- if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (TQDropEvent*)))) {
+ if (! TTQObject::connect (sender, signal, cs, TQT_SLOT (callback (TTQDropEvent*)))) {
delete cs;
cs = 0L;
}
- return (TQObject *)cs;
+ return (TTQObject *)cs;
}
-TQObject *csharp_connect_QDropEventQListViewItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQDropEvent*,TQListViewItem*))
+TTQObject *csharp_connect_QDropEventTQListViewItem (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(TTQDropEvent*,TTQListViewItem*))
{
CustomSlot *cs = new CustomSlot (ptr, receiver);
- if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (TQDropEvent*,TQListViewItem*)))) {
+ if (! TTQObject::connect (sender, signal, cs, TQT_SLOT (callback (TTQDropEvent*,TTQListViewItem*)))) {
delete cs;
cs = 0L;
}
- return (TQObject *)cs;
+ return (TTQObject *)cs;
}
-TQObject *csharp_connect_QIconViewItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQIconViewItem*))
+TTQObject *csharp_connect_QIconViewItem (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(TTQIconViewItem*))
{
CustomSlot *cs = new CustomSlot (ptr, receiver);
- if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (TQIconViewItem*)))) {
+ if (! TTQObject::connect (sender, signal, cs, TQT_SLOT (callback (TTQIconViewItem*)))) {
delete cs;
cs = 0L;
}
- return (TQObject *)cs;
+ return (TTQObject *)cs;
}
-TQObject *csharp_connect_QListBoxItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQListBoxItem*))
+TTQObject *csharp_connect_QListBoxItem (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(TTQListBoxItem*))
{
CustomSlot *cs = new CustomSlot (ptr, receiver);
- if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (TQListBoxItem*)))) {
+ if (! TTQObject::connect (sender, signal, cs, TQT_SLOT (callback (TTQListBoxItem*)))) {
delete cs;
cs = 0L;
}
- return (TQObject *)cs;
+ return (TTQObject *)cs;
}
-TQObject *csharp_connect_QListViewItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQListViewItem*))
+TTQObject *csharp_connect_QListViewItem (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(TTQListViewItem*))
{
CustomSlot *cs = new CustomSlot (ptr, receiver);
- if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (TQListViewItem*)))) {
+ if (! TTQObject::connect (sender, signal, cs, TQT_SLOT (callback (TTQListViewItem*)))) {
delete cs;
cs = 0L;
}
- return (TQObject *)cs;
+ return (TTQObject *)cs;
}
-TQObject *csharp_connect_QListViewItemQListViewItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQListViewItem*,TQListViewItem*))
+TTQObject *csharp_connect_QListViewItemTQListViewItem (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(TTQListViewItem*,TTQListViewItem*))
{
CustomSlot *cs = new CustomSlot (ptr, receiver);
- if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (TQListViewItem*,TQListViewItem*)))) {
+ if (! TTQObject::connect (sender, signal, cs, TQT_SLOT (callback (TTQListViewItem*,TTQListViewItem*)))) {
delete cs;
cs = 0L;
}
- return (TQObject *)cs;
+ return (TTQObject *)cs;
}
-TQObject *csharp_connect_QListViewItemQListViewItemQListViewItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQListViewItem*,TQListViewItem*,TQListViewItem*))
+TTQObject *csharp_connect_QListViewItemTQListViewItemTQListViewItem (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(TTQListViewItem*,TTQListViewItem*,TTQListViewItem*))
{
CustomSlot *cs = new CustomSlot (ptr, receiver);
- if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (TQListViewItem*,TQListViewItem*,TQListViewItem*)))) {
+ if (! TTQObject::connect (sender, signal, cs, TQT_SLOT (callback (TTQListViewItem*,TTQListViewItem*,TTQListViewItem*)))) {
delete cs;
cs = 0L;
}
- return (TQObject *)cs;
+ return (TTQObject *)cs;
}
-TQObject *csharp_connect_QNetworkOperation (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQNetworkOperation*))
+TTQObject *csharp_connect_QNetworkOperation (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(TTQNetworkOperation*))
{
CustomSlot *cs = new CustomSlot (ptr, receiver);
- if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (TQNetworkOperation*)))) {
+ if (! TTQObject::connect (sender, signal, cs, TQT_SLOT (callback (TTQNetworkOperation*)))) {
delete cs;
cs = 0L;
}
- return (TQObject *)cs;
+ return (TTQObject *)cs;
}
-TQObject *csharp_connect_QObject (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQObject*))
+TTQObject *csharp_connect_QObject (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(TTQObject*))
{
CustomSlot *cs = new CustomSlot (ptr, receiver);
- if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (TQObject*)))) {
+ if (! TTQObject::connect (sender, signal, cs, TQT_SLOT (callback (TTQObject*)))) {
delete cs;
cs = 0L;
}
- return (TQObject *)cs;
+ return (TTQObject *)cs;
}
-TQObject *csharp_connect_QToolBar (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQToolBar*))
+TTQObject *csharp_connect_QToolBar (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(TTQToolBar*))
{
CustomSlot *cs = new CustomSlot (ptr, receiver);
- if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (TQToolBar*)))) {
+ if (! TTQObject::connect (sender, signal, cs, TQT_SLOT (callback (TTQToolBar*)))) {
delete cs;
cs = 0L;
}
- return (TQObject *)cs;
+ return (TTQObject *)cs;
}
-TQObject *csharp_connect_QWidget (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQWidget*))
+TTQObject *csharp_connect_QWidget (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(TTQWidget*))
{
CustomSlot *cs = new CustomSlot (ptr, receiver);
- if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (TQWidget*)))) {
+ if (! TTQObject::connect (sender, signal, cs, TQT_SLOT (callback (TTQWidget*)))) {
delete cs;
cs = 0L;
}
- return (TQObject *)cs;
+ return (TTQObject *)cs;
}
-TQObject *csharp_connect_intQIconViewItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(int,TQIconViewItem*))
+TTQObject *csharp_connect_intTQIconViewItem (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(int,TTQIconViewItem*))
{
CustomSlot *cs = new CustomSlot (ptr, receiver);
- if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (int,TQIconViewItem*)))) {
+ if (! TTQObject::connect (sender, signal, cs, TQT_SLOT (callback (int,TTQIconViewItem*)))) {
delete cs;
cs = 0L;
}
- return (TQObject *)cs;
+ return (TTQObject *)cs;
}
-TQObject *csharp_connect_intQListBoxItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(int,TQListBoxItem*))
+TTQObject *csharp_connect_intTQListBoxItem (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(int,TTQListBoxItem*))
{
CustomSlot *cs = new CustomSlot (ptr, receiver);
- if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (int,TQListBoxItem*)))) {
+ if (! TTQObject::connect (sender, signal, cs, TQT_SLOT (callback (int,TTQListBoxItem*)))) {
delete cs;
cs = 0L;
}
- return (TQObject *)cs;
+ return (TTQObject *)cs;
}
-TQObject *csharp_connect_intbool (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(int,bool))
+TTQObject *csharp_connect_intbool (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(int,bool))
{
CustomSlot *cs = new CustomSlot (ptr, receiver);
- if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (int,bool)))) {
+ if (! TTQObject::connect (sender, signal, cs, TQT_SLOT (callback (int,bool)))) {
delete cs;
cs = 0L;
}
- return (TQObject *)cs;
+ return (TTQObject *)cs;
}
-TQObject *csharp_connect_intint (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(int,int))
+TTQObject *csharp_connect_intint (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(int,int))
{
CustomSlot *cs = new CustomSlot (ptr, receiver);
- if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (int,int)))) {
+ if (! TTQObject::connect (sender, signal, cs, TQT_SLOT (callback (int,int)))) {
delete cs;
cs = 0L;
}
- return (TQObject *)cs;
+ return (TTQObject *)cs;
}
-TQObject *csharp_connect_intintint (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(int,int,int))
+TTQObject *csharp_connect_intintint (TTQObject *sender, const char *signal, TTQObject *receiver, void (*ptr)(int,int,int))
{
CustomSlot *cs = new CustomSlot (ptr, receiver);
- if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (int,int,int)))) {
+ if (! TTQObject::connect (sender, signal, cs, TQT_SLOT (callback (int,int,int)))) {
delete cs;
cs = 0L;
}
- return (TQObject *)cs;
+ return (TTQObject *)cs;
}