summaryrefslogtreecommitdiffstats
path: root/qtsharp/src/libqtsharp/customslot.h
blob: 5ea7d65e9f3f28492c4ffe7edab00311824e4860 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
#ifndef _CUSTOMSLOT_H_
#define _CUSTOMSLOT_H_

#include <iostream>
#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 TQObject
{
	Q_OBJECT

public:

	CustomSlot (void (*ptr)(void), TTQObject *parent, const char *name=0);
	CustomSlot (void (*ptr)(bool), TTQObject *parent, const char *name=0);
	CustomSlot (void (*ptr)(short), TTQObject *parent, const char *name=0);
	CustomSlot (void (*ptr)(int), TTQObject *parent, const char *name=0);
	CustomSlot (void (*ptr)(long), TTQObject *parent, const char *name=0);
	CustomSlot (void (*ptr)(float), TTQObject *parent, const char *name=0);
	CustomSlot (void (*ptr)(double), TTQObject *parent, const char *name=0);
	CustomSlot (void (*ptr)(const TTQString&), TTQObject *parent, const char *name=0);	
	CustomSlot (void (*ptr)(TTQDockWindow*), TTQObject *parent, const char *name=0);
	CustomSlot (void (*ptr)(TTQDropEvent*), TTQObject *parent, const char *name=0);
	CustomSlot (void (*ptr)(TTQDropEvent*,TTQListViewItem*), TTQObject *parent, const char *name=0);
	CustomSlot (void (*ptr)(TTQIconViewItem*), TTQObject *parent, const char *name=0);
	CustomSlot (void (*ptr)(TTQListBoxItem*), TTQObject *parent, const char *name=0);
	CustomSlot (void (*ptr)(TTQListViewItem*), TTQObject *parent, const char *name=0);
	CustomSlot (void (*ptr)(TTQListViewItem*,TTQListViewItem*), TTQObject *parent, const char *name=0);
	CustomSlot (void (*ptr)(TTQListViewItem*,TTQListViewItem*,TTQListViewItem*), TTQObject *parent, const char *name=0);
	CustomSlot (void (*ptr)(TTQNetworkOperation*), TTQObject *parent, const char *name=0);
	CustomSlot (void (*ptr)(TTQObject*), TTQObject *parent, const char *name=0);
	CustomSlot (void (*ptr)(TTQToolBar*), TTQObject *parent, const char *name=0);
	CustomSlot (void (*ptr)(TTQWidget*), TTQObject *parent, const char *name=0);
	CustomSlot (void (*ptr)(int,TTQIconViewItem*), TTQObject *parent, const char *name=0);
	CustomSlot (void (*ptr)(int,TTQListBoxItem*), TTQObject *parent, const char *name=0);
	CustomSlot (void (*ptr)(int,bool), TTQObject *parent, const char *name=0);
	CustomSlot (void (*ptr)(int,int), TTQObject *parent, const char *name=0);
	CustomSlot (void (*ptr)(int,int,int), TTQObject *parent, const char *name=0);

public slots:
	void callback (void);
	void callback (bool);
	void callback (short);
	void callback (int);
	void callback (long);
	void callback (float);
	void callback (double);
	void callback (const TTQString&);
	void callback (TTQDockWindow*);
	void callback (TTQDropEvent*);
	void callback (TTQDropEvent*,TTQListViewItem*);
	void callback (TTQIconViewItem*);
	void callback (TTQListBoxItem*);
	void callback (TTQListViewItem*);
	void callback (TTQListViewItem*,TTQListViewItem*);
	void callback (TTQListViewItem*,TTQListViewItem*,TTQListViewItem*);
	void callback (TTQNetworkOperation*);
	void callback (TTQObject*);
	void callback (TTQToolBar*);
	void callback (TTQWidget*);
	void callback (int,TTQIconViewItem*);
	void callback (int,TTQListBoxItem*);
	void callback (int,bool);
	void callback (int,int);
	void callback (int,int,int);

private:
	void (*p0)(void);
	void (*p1)(bool);
	void (*p2)(short);
	void (*p3)(int);
	void (*p4)(long);
	void (*p5)(float);
	void (*p6)(double);
	void (*p7)(TTQDockWindow*);
	void (*p8)(TTQDropEvent*);
	void (*p9)(TTQDropEvent*,TTQListViewItem*);
	void (*p10)(TTQIconViewItem*);
	void (*p11)(TTQListBoxItem*);
	void (*p12)(TTQListViewItem*);
	void (*p13)(TTQListViewItem*,TTQListViewItem*);
	void (*p14)(TTQListViewItem*,TTQListViewItem*,TTQListViewItem*);
	void (*p15)(TTQNetworkOperation*);
	void (*p16)(TTQObject*);
	void (*p17)(TTQToolBar*);
	void (*p18)(TTQWidget*);
	void (*p19)(int,TTQIconViewItem*);
	void (*p20)(int,TTQListBoxItem*);
	void (*p21)(int,bool);
	void (*p22)(int,int);
	void (*p23)(int,int,int);
	void (*p24)(const TTQString&);
};

#endif // _CUSTOMSLOT_H_