diff options
Diffstat (limited to 'qtsharp/src/libqtsharp/customslot.cpp')
-rw-r--r-- | qtsharp/src/libqtsharp/customslot.cpp | 254 |
1 files changed, 254 insertions, 0 deletions
diff --git a/qtsharp/src/libqtsharp/customslot.cpp b/qtsharp/src/libqtsharp/customslot.cpp new file mode 100644 index 00000000..f23b9cee --- /dev/null +++ b/qtsharp/src/libqtsharp/customslot.cpp @@ -0,0 +1,254 @@ + +#include "customslot.h" + +CustomSlot::CustomSlot (void (*ptr)(void), QObject *parent, const char *name): QObject (parent, name) +{ + p0 = ptr; +} + +CustomSlot::CustomSlot (void (*ptr)(bool), QObject *parent, const char *name): QObject (parent, name) +{ + p1 = ptr; +} + +CustomSlot::CustomSlot (void (*ptr)(short), QObject *parent, const char *name): QObject (parent, name) +{ + p2 = ptr; +} + +CustomSlot::CustomSlot (void (*ptr)(int), QObject *parent, const char *name): QObject (parent, name) +{ + p3 = ptr; +} + +CustomSlot::CustomSlot (void (*ptr)(long), QObject *parent, const char *name): QObject (parent, name) +{ + p4 = ptr; +} + +CustomSlot::CustomSlot (void (*ptr)(float), QObject *parent, const char *name): QObject (parent, name) +{ + p5 = ptr; +} + +CustomSlot::CustomSlot (void (*ptr)(double), QObject *parent, const char *name): QObject (parent, name) +{ + p6 = ptr; +} + +CustomSlot::CustomSlot (void (*ptr)(QDockWindow*), QObject *parent, const char *name): QObject (parent, name) +{ + p7 = ptr; +} + +CustomSlot::CustomSlot (void (*ptr)(QDropEvent*), QObject *parent, const char *name): QObject (parent, name) +{ + p8 = ptr; +} + +CustomSlot::CustomSlot (void (*ptr)(QDropEvent*,QListViewItem*), QObject *parent, const char *name): QObject (parent, name) +{ + p9 = ptr; +} + +CustomSlot::CustomSlot (void (*ptr)(QIconViewItem*), QObject *parent, const char *name): QObject (parent, name) +{ + p10 = ptr; +} + +CustomSlot::CustomSlot (void (*ptr)(QListBoxItem*), QObject *parent, const char *name): QObject (parent, name) +{ + p11 = ptr; +} + +CustomSlot::CustomSlot (void (*ptr)(QListViewItem*), QObject *parent, const char *name): QObject (parent, name) +{ + p12 = ptr; +} + +CustomSlot::CustomSlot (void (*ptr)(QListViewItem*,QListViewItem*), QObject *parent, const char *name): QObject (parent, name) +{ + p13 = ptr; +} + +CustomSlot::CustomSlot (void (*ptr)(QListViewItem*,QListViewItem*,QListViewItem*), QObject *parent, const char *name): QObject (parent, name) +{ + p14 = ptr; +} + +CustomSlot::CustomSlot (void (*ptr)(QNetworkOperation*), QObject *parent, const char *name): QObject (parent, name) +{ + p15 = ptr; +} + +CustomSlot::CustomSlot (void (*ptr)(QObject*), QObject *parent, const char *name): QObject (parent, name) +{ + p16 = ptr; +} + +CustomSlot::CustomSlot (void (*ptr)(QToolBar*), QObject *parent, const char *name): QObject (parent, name) +{ + p17 = ptr; +} + +CustomSlot::CustomSlot (void (*ptr)(QWidget*), QObject *parent, const char *name): QObject (parent, name) +{ + p18 = ptr; +} + +CustomSlot::CustomSlot (void (*ptr)(int,QIconViewItem*), QObject *parent, const char *name): QObject (parent, name) +{ + p19 = ptr; +} + +CustomSlot::CustomSlot (void (*ptr)(int,QListBoxItem*), QObject *parent, const char *name): QObject (parent, name) +{ + p20 = ptr; +} + +CustomSlot::CustomSlot (void (*ptr)(int,bool), QObject *parent, const char *name): QObject (parent, name) +{ + p21 = ptr; +} + +CustomSlot::CustomSlot (void (*ptr)(int,int), QObject *parent, const char *name): QObject (parent, name) +{ + p22 = ptr; +} + +CustomSlot::CustomSlot (void (*ptr)(int,int,int), QObject *parent, const char *name): QObject (parent, name) +{ + p23 = ptr; +} + +CustomSlot::CustomSlot (void (*ptr)(const QString&), QObject *parent, const char *name): QObject (parent, name) +{ + p24 = ptr; +} + +void CustomSlot::callback (void) +{ + p0 (); +} + +void CustomSlot::callback (bool value0) +{ + p1 (value0); +} + +void CustomSlot::callback (short value0) +{ + p2 (value0); +} + +void CustomSlot::callback (int value0) +{ + p3 (value0); +} + +void CustomSlot::callback (long value0) +{ + p4 (value0); +} + +void CustomSlot::callback (float value0) +{ + p5 (value0); +} + +void CustomSlot::callback (double value0) +{ + p6 (value0); +} + +void CustomSlot::callback (QDockWindow* value0) +{ + p7 (value0); +} + +void CustomSlot::callback (QDropEvent* value0) +{ + p8 (value0); +} + +void CustomSlot::callback (QDropEvent* value0, QListViewItem* value1) +{ + p9 (value0, value1); +} + +void CustomSlot::callback (QIconViewItem* value0) +{ + p10 (value0); +} + +void CustomSlot::callback (QListBoxItem* value0) +{ + p11 (value0); +} + +void CustomSlot::callback (QListViewItem* value0) +{ + p12 (value0); +} + +void CustomSlot::callback (QListViewItem* value0, QListViewItem* value1) +{ + p13 (value0, value1); +} + +void CustomSlot::callback (QListViewItem* value0, QListViewItem* value1, QListViewItem* value2) +{ + p14 (value0, value1, value2); +} + +void CustomSlot::callback (QNetworkOperation* value0) +{ + p15 (value0); +} + +void CustomSlot::callback (QObject* value0) +{ + p16 (value0); +} + +void CustomSlot::callback (QToolBar* value0) +{ + p17 (value0); +} + +void CustomSlot::callback (QWidget* value0) +{ + p18 (value0); +} + +void CustomSlot::callback (int value0, QIconViewItem* value1) +{ + p19 (value0, value1); +} + +void CustomSlot::callback (int value0, QListBoxItem* value1) +{ + p20 (value0, value1); +} + +void CustomSlot::callback (int value0, bool value1) +{ + p21 (value0, value1); +} + +void CustomSlot::callback (int value0, int value1) +{ + p22 (value0, value1); +} + +void CustomSlot::callback (int value0, int value1, int value2) +{ + p23 (value0, value1, value2); +} + +void CustomSlot::callback( const QString& value0 ) +{ + p24 (value0); +} + +#include "customslot.moc" |