Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
SDK
Umbrello
Commits
ec99c2ab
Commit
ec99c2ab
authored
Nov 01, 2020
by
Andreas Sturmlechner
Committed by
Ralf Habacker
Nov 05, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove stray Qt3 code
Signed-off-by:
Andreas Sturmlechner
<
asturm@gentoo.org
>
parent
bc83b264
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
52 deletions
+0
-52
lib/interfaces/kdatastream.h
lib/interfaces/kdatastream.h
+0
-52
No files found.
lib/interfaces/kdatastream.h
View file @
ec99c2ab
...
...
@@ -3,58 +3,6 @@
#include <qdatastream.h>
#ifdef USE_QT3
inline
QDataStream
&
operator
<<
(
QDataStream
&
str
,
bool
b
)
{
str
<<
Q_INT8
(
b
);
return
str
;
}
inline
QDataStream
&
operator
>>
(
QDataStream
&
str
,
bool
&
b
)
{
Q_INT8
l
;
str
>>
l
;
b
=
bool
(
l
);
return
str
;
}
#endif // USE_QT3
#if QT_VERSION < 0x030200 && !defined(Q_WS_WIN) && !defined(Q_WS_MAC)
inline
QDataStream
&
operator
<<
(
QDataStream
&
str
,
long
long
int
ll
)
{
Q_UINT32
l1
,
l2
;
l1
=
ll
&
0xffffffffLL
;
l2
=
ll
>>
32
;
str
<<
l1
<<
l2
;
return
str
;
}
inline
QDataStream
&
operator
>>
(
QDataStream
&
str
,
long
long
int
&
ll
)
{
Q_UINT32
l1
,
l2
;
str
>>
l1
>>
l2
;
ll
=
((
unsigned
long
long
int
)(
l2
)
<<
32
)
+
(
long
long
int
)
l1
;
return
str
;
}
inline
QDataStream
&
operator
<<
(
QDataStream
&
str
,
unsigned
long
long
int
ll
)
{
Q_UINT32
l1
,
l2
;
l1
=
ll
&
0xffffffffLL
;
l2
=
ll
>>
32
;
str
<<
l1
<<
l2
;
return
str
;
}
inline
QDataStream
&
operator
>>
(
QDataStream
&
str
,
unsigned
long
long
int
&
ll
)
{
Q_UINT32
l1
,
l2
;
str
>>
l1
>>
l2
;
ll
=
((
unsigned
long
long
int
)(
l2
)
<<
32
)
+
(
unsigned
long
long
int
)
l1
;
return
str
;
}
#endif
inline
QDataStream
&
operator
>>
(
QDataStream
&
str
,
long
unsigned
int
&
ll
)
{
return
str
>>
((
unsigned
int
&
)
ll
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment