By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release. View | Details | Raw Unified | Return to bug 1048
Collapse All | Expand All

(-)python-tqt/doc/PyQt.html (-11 / +11 lines)
Lines 3813-3819 Link Here
3813
></A
3813
></A
3814
><CODE
3814
><CODE
3815
CLASS="FUNCDEF"
3815
CLASS="FUNCDEF"
3816
>Q_LONG readBlock</CODE
3816
>TQ_LONG readBlock</CODE
3817
>(char *data, Q_ULONG len);<P
3817
>(char *data, Q_ULONG len);<P
3818
></P
3818
></P
3819
></DIV
3819
></DIV
Lines 3839-3845 Link Here
3839
></A
3839
></A
3840
><CODE
3840
><CODE
3841
CLASS="FUNCDEF"
3841
CLASS="FUNCDEF"
3842
>Q_LONG readLine</CODE
3842
>TQ_LONG readLine</CODE
3843
>(char *data, Q_ULONG maxlen);<P
3843
>(char *data, Q_ULONG maxlen);<P
3844
></P
3844
></P
3845
></DIV
3845
></DIV
Lines 3895-3901 Link Here
3895
></A
3895
></A
3896
><CODE
3896
><CODE
3897
CLASS="FUNCDEF"
3897
CLASS="FUNCDEF"
3898
>Q_LONG writeBlock</CODE
3898
>TQ_LONG writeBlock</CODE
3899
>(const char *data, Q_ULONG len);<P
3899
>(const char *data, Q_ULONG len);<P
3900
></P
3900
></P
3901
></DIV
3901
></DIV
Lines 5416-5422 Link Here
5416
></A
5416
></A
5417
><CODE
5417
><CODE
5418
CLASS="FUNCDEF"
5418
CLASS="FUNCDEF"
5419
>Q_LONG toLong</CODE
5419
>TQ_LONG toLong</CODE
5420
>(bool *ok = 0);<P
5420
>(bool *ok = 0);<P
5421
></P
5421
></P
5422
></DIV
5422
></DIV
Lines 11069-11075 Link Here
11069
></A
11069
></A
11070
><CODE
11070
><CODE
11071
CLASS="FUNCDEF"
11071
CLASS="FUNCDEF"
11072
>Q_LONG readBlock</CODE
11072
>TQ_LONG readBlock</CODE
11073
>(char *data, Q_ULONG maxlen);<P
11073
>(char *data, Q_ULONG maxlen);<P
11074
></P
11074
></P
11075
></DIV
11075
></DIV
Lines 11173-11179 Link Here
11173
></A
11173
></A
11174
><CODE
11174
><CODE
11175
CLASS="FUNCDEF"
11175
CLASS="FUNCDEF"
11176
>Q_LONG readBlock</CODE
11176
>TQ_LONG readBlock</CODE
11177
>(char *data, Q_ULONG maxlen);<P
11177
>(char *data, Q_ULONG maxlen);<P
11178
></P
11178
></P
11179
></DIV
11179
></DIV
Lines 11278-11284 Link Here
11278
></A
11278
></A
11279
><CODE
11279
><CODE
11280
CLASS="FUNCDEF"
11280
CLASS="FUNCDEF"
11281
>Q_LONG readBlock</CODE
11281
>TQ_LONG readBlock</CODE
11282
>(char *data, Q_ULONG len);<P
11282
>(char *data, Q_ULONG len);<P
11283
></P
11283
></P
11284
></DIV
11284
></DIV
Lines 11304-11310 Link Here
11304
></A
11304
></A
11305
><CODE
11305
><CODE
11306
CLASS="FUNCDEF"
11306
CLASS="FUNCDEF"
11307
>Q_LONG readLine</CODE
11307
>TQ_LONG readLine</CODE
11308
>(char *data, Q_ULONG maxlen);<P
11308
>(char *data, Q_ULONG maxlen);<P
11309
></P
11309
></P
11310
></DIV
11310
></DIV
Lines 11330-11336 Link Here
11330
></A
11330
></A
11331
><CODE
11331
><CODE
11332
CLASS="FUNCDEF"
11332
CLASS="FUNCDEF"
11333
>Q_LONG writeBlock</CODE
11333
>TQ_LONG writeBlock</CODE
11334
>(const char *data, Q_ULONG len);<P
11334
>(const char *data, Q_ULONG len);<P
11335
></P
11335
></P
11336
></DIV
11336
></DIV
Lines 11361-11367 Link Here
11361
></A
11361
></A
11362
><CODE
11362
><CODE
11363
CLASS="FUNCDEF"
11363
CLASS="FUNCDEF"
11364
>Q_LONG readBlock</CODE
11364
>TQ_LONG readBlock</CODE
11365
>(char *data, Q_ULONG len);<P
11365
>(char *data, Q_ULONG len);<P
11366
></P
11366
></P
11367
></DIV
11367
></DIV
Lines 11387-11393 Link Here
11387
></A
11387
></A
11388
><CODE
11388
><CODE
11389
CLASS="FUNCDEF"
11389
CLASS="FUNCDEF"
11390
>Q_LONG writeBlock</CODE
11390
>TQ_LONG writeBlock</CODE
11391
>(const char *data, Q_ULONG len);<P
11391
>(const char *data, Q_ULONG len);<P
11392
></P
11392
></P
11393
></DIV
11393
></DIV
(-)python-tqt/doc/PyQt.sgml (-12 / +12 lines)
Lines 1995-2001 Link Here
1995
</Para>
1995
</Para>
1996
1996
1997
<FuncSynopsis>
1997
<FuncSynopsis>
1998
        <FuncDef>Q_LONG <Function>readBlock</Function></FuncDef>
1998
        <FuncDef>TQ_LONG <Function>readBlock</Function></FuncDef>
1999
        <ParamDef>char *<Parameter>data</Parameter></ParamDef>
1999
        <ParamDef>char *<Parameter>data</Parameter></ParamDef>
2000
        <ParamDef>Q_ULONG <Parameter>len</Parameter></ParamDef>
2000
        <ParamDef>Q_ULONG <Parameter>len</Parameter></ParamDef>
2001
</FuncSynopsis>
2001
</FuncSynopsis>
Lines 2006-2012 Link Here
2006
</Para>
2006
</Para>
2007
2007
2008
<FuncSynopsis>
2008
<FuncSynopsis>
2009
        <FuncDef>Q_LONG <Function>readLine</Function></FuncDef>
2009
        <FuncDef>TQ_LONG <Function>readLine</Function></FuncDef>
2010
        <ParamDef>char *<Parameter>data</Parameter></ParamDef>
2010
        <ParamDef>char *<Parameter>data</Parameter></ParamDef>
2011
        <ParamDef>Q_ULONG <Parameter>maxlen</Parameter></ParamDef>
2011
        <ParamDef>Q_ULONG <Parameter>maxlen</Parameter></ParamDef>
2012
</FuncSynopsis>
2012
</FuncSynopsis>
Lines 2033-2039 Link Here
2033
</Para>
2033
</Para>
2034
2034
2035
<FuncSynopsis>
2035
<FuncSynopsis>
2036
        <FuncDef>Q_LONG <Function>writeBlock</Function></FuncDef>
2036
        <FuncDef>TQ_LONG <Function>writeBlock</Function></FuncDef>
2037
        <ParamDef>const char *<Parameter>data</Parameter></ParamDef>
2037
        <ParamDef>const char *<Parameter>data</Parameter></ParamDef>
2038
        <ParamDef>Q_ULONG <Parameter>len</Parameter></ParamDef>
2038
        <ParamDef>Q_ULONG <Parameter>len</Parameter></ParamDef>
2039
</FuncSynopsis>
2039
</FuncSynopsis>
Lines 2699-2705 Link Here
2699
</Para>
2699
</Para>
2700
2700
2701
<FuncSynopsis>
2701
<FuncSynopsis>
2702
	<FuncDef>Q_LONG <Function>toLong</Function></FuncDef>
2702
	<FuncDef>TQ_LONG <Function>toLong</Function></FuncDef>
2703
	<ParamDef>bool *<Parameter>ok</Parameter> = 0</ParamDef>
2703
	<ParamDef>bool *<Parameter>ok</Parameter> = 0</ParamDef>
2704
</FuncSynopsis>
2704
</FuncSynopsis>
2705
<Para>
2705
<Para>
Lines 2708-2714 Link Here
2708
</Para>
2708
</Para>
2709
2709
2710
<FuncSynopsis>
2710
<FuncSynopsis>
2711
	<FuncDef>Q_ULONG <Function>toULong</Function></FuncDef>
2711
	<FuncDef>TQ_ULONG <Function>toULong</Function></FuncDef>
2712
	<ParamDef>bool *<Parameter>ok</Parameter> = 0</ParamDef>
2712
	<ParamDef>bool *<Parameter>ok</Parameter> = 0</ParamDef>
2713
</FuncSynopsis>
2713
</FuncSynopsis>
2714
<Para>
2714
<Para>
Lines 5084-5090 Link Here
5084
</Sect2>
5084
</Sect2>
5085
<Sect2><Title>TQFtp (TQt v2.2+)</Title>
5085
<Sect2><Title>TQFtp (TQt v2.2+)</Title>
5086
<FuncSynopsis>
5086
<FuncSynopsis>
5087
        <FuncDef>Q_LONG <Function>readBlock</Function></FuncDef>
5087
        <FuncDef>TQ_LONG <Function>readBlock</Function></FuncDef>
5088
        <ParamDef>char *<Parameter>data</Parameter></ParamDef>
5088
        <ParamDef>char *<Parameter>data</Parameter></ParamDef>
5089
        <ParamDef>Q_ULONG <Parameter>maxlen</Parameter></ParamDef>
5089
        <ParamDef>Q_ULONG <Parameter>maxlen</Parameter></ParamDef>
5090
</FuncSynopsis>
5090
</FuncSynopsis>
Lines 5129-5135 Link Here
5129
</Sect2>
5129
</Sect2>
5130
<Sect2><Title>TQHttp (TQt v3+)</Title>
5130
<Sect2><Title>TQHttp (TQt v3+)</Title>
5131
<FuncSynopsis>
5131
<FuncSynopsis>
5132
        <FuncDef>Q_LONG <Function>readBlock</Function></FuncDef>
5132
        <FuncDef>TQ_LONG <Function>readBlock</Function></FuncDef>
5133
        <ParamDef>char *<Parameter>data</Parameter></ParamDef>
5133
        <ParamDef>char *<Parameter>data</Parameter></ParamDef>
5134
        <ParamDef>Q_ULONG <Parameter>maxlen</Parameter></ParamDef>
5134
        <ParamDef>Q_ULONG <Parameter>maxlen</Parameter></ParamDef>
5135
</FuncSynopsis>
5135
</FuncSynopsis>
Lines 5169-5175 Link Here
5169
</Sect2>
5169
</Sect2>
5170
<Sect2><Title>TQSocket (TQt v2.2+)</Title>
5170
<Sect2><Title>TQSocket (TQt v2.2+)</Title>
5171
<FuncSynopsis>
5171
<FuncSynopsis>
5172
	<FuncDef>Q_LONG <Function>readBlock</Function></FuncDef>
5172
	<FuncDef>TQ_LONG <Function>readBlock</Function></FuncDef>
5173
	<ParamDef>char *<Parameter>data</Parameter></ParamDef>
5173
	<ParamDef>char *<Parameter>data</Parameter></ParamDef>
5174
	<ParamDef>Q_ULONG <Parameter>len</Parameter></ParamDef>
5174
	<ParamDef>Q_ULONG <Parameter>len</Parameter></ParamDef>
5175
</FuncSynopsis>
5175
</FuncSynopsis>
Lines 5180-5186 Link Here
5180
</Para>
5180
</Para>
5181
 
5181
 
5182
<FuncSynopsis>
5182
<FuncSynopsis>
5183
	<FuncDef>Q_LONG <Function>readLine</Function></FuncDef>
5183
	<FuncDef>TQ_LONG <Function>readLine</Function></FuncDef>
5184
	<ParamDef>char *<Parameter>data</Parameter></ParamDef>
5184
	<ParamDef>char *<Parameter>data</Parameter></ParamDef>
5185
	<ParamDef>Q_ULONG <Parameter>maxlen</Parameter></ParamDef>
5185
	<ParamDef>Q_ULONG <Parameter>maxlen</Parameter></ParamDef>
5186
</FuncSynopsis>
5186
</FuncSynopsis>
Lines 5191-5197 Link Here
5191
</Para>
5191
</Para>
5192
 
5192
 
5193
<FuncSynopsis>
5193
<FuncSynopsis>
5194
	<FuncDef>Q_LONG <Function>writeBlock</Function></FuncDef>
5194
	<FuncDef>TQ_LONG <Function>writeBlock</Function></FuncDef>
5195
	<ParamDef>const char *<Parameter>data</Parameter></ParamDef>
5195
	<ParamDef>const char *<Parameter>data</Parameter></ParamDef>
5196
	<ParamDef>Q_ULONG <Parameter>len</Parameter></ParamDef>
5196
	<ParamDef>Q_ULONG <Parameter>len</Parameter></ParamDef>
5197
</FuncSynopsis>
5197
</FuncSynopsis>
Lines 5202-5208 Link Here
5202
</Sect2>
5202
</Sect2>
5203
<Sect2><Title>TQSocketDevice (TQt v2.2+)</Title>
5203
<Sect2><Title>TQSocketDevice (TQt v2.2+)</Title>
5204
<FuncSynopsis>
5204
<FuncSynopsis>
5205
        <FuncDef>Q_LONG <Function>readBlock</Function></FuncDef>
5205
        <FuncDef>TQ_LONG <Function>readBlock</Function></FuncDef>
5206
        <ParamDef>char *<Parameter>data</Parameter></ParamDef>
5206
        <ParamDef>char *<Parameter>data</Parameter></ParamDef>
5207
        <ParamDef>Q_ULONG <Parameter>len</Parameter></ParamDef>
5207
        <ParamDef>Q_ULONG <Parameter>len</Parameter></ParamDef>
5208
</FuncSynopsis>
5208
</FuncSynopsis>
Lines 5213-5219 Link Here
5213
</Para>
5213
</Para>
5214
5214
5215
<FuncSynopsis>
5215
<FuncSynopsis>
5216
        <FuncDef>Q_LONG <Function>writeBlock</Function></FuncDef>
5216
        <FuncDef>TQ_LONG <Function>writeBlock</Function></FuncDef>
5217
        <ParamDef>const char *<Parameter>data</Parameter></ParamDef>
5217
        <ParamDef>const char *<Parameter>data</Parameter></ParamDef>
5218
        <ParamDef>Q_ULONG <Parameter>len</Parameter></ParamDef>
5218
        <ParamDef>Q_ULONG <Parameter>len</Parameter></ParamDef>
5219
</FuncSynopsis>
5219
</FuncSynopsis>
(-)python-tqt/sip/qt/qfile.sip (-14 / +14 lines)
Lines 32-40 Link Here
32
</Para>
32
</Para>
33
33
34
<FuncSynopsis>
34
<FuncSynopsis>
35
        <FuncDef>Q_LONG <Function>readBlock</Function></FuncDef>
35
        <FuncDef>TQ_LONG <Function>readBlock</Function></FuncDef>
36
        <ParamDef>char *<Parameter>data</Parameter></ParamDef>
36
        <ParamDef>char *<Parameter>data</Parameter></ParamDef>
37
        <ParamDef>Q_ULONG <Parameter>len</Parameter></ParamDef>
37
        <ParamDef>TQ_ULONG <Parameter>len</Parameter></ParamDef>
38
</FuncSynopsis>
38
</FuncSynopsis>
39
<Para>
39
<Para>
40
This takes a single <Literal>len</Literal> parameter.  The
40
This takes a single <Literal>len</Literal> parameter.  The
Lines 43-51 Link Here
43
</Para>
43
</Para>
44
44
45
<FuncSynopsis>
45
<FuncSynopsis>
46
        <FuncDef>Q_LONG <Function>readLine</Function></FuncDef>
46
        <FuncDef>TQ_LONG <Function>readLine</Function></FuncDef>
47
        <ParamDef>char *<Parameter>data</Parameter></ParamDef>
47
        <ParamDef>char *<Parameter>data</Parameter></ParamDef>
48
        <ParamDef>Q_ULONG <Parameter>maxlen</Parameter></ParamDef>
48
        <ParamDef>TQ_ULONG <Parameter>maxlen</Parameter></ParamDef>
49
</FuncSynopsis>
49
</FuncSynopsis>
50
<Para>
50
<Para>
51
This takes a single <Literal>maxlen</Literal> parameter.  The
51
This takes a single <Literal>maxlen</Literal> parameter.  The
Lines 70-78 Link Here
70
</Para>
70
</Para>
71
71
72
<FuncSynopsis>
72
<FuncSynopsis>
73
        <FuncDef>Q_LONG <Function>writeBlock</Function></FuncDef>
73
        <FuncDef>TQ_LONG <Function>writeBlock</Function></FuncDef>
74
        <ParamDef>const char *<Parameter>data</Parameter></ParamDef>
74
        <ParamDef>const char *<Parameter>data</Parameter></ParamDef>
75
        <ParamDef>Q_ULONG <Parameter>len</Parameter></ParamDef>
75
        <ParamDef>TQ_ULONG <Parameter>len</Parameter></ParamDef>
76
</FuncSynopsis>
76
</FuncSynopsis>
77
<Para>
77
<Para>
78
<Literal>len</Literal> is derived from <Literal>data</Literal> and not passed
78
<Literal>len</Literal> is derived from <Literal>data</Literal> and not passed
Lines 177-183 Link Here
177
	int writeBlock(const char * /Array/,uint /ArraySize/) /ReleaseGIL/;
177
	int writeBlock(const char * /Array/,uint /ArraySize/) /ReleaseGIL/;
178
%End
178
%End
179
%If (TQt_3_0_0 -)
179
%If (TQt_3_0_0 -)
180
	SIP_PYOBJECT readBlock(Q_ULONG) /ReleaseGIL/ [Q_LONG (char *,Q_ULONG)];
180
	SIP_PYOBJECT readBlock(TQ_ULONG) /ReleaseGIL/ [TQ_LONG (char *,TQ_ULONG)];
181
%MethodCode
181
%MethodCode
182
		char *buf;
182
		char *buf;
183
183
Lines 185-191 Link Here
185
			sipIsErr = 1;
185
			sipIsErr = 1;
186
		else
186
		else
187
		{
187
		{
188
			Q_LONG actlen;
188
			TQ_LONG actlen;
189
189
190
			Py_BEGIN_ALLOW_THREADS
190
			Py_BEGIN_ALLOW_THREADS
191
			actlen = sipSelfWasArg ? sipCpp->TQFile::readBlock(buf,a0) : sipCpp->readBlock(buf,a0);
191
			actlen = sipSelfWasArg ? sipCpp->TQFile::readBlock(buf,a0) : sipCpp->readBlock(buf,a0);
Lines 204-217 Link Here
204
%End
204
%End
205
205
206
206
207
	Q_LONG writeBlock(const char * /Array/,
207
	TQ_LONG writeBlock(const char * /Array/,
208
			  Q_ULONG /ArraySize/) /ReleaseGIL/;
208
			  TQ_ULONG /ArraySize/) /ReleaseGIL/;
209
%End
209
%End
210
%If (TQt_2_00 - TQt_3_0_0)
210
%If (TQt_2_00 - TQt_3_0_0)
211
	int writeBlock(const TQByteArray &) /ReleaseGIL/;
211
	int writeBlock(const TQByteArray &) /ReleaseGIL/;
212
%End
212
%End
213
%If (TQt_3_0_0 -)
213
%If (TQt_3_0_0 -)
214
	Q_LONG writeBlock(const TQByteArray &) /ReleaseGIL/;
214
	TQ_LONG writeBlock(const TQByteArray &) /ReleaseGIL/;
215
%End
215
%End
216
216
217
%If (- TQt_3_0_0)
217
%If (- TQt_3_0_0)
Lines 249-255 Link Here
249
%End
249
%End
250
%End
250
%End
251
%If (TQt_3_0_0 -)
251
%If (TQt_3_0_0 -)
252
	SIP_PYOBJECT readLine(Q_ULONG) /ReleaseGIL/ [Q_LONG (char *,Q_ULONG)];
252
	SIP_PYOBJECT readLine(TQ_ULONG) /ReleaseGIL/ [TQ_LONG (char *,TQ_ULONG)];
253
%MethodCode
253
%MethodCode
254
		char *buf;
254
		char *buf;
255
255
Lines 257-263 Link Here
257
			sipIsErr = 1;
257
			sipIsErr = 1;
258
		else
258
		else
259
		{
259
		{
260
			Q_LONG actlen;
260
			TQ_LONG actlen;
261
261
262
			Py_BEGIN_ALLOW_THREADS
262
			Py_BEGIN_ALLOW_THREADS
263
			actlen = sipSelfWasArg ? sipCpp->TQFile::readLine(buf,a0) : sipCpp->readLine(buf,a0);
263
			actlen = sipSelfWasArg ? sipCpp->TQFile::readLine(buf,a0) : sipCpp->readLine(buf,a0);
Lines 287-293 Link Here
287
	int readLine(TQString &,uint) /ReleaseGIL/;
287
	int readLine(TQString &,uint) /ReleaseGIL/;
288
%End
288
%End
289
%If (TQt_3_0_0 -)
289
%If (TQt_3_0_0 -)
290
	Q_LONG readLine(TQString &,Q_ULONG) /ReleaseGIL/;
290
	TQ_LONG readLine(TQString &,TQ_ULONG) /ReleaseGIL/;
291
%End
291
%End
292
292
293
	int getch();
293
	int getch();
(-)python-tqt/sip/qt/qglobal.sip (-4 / +4 lines)
Lines 44-55 Link Here
44
typedef unsigned	Q_UINT32;
44
typedef unsigned	Q_UINT32;
45
45
46
%If (TQt_Q_LONG_IS_long)
46
%If (TQt_Q_LONG_IS_long)
47
typedef long		Q_LONG;
47
typedef long		TQ_LONG;
48
typedef unsigned long	Q_ULONG;
48
typedef unsigned long	TQ_ULONG;
49
%End
49
%End
50
%If (!TQt_Q_LONG_IS_long)
50
%If (!TQt_Q_LONG_IS_long)
51
typedef long long	Q_LONG;
51
typedef long long	TQ_LONG;
52
typedef unsigned long long	Q_ULONG;
52
typedef unsigned long long	TQ_ULONG;
53
%End
53
%End
54
54
55
const char *tqVersion();
55
const char *tqVersion();
(-)python-tqt/sip/qt/qiodevice.sip (-8 / +8 lines)
Lines 85-91 Link Here
85
85
86
public:
86
public:
87
%If (TQt_3_0_0 -)
87
%If (TQt_3_0_0 -)
88
	typedef Q_ULONG Offset;
88
	typedef TQ_ULONG Offset;
89
%End
89
%End
90
90
91
	TQIODevice();
91
	TQIODevice();
Lines 188-194 Link Here
188
%End
188
%End
189
%End
189
%End
190
%If (TQt_3_0_0 -)
190
%If (TQt_3_0_0 -)
191
	virtual SIP_PYOBJECT readBlock(Q_ULONG) = 0 /ReleaseGIL/ [Q_LONG (char *,Q_ULONG)];
191
	virtual SIP_PYOBJECT readBlock(TQ_ULONG) = 0 /ReleaseGIL/ [TQ_LONG (char *,TQ_ULONG)];
192
%MethodCode
192
%MethodCode
193
		char *buf;
193
		char *buf;
194
194
Lines 196-202 Link Here
196
			sipIsErr = 1;
196
			sipIsErr = 1;
197
		else
197
		else
198
		{
198
		{
199
			Q_LONG actlen;
199
			TQ_LONG actlen;
200
200
201
			Py_BEGIN_ALLOW_THREADS
201
			Py_BEGIN_ALLOW_THREADS
202
			actlen = sipCpp -> readBlock(buf,a0);
202
			actlen = sipCpp -> readBlock(buf,a0);
Lines 253-260 Link Here
253
			       uint /ArraySize/) = 0 /ReleaseGIL/;
253
			       uint /ArraySize/) = 0 /ReleaseGIL/;
254
%End
254
%End
255
%If (TQt_3_0_0 -)
255
%If (TQt_3_0_0 -)
256
	virtual Q_LONG writeBlock(const char * /Array/,
256
	virtual TQ_LONG writeBlock(const char * /Array/,
257
				  Q_ULONG /ArraySize/) = 0 /ReleaseGIL/;
257
				  TQ_ULONG /ArraySize/) = 0 /ReleaseGIL/;
258
%End
258
%End
259
259
260
%If (- TQt_3_0_0)
260
%If (- TQt_3_0_0)
Lines 318-324 Link Here
318
%End
318
%End
319
%End
319
%End
320
%If (TQt_3_0_0 -)
320
%If (TQt_3_0_0 -)
321
	virtual SIP_PYOBJECT readLine(Q_ULONG) /ReleaseGIL/ [Q_LONG (char *,Q_ULONG)];
321
	virtual SIP_PYOBJECT readLine(TQ_ULONG) /ReleaseGIL/ [TQ_LONG (char *,TQ_ULONG)];
322
%MethodCode
322
%MethodCode
323
		char *buf;
323
		char *buf;
324
324
Lines 326-332 Link Here
326
			sipIsErr = 1;
326
			sipIsErr = 1;
327
		else
327
		else
328
		{
328
		{
329
			Q_LONG actlen;
329
			TQ_LONG actlen;
330
330
331
			Py_BEGIN_ALLOW_THREADS
331
			Py_BEGIN_ALLOW_THREADS
332
			actlen = sipSelfWasArg ? sipCpp->TQIODevice::readLine(buf, a0) : sipCpp->readLine(buf, a0);
332
			actlen = sipSelfWasArg ? sipCpp->TQIODevice::readLine(buf, a0) : sipCpp->readLine(buf, a0);
Lines 382-388 Link Here
382
	int writeBlock(const TQByteArray &) /ReleaseGIL/;
382
	int writeBlock(const TQByteArray &) /ReleaseGIL/;
383
%End
383
%End
384
%If (TQt_3_0_0 -)
384
%If (TQt_3_0_0 -)
385
	Q_LONG writeBlock(const TQByteArray &) /ReleaseGIL/;
385
	TQ_LONG writeBlock(const TQByteArray &) /ReleaseGIL/;
386
%End
386
%End
387
387
388
%If (TQt_2_00 - TQt_3_0_0)
388
%If (TQt_2_00 - TQt_3_0_0)
(-)python-tqt/sip/qt/qlocale.sip (-10 / +10 lines)
Lines 59-65 Link Here
59
</Para>
59
</Para>
60
60
61
<FuncSynopsis>
61
<FuncSynopsis>
62
	<FuncDef>Q_LONG <Function>toLong</Function></FuncDef>
62
	<FuncDef>TQ_LONG <Function>toLong</Function></FuncDef>
63
	<ParamDef>bool *<Parameter>ok</Parameter> = 0</ParamDef>
63
	<ParamDef>bool *<Parameter>ok</Parameter> = 0</ParamDef>
64
</FuncSynopsis>
64
</FuncSynopsis>
65
<Para>
65
<Para>
Lines 68-74 Link Here
68
</Para>
68
</Para>
69
69
70
<FuncSynopsis>
70
<FuncSynopsis>
71
	<FuncDef>Q_ULONG <Function>toULong</Function></FuncDef>
71
	<FuncDef>TQ_ULONG <Function>toULong</Function></FuncDef>
72
	<ParamDef>bool *<Parameter>ok</Parameter> = 0</ParamDef>
72
	<ParamDef>bool *<Parameter>ok</Parameter> = 0</ParamDef>
73
</FuncSynopsis>
73
</FuncSynopsis>
74
<Para>
74
<Para>
Lines 508-517 Link Here
508
	ushort toUShort(const TQString &,bool * = 0) const;
508
	ushort toUShort(const TQString &,bool * = 0) const;
509
	int toInt(const TQString &,bool * = 0) const;
509
	int toInt(const TQString &,bool * = 0) const;
510
	uint toUInt(const TQString &,bool * = 0) const;
510
	uint toUInt(const TQString &,bool * = 0) const;
511
	Q_LONG toLong(const TQString &,bool * = 0) const;
511
	TQ_LONG toLong(const TQString &,bool * = 0) const;
512
	Q_ULONG toULong(const TQString &,bool * = 0) const;
512
	TQ_ULONG toULong(const TQString &,bool * = 0) const;
513
	//Q_LLONG toLongLong(const TQString &,bool * = 0) const;
513
	//TQ_LLONG toLongLong(const TQString &,bool * = 0) const;
514
	//Q_ULLONG toULongLong(const TQString &,bool * = 0) const;
514
	//TQ_ULLONG toULongLong(const TQString &,bool * = 0) const;
515
	float toFloat(const TQString &,bool * = 0) const;
515
	float toFloat(const TQString &,bool * = 0) const;
516
	double toDouble(const TQString &,bool * = 0) const;
516
	double toDouble(const TQString &,bool * = 0) const;
517
517
Lines 519-528 Link Here
519
	//TQString toString(ushort) const;
519
	//TQString toString(ushort) const;
520
	TQString toString(int /Constrained/) const;
520
	TQString toString(int /Constrained/) const;
521
	//TQString toString(uint) const;
521
	//TQString toString(uint) const;
522
	//TQString toString(Q_LONG) const;
522
	//TQString toString(TQ_LONG) const;
523
	//TQString toString(Q_ULONG) const;
523
	//TQString toString(TQ_ULONG) const;
524
	//TQString toString(Q_LLONG) const;
524
	//TQString toString(TQ_LLONG) const;
525
	//TQString toString(Q_ULLONG) const;
525
	//TQString toString(TQ_ULLONG) const;
526
	//TQString toString(float,char = 'g',int = 6) const;
526
	//TQString toString(float,char = 'g',int = 6) const;
527
	TQString toString(double,char = 'g',int = 6) const;
527
	TQString toString(double,char = 'g',int = 6) const;
528
528
(-)python-tqt/sip/qt/versions.sip (-1 / +1 lines)
Lines 83-89 Link Here
83
%Feature	TQt_WIZARD
83
%Feature	TQt_WIZARD
84
%Feature	TQt_WORKSPACE
84
%Feature	TQt_WORKSPACE
85
85
86
// On Windows64 Q_LONG is defined as __int64 (which SIP doesn't handle) so
86
// On Windows64 TQ_LONG is defined as __int64 (which SIP doesn't handle) so
87
// this feature is disabled.
87
// this feature is disabled.
88
%Feature	TQt_Q_LONG_IS_long
88
%Feature	TQt_Q_LONG_IS_long
89
89
(-)python-tqt/sip/qtnetwork/qftp.sip (-4 / +4 lines)
Lines 23-31 Link Here
23
%ExportedDoc
23
%ExportedDoc
24
<Sect2><Title>TQFtp (TQt v2.2+)</Title>
24
<Sect2><Title>TQFtp (TQt v2.2+)</Title>
25
<FuncSynopsis>
25
<FuncSynopsis>
26
        <FuncDef>Q_LONG <Function>readBlock</Function></FuncDef>
26
        <FuncDef>TQ_LONG <Function>readBlock</Function></FuncDef>
27
        <ParamDef>char *<Parameter>data</Parameter></ParamDef>
27
        <ParamDef>char *<Parameter>data</Parameter></ParamDef>
28
        <ParamDef>Q_ULONG <Parameter>maxlen</Parameter></ParamDef>
28
        <ParamDef>TQ_ULONG <Parameter>maxlen</Parameter></ParamDef>
29
</FuncSynopsis>
29
</FuncSynopsis>
30
<Para>
30
<Para>
31
This takes a single <Literal>maxlen</Literal> parameter.  The
31
This takes a single <Literal>maxlen</Literal> parameter.  The
Lines 111-117 Link Here
111
111
112
	unsigned long bytesAvailable() const;
112
	unsigned long bytesAvailable() const;
113
113
114
	SIP_PYOBJECT readBlock(Q_ULONG) /ReleaseGIL/ [Q_LONG (char *,Q_ULONG)];
114
	SIP_PYOBJECT readBlock(TQ_ULONG) /ReleaseGIL/ [TQ_LONG (char *,TQ_ULONG)];
115
%MethodCode
115
%MethodCode
116
		char *buf;
116
		char *buf;
117
117
Lines 119-125 Link Here
119
			sipIsErr = 1;
119
			sipIsErr = 1;
120
		else
120
		else
121
		{
121
		{
122
			Q_LONG actlen;
122
			TQ_LONG actlen;
123
123
124
			Py_BEGIN_ALLOW_THREADS
124
			Py_BEGIN_ALLOW_THREADS
125
			actlen = sipCpp -> TQFtp::readBlock(buf,a0);
125
			actlen = sipCpp -> TQFtp::readBlock(buf,a0);
(-)python-tqt/sip/qtnetwork/qhttp.sip (-4 / +4 lines)
Lines 24-32 Link Here
24
%ExportedDoc
24
%ExportedDoc
25
<Sect2><Title>TQHttp (TQt v3+)</Title>
25
<Sect2><Title>TQHttp (TQt v3+)</Title>
26
<FuncSynopsis>
26
<FuncSynopsis>
27
        <FuncDef>Q_LONG <Function>readBlock</Function></FuncDef>
27
        <FuncDef>TQ_LONG <Function>readBlock</Function></FuncDef>
28
        <ParamDef>char *<Parameter>data</Parameter></ParamDef>
28
        <ParamDef>char *<Parameter>data</Parameter></ParamDef>
29
        <ParamDef>Q_ULONG <Parameter>maxlen</Parameter></ParamDef>
29
        <ParamDef>TQ_ULONG <Parameter>maxlen</Parameter></ParamDef>
30
</FuncSynopsis>
30
</FuncSynopsis>
31
<Para>
31
<Para>
32
This takes a single <Literal>maxlen</Literal> parameter.  The
32
This takes a single <Literal>maxlen</Literal> parameter.  The
Lines 207-213 Link Here
207
207
208
	unsigned long bytesAvailable() const;
208
	unsigned long bytesAvailable() const;
209
209
210
	SIP_PYOBJECT readBlock(Q_ULONG) /ReleaseGIL/ [Q_LONG (char *,Q_ULONG)];
210
	SIP_PYOBJECT readBlock(TQ_ULONG) /ReleaseGIL/ [TQ_LONG (char *,TQ_ULONG)];
211
%MethodCode
211
%MethodCode
212
		char *buf;
212
		char *buf;
213
213
Lines 215-221 Link Here
215
			sipIsErr = 1;
215
			sipIsErr = 1;
216
		else
216
		else
217
		{
217
		{
218
			Q_LONG actlen;
218
			TQ_LONG actlen;
219
219
220
			Py_BEGIN_ALLOW_THREADS
220
			Py_BEGIN_ALLOW_THREADS
221
			actlen = sipCpp -> TQHttp::readBlock(buf,a0);
221
			actlen = sipCpp -> TQHttp::readBlock(buf,a0);
(-)python-tqt/sip/qtnetwork/qsocket.sip (-18 / +18 lines)
Lines 23-31 Link Here
23
%ExportedDoc
23
%ExportedDoc
24
<Sect2><Title>TQSocket (TQt v2.2+)</Title>
24
<Sect2><Title>TQSocket (TQt v2.2+)</Title>
25
<FuncSynopsis>
25
<FuncSynopsis>
26
	<FuncDef>Q_LONG <Function>readBlock</Function></FuncDef>
26
	<FuncDef>TQ_LONG <Function>readBlock</Function></FuncDef>
27
	<ParamDef>char *<Parameter>data</Parameter></ParamDef>
27
	<ParamDef>char *<Parameter>data</Parameter></ParamDef>
28
	<ParamDef>Q_ULONG <Parameter>len</Parameter></ParamDef>
28
	<ParamDef>TQ_ULONG <Parameter>len</Parameter></ParamDef>
29
</FuncSynopsis>
29
</FuncSynopsis>
30
<Para>
30
<Para>
31
This takes a single <Literal>len</Literal> parameter.  The
31
This takes a single <Literal>len</Literal> parameter.  The
Lines 34-42 Link Here
34
</Para>
34
</Para>
35
 
35
 
36
<FuncSynopsis>
36
<FuncSynopsis>
37
	<FuncDef>Q_LONG <Function>readLine</Function></FuncDef>
37
	<FuncDef>TQ_LONG <Function>readLine</Function></FuncDef>
38
	<ParamDef>char *<Parameter>data</Parameter></ParamDef>
38
	<ParamDef>char *<Parameter>data</Parameter></ParamDef>
39
	<ParamDef>Q_ULONG <Parameter>maxlen</Parameter></ParamDef>
39
	<ParamDef>TQ_ULONG <Parameter>maxlen</Parameter></ParamDef>
40
</FuncSynopsis>
40
</FuncSynopsis>
41
<Para>
41
<Para>
42
This takes a single <Literal>maxlen</Literal> parameter.  The
42
This takes a single <Literal>maxlen</Literal> parameter.  The
Lines 45-53 Link Here
45
</Para>
45
</Para>
46
 
46
 
47
<FuncSynopsis>
47
<FuncSynopsis>
48
	<FuncDef>Q_LONG <Function>writeBlock</Function></FuncDef>
48
	<FuncDef>TQ_LONG <Function>writeBlock</Function></FuncDef>
49
	<ParamDef>const char *<Parameter>data</Parameter></ParamDef>
49
	<ParamDef>const char *<Parameter>data</Parameter></ParamDef>
50
	<ParamDef>Q_ULONG <Parameter>len</Parameter></ParamDef>
50
	<ParamDef>TQ_ULONG <Parameter>len</Parameter></ParamDef>
51
</FuncSynopsis>
51
</FuncSynopsis>
52
<Para>
52
<Para>
53
<Literal>len</Literal> is derived from <Literal>data</Literal> and not passed
53
<Literal>len</Literal> is derived from <Literal>data</Literal> and not passed
Lines 156-165 Link Here
156
	bool atEnd() const;
156
	bool atEnd() const;
157
157
158
%If (TQt_3_0_0 -)
158
%If (TQt_3_0_0 -)
159
	Q_ULONG bytesAvailable() const;
159
	TQ_ULONG bytesAvailable() const;
160
	Q_ULONG waitForMore(int) const /ReleaseGIL/;
160
	TQ_ULONG waitForMore(int) const /ReleaseGIL/;
161
	//Q_ULONG waitForMore(int,bool *) const /ReleaseGIL/;
161
	//TQ_ULONG waitForMore(int,bool *) const /ReleaseGIL/;
162
	Q_ULONG bytesToWrite() const;
162
	TQ_ULONG bytesToWrite() const;
163
%End
163
%End
164
%If (- TQt_3_0_0)
164
%If (- TQt_3_0_0)
165
	int bytesAvailable() const;
165
	int bytesAvailable() const;
Lines 240-246 Link Here
240
%End
240
%End
241
%End
241
%End
242
%If (TQt_3_0_0 -)
242
%If (TQt_3_0_0 -)
243
	SIP_PYOBJECT readBlock(Q_ULONG) /ReleaseGIL/ [Q_LONG (char *,Q_ULONG)];
243
	SIP_PYOBJECT readBlock(TQ_ULONG) /ReleaseGIL/ [TQ_LONG (char *,TQ_ULONG)];
244
%MethodCode
244
%MethodCode
245
		char *buf;
245
		char *buf;
246
 
246
 
Lines 248-254 Link Here
248
			sipIsErr = 1;
248
			sipIsErr = 1;
249
		else
249
		else
250
		{
250
		{
251
			Q_LONG actlen;
251
			TQ_LONG actlen;
252
 
252
 
253
			Py_BEGIN_ALLOW_THREADS
253
			Py_BEGIN_ALLOW_THREADS
254
			actlen = sipSelfWasArg ? sipCpp->TQSocket::readBlock(buf, a0) : sipCpp->readBlock(buf, a0);
254
			actlen = sipSelfWasArg ? sipCpp->TQSocket::readBlock(buf, a0) : sipCpp->readBlock(buf, a0);
Lines 273-282 Link Here
273
		}
273
		}
274
%End
274
%End
275
275
276
	Q_LONG writeBlock(const char * /Array/,
276
	TQ_LONG writeBlock(const char * /Array/,
277
			  Q_ULONG /ArraySize/) /ReleaseGIL/;
277
			  TQ_ULONG /ArraySize/) /ReleaseGIL/;
278
278
279
	SIP_PYOBJECT readLine(Q_ULONG) /ReleaseGIL/ [Q_LONG (char *,Q_ULONG)];
279
	SIP_PYOBJECT readLine(TQ_ULONG) /ReleaseGIL/ [TQ_LONG (char *,TQ_ULONG)];
280
%MethodCode
280
%MethodCode
281
		char *buf;
281
		char *buf;
282
 
282
 
Lines 284-290 Link Here
284
			sipIsErr = 1;
284
			sipIsErr = 1;
285
		else
285
		else
286
		{
286
		{
287
			Q_LONG actlen;
287
			TQ_LONG actlen;
288
 
288
 
289
			Py_BEGIN_ALLOW_THREADS
289
			Py_BEGIN_ALLOW_THREADS
290
			actlen = sipCpp -> readLine(buf,a0);
290
			actlen = sipCpp -> readLine(buf,a0);
Lines 323-330 Link Here
323
	TQHostAddress peerAddress() const;
323
	TQHostAddress peerAddress() const;
324
324
325
%If (TQt_3_2_0 -)
325
%If (TQt_3_2_0 -)
326
	void setReadBufferSize(Q_ULONG);
326
	void setReadBufferSize(TQ_ULONG);
327
	Q_ULONG readBufferSize() const;
327
	TQ_ULONG readBufferSize() const;
328
%End
328
%End
329
329
330
signals:
330
signals:
(-)python-tqt/sip/qtnetwork/qsocketdevice.sip (-2 / +2 lines)
Lines 23-29 Link Here
23
%ExportedDoc
23
%ExportedDoc
24
<Sect2><Title>TQSocketDevice (TQt v2.2+)</Title>
24
<Sect2><Title>TQSocketDevice (TQt v2.2+)</Title>
25
<FuncSynopsis>
25
<FuncSynopsis>
26
        <FuncDef>Q_LONG <Function>readBlock</Function></FuncDef>
26
        <FuncDef>TQ_LONG <Function>readBlock</Function></FuncDef>
27
        <ParamDef>char *<Parameter>data</Parameter></ParamDef>
27
        <ParamDef>char *<Parameter>data</Parameter></ParamDef>
28
        <ParamDef>Q_ULONG <Parameter>len</Parameter></ParamDef>
28
        <ParamDef>Q_ULONG <Parameter>len</Parameter></ParamDef>
29
</FuncSynopsis>
29
</FuncSynopsis>
Lines 34-40 Link Here
34
</Para>
34
</Para>
35
35
36
<FuncSynopsis>
36
<FuncSynopsis>
37
        <FuncDef>Q_LONG <Function>writeBlock</Function></FuncDef>
37
        <FuncDef>TQ_LONG <Function>writeBlock</Function></FuncDef>
38
        <ParamDef>const char *<Parameter>data</Parameter></ParamDef>
38
        <ParamDef>const char *<Parameter>data</Parameter></ParamDef>
39
        <ParamDef>Q_ULONG <Parameter>len</Parameter></ParamDef>
39
        <ParamDef>Q_ULONG <Parameter>len</Parameter></ParamDef>
40
</FuncSynopsis>
40
</FuncSynopsis>

Return to bug 1048