summaryrefslogtreecommitdiffstats
path: root/qtsharp/src/libqtsharp
diff options
context:
space:
mode:
Diffstat (limited to 'qtsharp/src/libqtsharp')
-rw-r--r--qtsharp/src/libqtsharp/customslot.cpp80
-rw-r--r--qtsharp/src/libqtsharp/customslot.h164
-rw-r--r--qtsharp/src/libqtsharp/qtsharp.cpp162
-rw-r--r--qtsharp/src/libqtsharp/qtsharp.h54
4 files changed, 230 insertions, 230 deletions
diff --git a/qtsharp/src/libqtsharp/customslot.cpp b/qtsharp/src/libqtsharp/customslot.cpp
index f23b9cee..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), QObject *parent, const char *name): QObject (parent, name)
+CustomSlot::CustomSlot (void (*ptr)(void), TQObject *parent, const char *name): TQObject (parent, name)
{
p0 = ptr;
}
-CustomSlot::CustomSlot (void (*ptr)(bool), QObject *parent, const char *name): QObject (parent, name)
+CustomSlot::CustomSlot (void (*ptr)(bool), TQObject *parent, const char *name): TQObject (parent, name)
{
p1 = ptr;
}
-CustomSlot::CustomSlot (void (*ptr)(short), QObject *parent, const char *name): QObject (parent, name)
+CustomSlot::CustomSlot (void (*ptr)(short), TQObject *parent, const char *name): TQObject (parent, name)
{
p2 = ptr;
}
-CustomSlot::CustomSlot (void (*ptr)(int), QObject *parent, const char *name): QObject (parent, name)
+CustomSlot::CustomSlot (void (*ptr)(int), TQObject *parent, const char *name): TQObject (parent, name)
{
p3 = ptr;
}
-CustomSlot::CustomSlot (void (*ptr)(long), QObject *parent, const char *name): QObject (parent, name)
+CustomSlot::CustomSlot (void (*ptr)(long), TQObject *parent, const char *name): TQObject (parent, name)
{
p4 = ptr;
}
-CustomSlot::CustomSlot (void (*ptr)(float), QObject *parent, const char *name): QObject (parent, name)
+CustomSlot::CustomSlot (void (*ptr)(float), TQObject *parent, const char *name): TQObject (parent, name)
{
p5 = ptr;
}
-CustomSlot::CustomSlot (void (*ptr)(double), QObject *parent, const char *name): QObject (parent, name)
+CustomSlot::CustomSlot (void (*ptr)(double), TQObject *parent, const char *name): TQObject (parent, name)
{
p6 = ptr;
}
-CustomSlot::CustomSlot (void (*ptr)(QDockWindow*), QObject *parent, const char *name): QObject (parent, name)
+CustomSlot::CustomSlot (void (*ptr)(TQDockWindow*), TQObject *parent, const char *name): TQObject (parent, name)
{
p7 = ptr;
}
-CustomSlot::CustomSlot (void (*ptr)(QDropEvent*), QObject *parent, const char *name): QObject (parent, name)
+CustomSlot::CustomSlot (void (*ptr)(TQDropEvent*), TQObject *parent, const char *name): TQObject (parent, name)
{
p8 = ptr;
}
-CustomSlot::CustomSlot (void (*ptr)(QDropEvent*,QListViewItem*), QObject *parent, const char *name): QObject (parent, name)
+CustomSlot::CustomSlot (void (*ptr)(TQDropEvent*,TQListViewItem*), TQObject *parent, const char *name): TQObject (parent, name)
{
p9 = ptr;
}
-CustomSlot::CustomSlot (void (*ptr)(QIconViewItem*), QObject *parent, const char *name): QObject (parent, name)
+CustomSlot::CustomSlot (void (*ptr)(TQIconViewItem*), TQObject *parent, const char *name): TQObject (parent, name)
{
p10 = ptr;
}
-CustomSlot::CustomSlot (void (*ptr)(QListBoxItem*), QObject *parent, const char *name): QObject (parent, name)
+CustomSlot::CustomSlot (void (*ptr)(TQListBoxItem*), TQObject *parent, const char *name): TQObject (parent, name)
{
p11 = ptr;
}
-CustomSlot::CustomSlot (void (*ptr)(QListViewItem*), QObject *parent, const char *name): QObject (parent, name)
+CustomSlot::CustomSlot (void (*ptr)(TQListViewItem*), TQObject *parent, const char *name): TQObject (parent, name)
{
p12 = ptr;
}
-CustomSlot::CustomSlot (void (*ptr)(QListViewItem*,QListViewItem*), QObject *parent, const char *name): QObject (parent, name)
+CustomSlot::CustomSlot (void (*ptr)(TQListViewItem*,TQListViewItem*), TQObject *parent, const char *name): TQObject (parent, name)
{
p13 = ptr;
}
-CustomSlot::CustomSlot (void (*ptr)(QListViewItem*,QListViewItem*,QListViewItem*), QObject *parent, const char *name): QObject (parent, name)
+CustomSlot::CustomSlot (void (*ptr)(TQListViewItem*,TQListViewItem*,TQListViewItem*), TQObject *parent, const char *name): TQObject (parent, name)
{
p14 = ptr;
}
-CustomSlot::CustomSlot (void (*ptr)(QNetworkOperation*), QObject *parent, const char *name): QObject (parent, name)
+CustomSlot::CustomSlot (void (*ptr)(TQNetworkOperation*), TQObject *parent, const char *name): TQObject (parent, name)
{
p15 = ptr;
}
-CustomSlot::CustomSlot (void (*ptr)(QObject*), QObject *parent, const char *name): QObject (parent, name)
+CustomSlot::CustomSlot (void (*ptr)(TQObject*), TQObject *parent, const char *name): TQObject (parent, name)
{
p16 = ptr;
}
-CustomSlot::CustomSlot (void (*ptr)(QToolBar*), QObject *parent, const char *name): QObject (parent, name)
+CustomSlot::CustomSlot (void (*ptr)(TQToolBar*), TQObject *parent, const char *name): TQObject (parent, name)
{
p17 = ptr;
}
-CustomSlot::CustomSlot (void (*ptr)(QWidget*), QObject *parent, const char *name): QObject (parent, name)
+CustomSlot::CustomSlot (void (*ptr)(TQWidget*), TQObject *parent, const char *name): TQObject (parent, name)
{
p18 = ptr;
}
-CustomSlot::CustomSlot (void (*ptr)(int,QIconViewItem*), QObject *parent, const char *name): QObject (parent, name)
+CustomSlot::CustomSlot (void (*ptr)(int,TQIconViewItem*), TQObject *parent, const char *name): TQObject (parent, name)
{
p19 = ptr;
}
-CustomSlot::CustomSlot (void (*ptr)(int,QListBoxItem*), QObject *parent, const char *name): QObject (parent, name)
+CustomSlot::CustomSlot (void (*ptr)(int,TQListBoxItem*), TQObject *parent, const char *name): TQObject (parent, name)
{
p20 = ptr;
}
-CustomSlot::CustomSlot (void (*ptr)(int,bool), QObject *parent, const char *name): QObject (parent, name)
+CustomSlot::CustomSlot (void (*ptr)(int,bool), TQObject *parent, const char *name): TQObject (parent, name)
{
p21 = ptr;
}
-CustomSlot::CustomSlot (void (*ptr)(int,int), QObject *parent, const char *name): QObject (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), QObject *parent, const char *name): QObject (parent, name)
+CustomSlot::CustomSlot (void (*ptr)(int,int,int), TQObject *parent, const char *name): TQObject (parent, name)
{
p23 = ptr;
}
-CustomSlot::CustomSlot (void (*ptr)(const QString&), QObject *parent, const char *name): QObject (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 (QDockWindow* value0)
+void CustomSlot::callback (TQDockWindow* value0)
{
p7 (value0);
}
-void CustomSlot::callback (QDropEvent* value0)
+void CustomSlot::callback (TQDropEvent* value0)
{
p8 (value0);
}
-void CustomSlot::callback (QDropEvent* value0, QListViewItem* value1)
+void CustomSlot::callback (TQDropEvent* value0, TQListViewItem* value1)
{
p9 (value0, value1);
}
-void CustomSlot::callback (QIconViewItem* value0)
+void CustomSlot::callback (TQIconViewItem* value0)
{
p10 (value0);
}
-void CustomSlot::callback (QListBoxItem* value0)
+void CustomSlot::callback (TQListBoxItem* value0)
{
p11 (value0);
}
-void CustomSlot::callback (QListViewItem* value0)
+void CustomSlot::callback (TQListViewItem* value0)
{
p12 (value0);
}
-void CustomSlot::callback (QListViewItem* value0, QListViewItem* value1)
+void CustomSlot::callback (TQListViewItem* value0, TQListViewItem* value1)
{
p13 (value0, value1);
}
-void CustomSlot::callback (QListViewItem* value0, QListViewItem* value1, QListViewItem* value2)
+void CustomSlot::callback (TQListViewItem* value0, TQListViewItem* value1, TQListViewItem* value2)
{
p14 (value0, value1, value2);
}
-void CustomSlot::callback (QNetworkOperation* value0)
+void CustomSlot::callback (TQNetworkOperation* value0)
{
p15 (value0);
}
-void CustomSlot::callback (QObject* value0)
+void CustomSlot::callback (TQObject* value0)
{
p16 (value0);
}
-void CustomSlot::callback (QToolBar* value0)
+void CustomSlot::callback (TQToolBar* value0)
{
p17 (value0);
}
-void CustomSlot::callback (QWidget* value0)
+void CustomSlot::callback (TQWidget* value0)
{
p18 (value0);
}
-void CustomSlot::callback (int value0, QIconViewItem* value1)
+void CustomSlot::callback (int value0, TQIconViewItem* value1)
{
p19 (value0, value1);
}
-void CustomSlot::callback (int value0, QListBoxItem* 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 QString& value0 )
+void CustomSlot::callback( const TQString& value0 )
{
p24 (value0);
}
diff --git a/qtsharp/src/libqtsharp/customslot.h b/qtsharp/src/libqtsharp/customslot.h
index 5182f354..70108dcd 100644
--- a/qtsharp/src/libqtsharp/customslot.h
+++ b/qtsharp/src/libqtsharp/customslot.h
@@ -2,33 +2,33 @@
#define _CUSTOMSLOT_H_
#include <iostream>
-#include <qnamespace.h>
-#include <qobject.h>
-#include <qaction.h>
-#include <qdockwindow.h>
-#include <qlistview.h>
-#include <qiconview.h>
-#include <qpoint.h>
-#include <qlist.h>
-#include <qlistbox.h>
-#include <qnetworkprotocol.h>
-#include <qobject.h>
-#include <qtoolbar.h>
-#include <qwidget.h>
-#include <qcolor.h>
-#include <qdatetime.h>
-#include <qfont.h>
-#include <qrect.h>
-#include <qsize.h>
-#include <qstringlist.h>
-#include <qstring.h>
-#include <qlibrary.h>
-#include <qurlinfo.h>
-#include <qvaluelist.h>
-#include <qvariant.h>
-#include <qevent.h>
-#include <qfiledialog.h>
-#include <qmenudata.h>
+#include <tqnamespace.h>
+#include <tqobject.h>
+#include <tqaction.h>
+#include <tqdockwindow.h>
+#include <tqlistview.h>
+#include <tqiconview.h>
+#include <tqpoint.h>
+#include <tqlist.h>
+#include <tqlistbox.h>
+#include <tqnetworkprotocol.h>
+#include <tqobject.h>
+#include <tqtoolbar.h>
+#include <tqwidget.h>
+#include <tqcolor.h>
+#include <tqdatetime.h>
+#include <tqfont.h>
+#include <tqrect.h>
+#include <tqsize.h>
+#include <tqstringlist.h>
+#include <tqstring.h>
+#include <tqlibrary.h>
+#include <tqurlinfo.h>
+#include <tqvaluelist.h>
+#include <tqvariant.h>
+#include <tqevent.h>
+#include <tqfiledialog.h>
+#include <tqmenudata.h>
class CustomSlot: public QObject
{
@@ -36,31 +36,31 @@ class CustomSlot: public QObject
public:
- CustomSlot (void (*ptr)(void), QObject *parent, const char *name=0);
- CustomSlot (void (*ptr)(bool), QObject *parent, const char *name=0);
- CustomSlot (void (*ptr)(short), QObject *parent, const char *name=0);
- CustomSlot (void (*ptr)(int), QObject *parent, const char *name=0);
- CustomSlot (void (*ptr)(long), QObject *parent, const char *name=0);
- CustomSlot (void (*ptr)(float), QObject *parent, const char *name=0);
- CustomSlot (void (*ptr)(double), QObject *parent, const char *name=0);
- CustomSlot (void (*ptr)(const QString&), QObject *parent, const char *name=0);
- CustomSlot (void (*ptr)(QDockWindow*), QObject *parent, const char *name=0);
- CustomSlot (void (*ptr)(QDropEvent*), QObject *parent, const char *name=0);
- CustomSlot (void (*ptr)(QDropEvent*,QListViewItem*), QObject *parent, const char *name=0);
- CustomSlot (void (*ptr)(QIconViewItem*), QObject *parent, const char *name=0);
- CustomSlot (void (*ptr)(QListBoxItem*), QObject *parent, const char *name=0);
- CustomSlot (void (*ptr)(QListViewItem*), QObject *parent, const char *name=0);
- CustomSlot (void (*ptr)(QListViewItem*,QListViewItem*), QObject *parent, const char *name=0);
- CustomSlot (void (*ptr)(QListViewItem*,QListViewItem*,QListViewItem*), QObject *parent, const char *name=0);
- CustomSlot (void (*ptr)(QNetworkOperation*), QObject *parent, const char *name=0);
- CustomSlot (void (*ptr)(QObject*), QObject *parent, const char *name=0);
- CustomSlot (void (*ptr)(QToolBar*), QObject *parent, const char *name=0);
- CustomSlot (void (*ptr)(QWidget*), QObject *parent, const char *name=0);
- CustomSlot (void (*ptr)(int,QIconViewItem*), QObject *parent, const char *name=0);
- CustomSlot (void (*ptr)(int,QListBoxItem*), QObject *parent, const char *name=0);
- CustomSlot (void (*ptr)(int,bool), QObject *parent, const char *name=0);
- CustomSlot (void (*ptr)(int,int), QObject *parent, const char *name=0);
- CustomSlot (void (*ptr)(int,int,int), QObject *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 QString&);
- void callback (QDockWindow*);
- void callback (QDropEvent*);
- void callback (QDropEvent*,QListViewItem*);
- void callback (QIconViewItem*);
- void callback (QListBoxItem*);
- void callback (QListViewItem*);
- void callback (QListViewItem*,QListViewItem*);
- void callback (QListViewItem*,QListViewItem*,QListViewItem*);
- void callback (QNetworkOperation*);
- void callback (QObject*);
- void callback (QToolBar*);
- void callback (QWidget*);
- void callback (int,QIconViewItem*);
- void callback (int,QListBoxItem*);
+ 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)(QDockWindow*);
- void (*p8)(QDropEvent*);
- void (*p9)(QDropEvent*,QListViewItem*);
- void (*p10)(QIconViewItem*);
- void (*p11)(QListBoxItem*);
- void (*p12)(QListViewItem*);
- void (*p13)(QListViewItem*,QListViewItem*);
- void (*p14)(QListViewItem*,QListViewItem*,QListViewItem*);
- void (*p15)(QNetworkOperation*);
- void (*p16)(QObject*);
- void (*p17)(QToolBar*);
- void (*p18)(QWidget*);
- void (*p19)(int,QIconViewItem*);
- void (*p20)(int,QListBoxItem*);
+ 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 QString&);
+ void (*p24)(const TQString&);
};
#endif // _CUSTOMSLOT_H_
diff --git a/qtsharp/src/libqtsharp/qtsharp.cpp b/qtsharp/src/libqtsharp/qtsharp.cpp
index 903e89c0..80e32b0d 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;
}
-QObject *csharp_connect_void (QObject *sender, const char *signal, QObject *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 (! QObject::connect (sender, signal, cs, SLOT (callback (void)))) {
+ if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (void)))) {
delete cs;
cs = 0L;
}
- return (QObject *)cs;
+ return (TQObject *)cs;
}
-QObject *csharp_connect_item_void (QMenuData *instance, int id, QObject *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, SLOT (callback (void)))) {
+ if (! instance->connectItem (id, cs, TQT_SLOT (callback (void)))) {
delete cs;
cs = 0L;
}
- return (QObject *)cs;
+ return (TQObject *)cs;
}
-QObject *csharp_connect_bool (QObject *sender, const char *signal, QObject *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 (! QObject::connect (sender, signal, cs, SLOT (callback (bool)))) {
+ if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (bool)))) {
delete cs;
cs = 0L;
}
- return (QObject *)cs;
+ return (TQObject *)cs;
}
-QObject *csharp_connect_short (QObject *sender, const char *signal, QObject *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 (! QObject::connect (sender, signal, cs, SLOT (callback (short)))) {
+ if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (short)))) {
delete cs;
cs = 0L;
}
- return (QObject *)cs;
+ return (TQObject *)cs;
}
-QObject *csharp_connect_int (QObject *sender, const char *signal, QObject *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 (! QObject::connect (sender, signal, cs, SLOT (callback (int)))) {
+ if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (int)))) {
delete cs;
cs = 0L;
}
- return (QObject *)cs;
+ return (TQObject *)cs;
}
-QObject *csharp_connect_item_int (QMenuData *instance, int id, QObject *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, SLOT (callback (int)))) {
+ if (! instance->connectItem (id, cs, TQT_SLOT (callback (int)))) {
delete cs;
cs = 0L;
}
- return (QObject *)cs;
+ return (TQObject *)cs;
}
-QObject *csharp_connect_long (QObject *sender, const char *signal, QObject *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 (! QObject::connect (sender, signal, cs, SLOT (callback (long)))) {
+ if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (long)))) {
delete cs;
cs = 0L;
}
- return (QObject *)cs;
+ return (TQObject *)cs;
}
-QObject *csharp_connect_float (QObject *sender, const char *signal, QObject *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 (! QObject::connect (sender, signal, cs, SLOT (callback (float)))) {
+ if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (float)))) {
delete cs;
cs = 0L;
}
- return (QObject *)cs;
+ return (TQObject *)cs;
}
-QObject *csharp_connect_double (QObject *sender, const char *signal, QObject *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 (! QObject::connect (sender, signal, cs, SLOT (callback (double)))) {
+ if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (double)))) {
delete cs;
cs = 0L;
}
- return (QObject *)cs;
+ return (TQObject *)cs;
}
-QObject *csharp_connect_QString (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(const QString&))
+TQObject *csharp_connect_QString (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(const TQString&))
{
CustomSlot *cs = new CustomSlot (ptr, receiver);
- if (! QObject::connect (sender, signal, cs, SLOT (callback (const QString&)))) {
+ if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (const TQString&)))) {
delete cs;
cs = 0L;
}
- return (QObject *)cs;
+ return (TQObject *)cs;
}
-QObject *csharp_connect_QDockWindow (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(QDockWindow*))
+TQObject *csharp_connect_QDockWindow (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQDockWindow*))
{
CustomSlot *cs = new CustomSlot (ptr, receiver);
- if (! QObject::connect (sender, signal, cs, SLOT (callback (QDockWindow*)))) {
+ if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (TQDockWindow*)))) {
delete cs;
cs = 0L;
}
- return (QObject *)cs;
+ return (TQObject *)cs;
}
-QObject *csharp_connect_QDropEvent (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(QDropEvent*))
+TQObject *csharp_connect_QDropEvent (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQDropEvent*))
{
CustomSlot *cs = new CustomSlot (ptr, receiver);
- if (! QObject::connect (sender, signal, cs, SLOT (callback (QDropEvent*)))) {
+ if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (TQDropEvent*)))) {
delete cs;
cs = 0L;
}
- return (QObject *)cs;
+ return (TQObject *)cs;
}
-QObject *csharp_connect_QDropEventQListViewItem (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(QDropEvent*,QListViewItem*))
+TQObject *csharp_connect_QDropEventQListViewItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQDropEvent*,TQListViewItem*))
{
CustomSlot *cs = new CustomSlot (ptr, receiver);
- if (! QObject::connect (sender, signal, cs, SLOT (callback (QDropEvent*,QListViewItem*)))) {
+ if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (TQDropEvent*,TQListViewItem*)))) {
delete cs;
cs = 0L;
}
- return (QObject *)cs;
+ return (TQObject *)cs;
}
-QObject *csharp_connect_QIconViewItem (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(QIconViewItem*))
+TQObject *csharp_connect_QIconViewItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQIconViewItem*))
{
CustomSlot *cs = new CustomSlot (ptr, receiver);
- if (! QObject::connect (sender, signal, cs, SLOT (callback (QIconViewItem*)))) {
+ if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (TQIconViewItem*)))) {
delete cs;
cs = 0L;
}
- return (QObject *)cs;
+ return (TQObject *)cs;
}
-QObject *csharp_connect_QListBoxItem (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(QListBoxItem*))
+TQObject *csharp_connect_QListBoxItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQListBoxItem*))
{
CustomSlot *cs = new CustomSlot (ptr, receiver);
- if (! QObject::connect (sender, signal, cs, SLOT (callback (QListBoxItem*)))) {
+ if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (TQListBoxItem*)))) {
delete cs;
cs = 0L;
}
- return (QObject *)cs;
+ return (TQObject *)cs;
}
-QObject *csharp_connect_QListViewItem (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(QListViewItem*))
+TQObject *csharp_connect_QListViewItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQListViewItem*))
{
CustomSlot *cs = new CustomSlot (ptr, receiver);
- if (! QObject::connect (sender, signal, cs, SLOT (callback (QListViewItem*)))) {
+ if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (TQListViewItem*)))) {
delete cs;
cs = 0L;
}
- return (QObject *)cs;
+ return (TQObject *)cs;
}
-QObject *csharp_connect_QListViewItemQListViewItem (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(QListViewItem*,QListViewItem*))
+TQObject *csharp_connect_QListViewItemQListViewItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQListViewItem*,TQListViewItem*))
{
CustomSlot *cs = new CustomSlot (ptr, receiver);
- if (! QObject::connect (sender, signal, cs, SLOT (callback (QListViewItem*,QListViewItem*)))) {
+ if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (TQListViewItem*,TQListViewItem*)))) {
delete cs;
cs = 0L;
}
- return (QObject *)cs;
+ return (TQObject *)cs;
}
-QObject *csharp_connect_QListViewItemQListViewItemQListViewItem (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(QListViewItem*,QListViewItem*,QListViewItem*))
+TQObject *csharp_connect_QListViewItemQListViewItemQListViewItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQListViewItem*,TQListViewItem*,TQListViewItem*))
{
CustomSlot *cs = new CustomSlot (ptr, receiver);
- if (! QObject::connect (sender, signal, cs, SLOT (callback (QListViewItem*,QListViewItem*,QListViewItem*)))) {
+ if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (TQListViewItem*,TQListViewItem*,TQListViewItem*)))) {
delete cs;
cs = 0L;
}
- return (QObject *)cs;
+ return (TQObject *)cs;
}
-QObject *csharp_connect_QNetworkOperation (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(QNetworkOperation*))
+TQObject *csharp_connect_QNetworkOperation (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQNetworkOperation*))
{
CustomSlot *cs = new CustomSlot (ptr, receiver);
- if (! QObject::connect (sender, signal, cs, SLOT (callback (QNetworkOperation*)))) {
+ if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (TQNetworkOperation*)))) {
delete cs;
cs = 0L;
}
- return (QObject *)cs;
+ return (TQObject *)cs;
}
-QObject *csharp_connect_QObject (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(QObject*))
+TQObject *csharp_connect_QObject (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQObject*))
{
CustomSlot *cs = new CustomSlot (ptr, receiver);
- if (! QObject::connect (sender, signal, cs, SLOT (callback (QObject*)))) {
+ if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (TQObject*)))) {
delete cs;
cs = 0L;
}
- return (QObject *)cs;
+ return (TQObject *)cs;
}
-QObject *csharp_connect_QToolBar (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(QToolBar*))
+TQObject *csharp_connect_QToolBar (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQToolBar*))
{
CustomSlot *cs = new CustomSlot (ptr, receiver);
- if (! QObject::connect (sender, signal, cs, SLOT (callback (QToolBar*)))) {
+ if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (TQToolBar*)))) {
delete cs;
cs = 0L;
}
- return (QObject *)cs;
+ return (TQObject *)cs;
}
-QObject *csharp_connect_QWidget (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(QWidget*))
+TQObject *csharp_connect_QWidget (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQWidget*))
{
CustomSlot *cs = new CustomSlot (ptr, receiver);
- if (! QObject::connect (sender, signal, cs, SLOT (callback (QWidget*)))) {
+ if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (TQWidget*)))) {
delete cs;
cs = 0L;
}
- return (QObject *)cs;
+ return (TQObject *)cs;
}
-QObject *csharp_connect_intQIconViewItem (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(int,QIconViewItem*))
+TQObject *csharp_connect_intQIconViewItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(int,TQIconViewItem*))
{
CustomSlot *cs = new CustomSlot (ptr, receiver);
- if (! QObject::connect (sender, signal, cs, SLOT (callback (int,QIconViewItem*)))) {
+ if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (int,TQIconViewItem*)))) {
delete cs;
cs = 0L;
}
- return (QObject *)cs;
+ return (TQObject *)cs;
}
-QObject *csharp_connect_intQListBoxItem (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(int,QListBoxItem*))
+TQObject *csharp_connect_intQListBoxItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(int,TQListBoxItem*))
{
CustomSlot *cs = new CustomSlot (ptr, receiver);
- if (! QObject::connect (sender, signal, cs, SLOT (callback (int,QListBoxItem*)))) {
+ if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (int,TQListBoxItem*)))) {
delete cs;
cs = 0L;
}
- return (QObject *)cs;
+ return (TQObject *)cs;
}
-QObject *csharp_connect_intbool (QObject *sender, const char *signal, QObject *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 (! QObject::connect (sender, signal, cs, SLOT (callback (int,bool)))) {
+ if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (int,bool)))) {
delete cs;
cs = 0L;
}
- return (QObject *)cs;
+ return (TQObject *)cs;
}
-QObject *csharp_connect_intint (QObject *sender, const char *signal, QObject *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 (! QObject::connect (sender, signal, cs, SLOT (callback (int,int)))) {
+ if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (int,int)))) {
delete cs;
cs = 0L;
}
- return (QObject *)cs;
+ return (TQObject *)cs;
}
-QObject *csharp_connect_intintint (QObject *sender, const char *signal, QObject *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 (! QObject::connect (sender, signal, cs, SLOT (callback (int,int,int)))) {
+ if (! TQObject::connect (sender, signal, cs, TQT_SLOT (callback (int,int,int)))) {
delete cs;
cs = 0L;
}
- return (QObject *)cs;
+ return (TQObject *)cs;
}
diff --git a/qtsharp/src/libqtsharp/qtsharp.h b/qtsharp/src/libqtsharp/qtsharp.h
index 26321fb1..a1642db3 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);
-QObject *csharp_connect_void (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(void));
-QObject *csharp_connect_item_void (QMenuData *instance, int id, QObject *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));
-QObject *csharp_connect_bool (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(bool));
+TQObject *csharp_connect_bool (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(bool));
-QObject *csharp_connect_short (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(short));
+TQObject *csharp_connect_short (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(short));
-QObject *csharp_connect_int (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(int));
-QObject *csharp_connect_item_int (QMenuData *instance, int id, QObject *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));
-QObject *csharp_connect_long (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(long));
+TQObject *csharp_connect_long (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(long));
-QObject *csharp_connect_float (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(float));
+TQObject *csharp_connect_float (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(float));
-QObject *csharp_connect_double (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(double));
+TQObject *csharp_connect_double (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(double));
-QObject *csharp_connect_QString (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(const QString&));
+TQObject *csharp_connect_QString (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(const TQString&));
-QObject *csharp_connect_QDockWindow (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(QDockWindow*));
+TQObject *csharp_connect_QDockWindow (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQDockWindow*));
-QObject *csharp_connect_QDropEvent (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(QDropEvent*));
+TQObject *csharp_connect_QDropEvent (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQDropEvent*));
-QObject *csharp_connect_QDropEventQListViewItem (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(QDropEvent*,QListViewItem*));
+TQObject *csharp_connect_QDropEventQListViewItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQDropEvent*,TQListViewItem*));
-QObject *csharp_connect_QIconViewItem (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(QIconViewItem*));
+TQObject *csharp_connect_QIconViewItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQIconViewItem*));
-QObject *csharp_connect_QListBoxItem (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(QListBoxItem*));
+TQObject *csharp_connect_QListBoxItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQListBoxItem*));
-QObject *csharp_connect_QListViewItem (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(QListViewItem*));
+TQObject *csharp_connect_QListViewItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQListViewItem*));
-QObject *csharp_connect_QListViewItemQListViewItem (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(QListViewItem*,QListViewItem*));
+TQObject *csharp_connect_QListViewItemQListViewItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQListViewItem*,TQListViewItem*));
-QObject *csharp_connect_QListViewItemQListViewItemQListViewItem (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(QListViewItem*,QListViewItem*,QListViewItem*));
+TQObject *csharp_connect_QListViewItemQListViewItemQListViewItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQListViewItem*,TQListViewItem*,TQListViewItem*));
-QObject *csharp_connect_QNetworkOperation (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(QNetworkOperation*));
+TQObject *csharp_connect_QNetworkOperation (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQNetworkOperation*));
-QObject *csharp_connect_QObject (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(QObject*));
+TQObject *csharp_connect_QObject (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQObject*));
-QObject *csharp_connect_QToolBar (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(QToolBar*));
+TQObject *csharp_connect_QToolBar (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQToolBar*));
-QObject *csharp_connect_QWidget (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(QWidget*));
+TQObject *csharp_connect_QWidget (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(TQWidget*));
-QObject *csharp_connect_intQIconViewItem (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(int,QIconViewItem*));
+TQObject *csharp_connect_intQIconViewItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(int,TQIconViewItem*));
-QObject *csharp_connect_intQListBoxItem (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(int,QListBoxItem*));
+TQObject *csharp_connect_intQListBoxItem (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(int,TQListBoxItem*));
-QObject *csharp_connect_intbool (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(int,bool));
+TQObject *csharp_connect_intbool (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(int,bool));
-QObject *csharp_connect_intint (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(int,int));
+TQObject *csharp_connect_intint (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(int,int));
-QObject *csharp_connect_intintint (QObject *sender, const char *signal, QObject *receiver, void (*ptr)(int,int,int));
+TQObject *csharp_connect_intintint (TQObject *sender, const char *signal, TQObject *receiver, void (*ptr)(int,int,int));
} // extern "C"