public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/8173: Internal error in g++ on compiling Qt-retated code (PerlQt module)
@ 2002-12-02 13:45 bangerth
0 siblings, 0 replies; 3+ messages in thread
From: bangerth @ 2002-12-02 13:45 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, marek.rouchal, nobody
Synopsis: Internal error in g++ on compiling Qt-retated code (PerlQt module)
State-Changed-From-To: feedback->open
State-Changed-By: bangerth
State-Changed-When: Mon Dec 2 13:45:22 2002
State-Changed-Why:
Attachment received
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8173
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: c++/8173: Internal error in g++ on compiling Qt-retated code (PerlQt module)
@ 2002-12-02 7:36 marek.rouchal
0 siblings, 0 replies; 3+ messages in thread
From: marek.rouchal @ 2002-12-02 7:36 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/8173; it has been noted by GNATS.
From: marek.rouchal@infineon.com
To: bangerth@dealii.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org,
nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org
Cc:
Subject: RE: c++/8173: Internal error in g++ on compiling Qt-retated code
(PerlQt module)
Date: Mon, 2 Dec 2002 16:21:42 +0100
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_000_01C29A16.8477B1B0
Content-Type: text/plain;
charset="iso-8859-1"
Dear all,
please accept my apologies for not reading the bug report
guidelines _properly_ - this is the first gcc bug I am
submitting.
So I said:
$ g++ -save-temps -DHAVE_CONFIG_H -I. -I. -I../.. -I./..
-I/opt/TWWfsw/kde302/include -I/opt/TWWfsw/libqt30/include
-I/home/hwadm/Perl/TWW/include -DQT_THREAD_SUPPORT -D_REENTRANT
-D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4 -O2 -fno-exceptions
-fno-check-new -c x_QTSManip.cpp -Wp,-MD,.deps/x_QTSManip.TPlo -fPIC -DPIC
-o .libs/x_QTSManip.o
x_QTSManip.cpp: In function `static void x_QTSManip::x_0(Smoke::StackItem
*)':
x_QTSManip.cpp:10: Internal compiler error in `emit_move_insn', at
expr.c:2594
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
$ ls x*.i*
x_QTSManip.ii
...which you can find attached to this email. This is what I extracted
from gccbug:
host: sparc-sun-solaris2.7
build: sparc-sun-solaris2.7
target: sparc-sun-solaris2.7
configured with: ../configure --enable-nls --with-included-gettext
--enable-shared --enable-libgcj --enable-threads --prefix=/opt/TWWfsw/gcc32
--with-local-prefix=/opt/TWWfsw/gcc32
By the way, I tried with gcc 3.2.1 as well, the error message looks like
this:
$ g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -I/opt/TWWfsw/kde302/include
-I/opt/TWWfsw/libqt30/include -I/home/hwadm/Perl/TWW/include
-DQT_THREAD_SUPPORT -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS
-DSVR4 -O2 -fno-exceptions -fno-check-new -c x_QTSManip.cpp
-Wp,-MD,.deps/x_QTSManip.TPlo -fPIC -DPIC -o .libs/x_QTSManip.o
x_QTSManip.cpp: In function `void xcall_QTSManip(short int, void*,
Smoke::StackItem*)':
x_QTSManip.cpp:13: Internal compiler error in simplify_gen_subreg, at
simplify-rtx.c:2711
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
The corresponding preprocessed file looks somewhat different,
I attached it with the -321 prefix.
Sorry for the delay.
Hope this helps,
Marek
> -----Original Message-----
> From: bangerth@dealii.org [mailto:bangerth@dealii.org]
> Sent: Friday, November 22, 2002 8:26 PM
> To: gcc-bugs@gcc.gnu.org; gcc-prs@gcc.gnu.org; Rouchal Marek
> (CL DAT DFA
> FDM); nobody@gcc.gnu.org
> Subject: Re: c++/8173: Internal error in g++ on compiling Qt-retated
> code (PerlQt module)
>
>
> Synopsis: Internal error in g++ on compiling Qt-retated code
> (PerlQt module)
>
> State-Changed-From-To: open->feedback
> State-Changed-By: bangerth
> State-Changed-When: Fri Nov 22 11:26:01 2002
> State-Changed-Why:
> Please provide us with the _preprocessed_ source files as
> described in the bug reporting notes. I don't have the QT
> headers installed (or maybe I have, or for a different
> version) so I cannot check whether your bug has been fixed
> or not.
>
> Thanks
> Wolfgang
>
> http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&
database=gcc&pr=8173
------_=_NextPart_000_01C29A16.8477B1B0
Content-Type: application/octet-stream;
name="x_QTSManip.ii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="x_QTSManip.ii"
# 1 "x_QTSManip.cpp"=0A=
=0A=
# 1 "../smoke.h" 1=0A=
=0A=
=0A=
=0A=
# 1 "/usr/include/string.h" 1 3 4=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
#pragma ident "@(#)string.h 1.22 97/12/22 SMI" =0A=
=0A=
# 1 "/usr/include/sys/feature_tests.h" 1 3 4=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
#pragma ident "@(#)feature_tests.h 1.17 97/12/04 SMI"=0A=
=0A=
# 1 "/usr/include/sys/isa_defs.h" 1 3 4=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
#pragma ident "@(#)isa_defs.h 1.16 99/05/25 SMI"=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
extern "C" {=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
# 218 "/usr/include/sys/isa_defs.h" 3 4=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
# 316 "/usr/include/sys/isa_defs.h" 3 4=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
}=0A=
=0A=
=0A=
=0A=
# 15 "/usr/include/sys/feature_tests.h" 2 3 4=0A=
=0A=
=0A=
=0A=
extern "C" {=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
}=0A=
=0A=
=0A=
=0A=
# 18 "/usr/include/string.h" 2 3 4=0A=
=0A=
=0A=
=0A=
extern "C" {=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
typedef unsigned int size_t; =0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
extern void *memcpy(void *, const void *, size_t);=0A=
extern void *memmove(void *, const void *, size_t);=0A=
extern char *strcpy(char *, const char *);=0A=
extern char *strncpy(char *, const char *, size_t);=0A=
=0A=
extern char *strcat(char *, const char *);=0A=
extern char *strncat(char *, const char *, size_t);=0A=
=0A=
extern int memcmp(const void *, const void *, size_t);=0A=
extern int strcmp(const char *, const char *);=0A=
extern int strcoll(const char *, const char *);=0A=
extern int strncmp(const char *, const char *, size_t);=0A=
extern size_t strxfrm(char *, const char *, size_t);=0A=
=0A=
extern void *memchr(const void *, int, size_t);=0A=
extern char *strchr(const char *, int);=0A=
extern size_t strcspn(const char *, const char *);=0A=
extern char *strpbrk(const char *, const char *);=0A=
extern char *strrchr(const char *, int);=0A=
extern size_t strspn(const char *, const char *);=0A=
extern char *strstr(const char *, const char *);=0A=
extern char *strtok(char *, const char *);=0A=
=0A=
=0A=
extern char *strtok_r(char *, const char *, char **);=0A=
=0A=
extern void *memset(void *, int, size_t);=0A=
extern char *strerror(int);=0A=
extern size_t strlen(const char *);=0A=
=0A=
=0A=
=0A=
extern void *memccpy(void *, const void *, int, size_t);=0A=
=0A=
=0A=
=0A=
=0A=
extern char *strsignal(int);=0A=
extern int ffs(int);=0A=
extern int strcasecmp(const char *, const char *);=0A=
extern int strncasecmp(const char *, const char *, size_t);=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
extern char *strdup(const char *);=0A=
=0A=
=0A=
# 143 "/usr/include/string.h" 3 4=0A=
=0A=
=0A=
=0A=
}=0A=
=0A=
=0A=
=0A=
# 4 "../smoke.h" 2=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
class SmokeBinding;=0A=
=0A=
class Smoke {=0A=
public:=0A=
union StackItem; =0A=
=0A=
=0A=
=0A=
typedef StackItem* Stack;=0A=
=0A=
enum EnumOperation {=0A=
EnumNew,=0A=
EnumDelete,=0A=
EnumFromLong,=0A=
EnumToLong=0A=
};=0A=
=0A=
typedef short Index;=0A=
typedef void (*ClassFn)(Index method, void* obj, Stack args);=0A=
typedef void* (*CastFn)(void* obj, Index from, Index to);=0A=
typedef void (*EnumFn)(EnumOperation, Index, void*&, long&);=0A=
=0A=
enum ClassFlags {=0A=
cf_constructor =3D 0x01, =0A=
cf_deepcopy =3D 0x02, =0A=
cf_virtual =3D 0x04, =0A=
cf_undefined =3D 0x10 =0A=
};=0A=
=0A=
=0A=
=0A=
struct Class {=0A=
const char *className; =0A=
Index parents; =0A=
ClassFn classFn; =0A=
EnumFn enumFn; =0A=
unsigned short flags; =0A=
};=0A=
=0A=
enum MethodFlags {=0A=
mf_static =3D 0x01,=0A=
mf_const =3D 0x02=0A=
};=0A=
=0A=
=0A=
=0A=
struct Method {=0A=
Index classId; =0A=
Index name; =0A=
Index args; =0A=
unsigned char numArgs; =0A=
unsigned char flags; =0A=
Index ret; =0A=
Index method; =0A=
};=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
struct MethodMap {=0A=
Index classId; =0A=
Index name; =0A=
Index method; =0A=
};=0A=
=0A=
enum TypeFlags {=0A=
=0A=
=0A=
tf_elem =3D 0x0F,=0A=
=0A=
=0A=
tf_stack =3D 0x10, =0A=
tf_ptr =3D 0x20, =0A=
tf_ref =3D 0x30, =0A=
=0A=
tf_const =3D 0x40 =0A=
};=0A=
=0A=
=0A=
=0A=
=0A=
struct Type {=0A=
const char *name; =0A=
Index classId; =0A=
unsigned short flags; =0A=
};=0A=
=0A=
=0A=
=0A=
union StackItem {=0A=
void* s_voidp;=0A=
bool s_bool;=0A=
char s_char;=0A=
unsigned char s_uchar;=0A=
short s_short;=0A=
unsigned short s_ushort;=0A=
int s_int;=0A=
unsigned int s_uint;=0A=
long s_long;=0A=
unsigned long s_ulong;=0A=
float s_float;=0A=
double s_double;=0A=
long s_enum;=0A=
void* s_class;=0A=
};=0A=
enum TypeId {=0A=
t_voidp,=0A=
t_bool,=0A=
t_char,=0A=
t_uchar,=0A=
t_short,=0A=
t_ushort,=0A=
t_int,=0A=
t_uint,=0A=
t_long,=0A=
t_ulong,=0A=
t_float,=0A=
t_double,=0A=
t_enum,=0A=
t_class,=0A=
t_last =0A=
};=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
Class *classes;=0A=
Index numClasses;=0A=
=0A=
=0A=
=0A=
=0A=
Method *methods;=0A=
Index numMethods;=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
MethodMap *methodMaps;=0A=
Index numMethodMaps;=0A=
=0A=
=0A=
=0A=
=0A=
const char **methodNames;=0A=
Index numMethodNames;=0A=
=0A=
=0A=
=0A=
=0A=
Type *types;=0A=
Index numTypes;=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
Index *inheritanceList;=0A=
=0A=
=0A=
=0A=
=0A=
Index *argumentList;=0A=
=0A=
=0A=
=0A=
=0A=
Index *ambiguousMethodList;=0A=
=0A=
=0A=
=0A=
CastFn castFn;=0A=
=0A=
=0A=
SmokeBinding *binding;=0A=
=0A=
=0A=
=0A=
=0A=
Smoke(Class *_classes, Index _numClasses,=0A=
Method *_methods, Index _numMethods,=0A=
MethodMap *_methodMaps, Index _numMethodMaps,=0A=
const char **_methodNames, Index _numMethodNames,=0A=
Type *_types, Index _numTypes,=0A=
Index *_inheritanceList,=0A=
Index *_argumentList,=0A=
Index *_ambiguousMethodList,=0A=
CastFn _castFn) :=0A=
classes(_classes), numClasses(_numClasses),=0A=
methods(_methods), numMethods(_numMethods),=0A=
methodMaps(_methodMaps), numMethodMaps(_numMethodMaps),=0A=
methodNames(_methodNames), numMethodNames(_numMethodNames),=0A=
types(_types), numTypes(_numTypes),=0A=
inheritanceList(_inheritanceList),=0A=
argumentList(_argumentList),=0A=
ambiguousMethodList(_ambiguousMethodList),=0A=
castFn(_castFn),=0A=
=0A=
binding(0)=0A=
{}=0A=
=0A=
inline void *cast(void *ptr, Index from, Index to) {=0A=
if(!castFn) return ptr;=0A=
return (*castFn)(ptr, from, to);=0A=
}=0A=
=0A=
=0A=
inline const char *className(Index classId) {=0A=
return classes[classId].className;=0A=
}=0A=
=0A=
inline int leg(Index a, Index b) { =0A=
if(a =3D=3D b) return 0;=0A=
return (a > b) ? 1 : -1;=0A=
}=0A=
=0A=
inline Index idType(const char *t) {=0A=
if(!t) return 0;=0A=
Index imax =3D numTypes;=0A=
Index imin =3D 0;=0A=
Index icur =3D -1;=0A=
int icmp =3D -1;=0A=
=0A=
while(imax >=3D imin) {=0A=
icur =3D (imin + imax) / 2;=0A=
if(icur > 0)=0A=
icmp =3D strcmp(types[icur].name, t);=0A=
else=0A=
icmp =3D -1;=0A=
if(!icmp) break;=0A=
if(icmp > 0)=0A=
imax =3D icur - 1;=0A=
else=0A=
imin =3D icur + 1;=0A=
}=0A=
=0A=
return (!icmp) ? icur : 0;=0A=
}=0A=
=0A=
inline Index idClass(const char *c) {=0A=
if(!c) return 0;=0A=
Index imax =3D numClasses;=0A=
Index imin =3D 0;=0A=
Index icur =3D -1;=0A=
int icmp =3D -1;=0A=
=0A=
while(imax >=3D imin) {=0A=
icur =3D (imin + imax) / 2;=0A=
if(icur > 0)=0A=
icmp =3D strcmp(classes[icur].className, c);=0A=
else=0A=
icmp =3D -1;=0A=
if(!icmp) break;=0A=
if(icmp > 0)=0A=
imax =3D icur - 1;=0A=
else=0A=
imin =3D icur + 1;=0A=
}=0A=
=0A=
return (!icmp) ? icur : 0;=0A=
}=0A=
=0A=
inline Index idMethodName(const char *m) {=0A=
if(!m) return 0;=0A=
Index imax =3D numMethodNames;=0A=
Index imin =3D 0;=0A=
Index icur =3D -1;=0A=
int icmp =3D -1;=0A=
while(imax >=3D imin) {=0A=
icur =3D (imin + imax) / 2;=0A=
icmp =3D strcmp(methodNames[icur], m);=0A=
if(!icmp) break;=0A=
if(icmp > 0)=0A=
imax =3D icur - 1;=0A=
else=0A=
imin =3D icur + 1;=0A=
}=0A=
=0A=
return (!icmp) ? icur : 0;=0A=
}=0A=
=0A=
inline Index idMethod(Index c, Index name) {=0A=
Index imax =3D numMethodMaps;=0A=
Index imin =3D 0;=0A=
Index icur =3D -1;=0A=
int icmp =3D -1;=0A=
while(imax >=3D imin) {=0A=
icur =3D (imin + imax) / 2;=0A=
icmp =3D leg(methodMaps[icur].classId, c);=0A=
if(!icmp) {=0A=
icmp =3D leg(methodMaps[icur].name, name);=0A=
if(!icmp) break;=0A=
}=0A=
if(icmp > 0)=0A=
imax =3D icur - 1;=0A=
else=0A=
imin =3D icur + 1;=0A=
}=0A=
=0A=
return (!icmp) ? icur : 0;=0A=
}=0A=
=0A=
inline Index findMethod(Index c, Index name) {=0A=
=0A=
if(!c || !name) return 0;=0A=
Index mid =3D idMethod(c, name);=0A=
if(mid) return mid;=0A=
if(!classes[c].parents) return 0;=0A=
for(int p =3D classes[c].parents; inheritanceList[p] ; p++) {=0A=
mid =3D findMethod(inheritanceList[p], name);=0A=
if(mid) return mid;=0A=
}=0A=
return 0;=0A=
}=0A=
=0A=
inline Index findMethod(const char *c, const char *name) {=0A=
Index idc =3D idClass(c);=0A=
Index idname =3D idMethodName(name);=0A=
return findMethod(idc, idname);=0A=
}=0A=
};=0A=
=0A=
class SmokeBinding {=0A=
protected:=0A=
Smoke *smoke;=0A=
public:=0A=
SmokeBinding(Smoke *s) : smoke(s) {}=0A=
virtual void deleted(Smoke::Index classId, void *obj) =3D 0;=0A=
virtual bool callMethod(Smoke::Index method, void *obj, =
Smoke::Stack args, bool isAbstract =3D false) =3D 0;=0A=
virtual char* className(Smoke::Index classId) =3D 0;=0A=
virtual ~SmokeBinding() {}=0A=
};=0A=
=0A=
=0A=
# 2 "x_QTSManip.cpp" 2=0A=
=0A=
# 1 "qt_smoke.h" 1=0A=
=0A=
=0A=
=0A=
=0A=
extern Smoke* qt_Smoke;=0A=
=0A=
=0A=
# 3 "x_QTSManip.cpp" 2=0A=
=0A=
# 1 "/opt/TWWfsw/libqt30/include/qtextstream.h" 1=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
# 1 "/opt/TWWfsw/libqt30/include/qiodevice.h" 1=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
# 1 "/opt/TWWfsw/libqt30/include/qglobal.h" 1=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
# 102 "/opt/TWWfsw/libqt30/include/qglobal.h"=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
# 160 "/opt/TWWfsw/libqt30/include/qglobal.h"=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
# 254 "/opt/TWWfsw/libqt30/include/qglobal.h"=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
# 392 "/opt/TWWfsw/libqt30/include/qglobal.h"=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
# 428 "/opt/TWWfsw/libqt30/include/qglobal.h"=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
typedef unsigned char uchar;=0A=
typedef unsigned short ushort;=0A=
typedef unsigned uint;=0A=
typedef unsigned long ulong;=0A=
typedef char *pchar;=0A=
typedef uchar *puchar;=0A=
typedef const char *pcchar;=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
const bool FALSE =3D 0;=0A=
const bool TRUE =3D !0;=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
inline int qRound( double d )=0A=
{=0A=
return int( d >=3D 0.0 ? d + 0.5 : d - 0.5 );=0A=
}=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
typedef signed char INT8; =0A=
typedef unsigned char UINT8; =0A=
typedef short INT16; =0A=
typedef unsigned short UINT16; =0A=
typedef int INT32; =0A=
typedef unsigned int UINT32; =0A=
=0A=
=0A=
typedef signed char Q_INT8; =0A=
typedef unsigned char Q_UINT8; =0A=
typedef short Q_INT16; =0A=
typedef unsigned short Q_UINT16; =0A=
typedef int Q_INT32; =0A=
typedef unsigned int Q_UINT32; =0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
typedef long Q_LONG;=0A=
typedef unsigned long Q_ULONG;=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
class QDataStream;=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
# 594 "/opt/TWWfsw/libqt30/include/qglobal.h"=0A=
=0A=
# 1 "/opt/TWWfsw/libqt30/include/qconfig.h" 1=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
# 595 "/opt/TWWfsw/libqt30/include/qglobal.h" 2=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
# 1 "/opt/TWWfsw/libqt30/include/qmodules.h" 1=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
# 605 "/opt/TWWfsw/libqt30/include/qglobal.h" 2=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
# 643 "/opt/TWWfsw/libqt30/include/qglobal.h"=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
# 1 "/opt/TWWfsw/libqt30/include/qfeatures.h" 1=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
# 654 "/opt/TWWfsw/libqt30/include/qglobal.h" 2=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
# 684 "/opt/TWWfsw/libqt30/include/qglobal.h"=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
const char *qVersion();=0A=
bool qSysInfo( int *wordSize, bool *bigEndian );=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
# 736 "/opt/TWWfsw/libqt30/include/qglobal.h"=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
void qDebug( const char *, ... ) =0A=
=0A=
__attribute__ ((format (printf, 1, 2)))=0A=
=0A=
;=0A=
=0A=
void qWarning( const char *, ... ) =0A=
=0A=
__attribute__ ((format (printf, 1, 2)))=0A=
=0A=
;=0A=
=0A=
void qFatal( const char *, ... ) =0A=
=0A=
__attribute__ ((format (printf, 1, 2)))=0A=
=0A=
;=0A=
=0A=
void qSystemWarning( const char *, int code =3D -1 );=0A=
=0A=
=0A=
=0A=
=0A=
void debug( const char *, ... ) =0A=
=0A=
__attribute__ ((format (printf, 1, 2)))=0A=
=0A=
;=0A=
=0A=
void warning( const char *, ... ) =0A=
=0A=
__attribute__ ((format (printf, 1, 2)))=0A=
=0A=
;=0A=
=0A=
void fatal( const char *, ... ) =0A=
=0A=
__attribute__ ((format (printf, 1, 2)))=0A=
=0A=
;=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
bool qt_check_pointer( bool c, const char *, int );=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
enum QtMsgType { QtDebugMsg, QtWarningMsg, QtFatalMsg };=0A=
=0A=
typedef void (*QtMsgHandler)(QtMsgType, const char *);=0A=
QtMsgHandler qInstallMsgHandler( QtMsgHandler );=0A=
=0A=
=0A=
=0A=
typedef QtMsgHandler msg_handler;=0A=
=0A=
=0A=
void qSuppressObsoleteWarnings( bool =3D TRUE );=0A=
=0A=
void qObsolete( const char *obj, const char *oldfunc,=0A=
const char *newfunc );=0A=
void qObsolete( const char *obj, const char *oldfunc );=0A=
void qObsolete( const char *message );=0A=
=0A=
=0A=
=0A=
=0A=
# 49 "/opt/TWWfsw/libqt30/include/qiodevice.h" 2=0A=
=0A=
# 1 "/opt/TWWfsw/libqt30/include/qcstring.h" 1=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
# 1 "/opt/TWWfsw/libqt30/include/qmemarray.h" 1=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
# 1 "/opt/TWWfsw/libqt30/include/qgarray.h" 1=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
# 1 "/opt/TWWfsw/libqt30/include/qshared.h" 1=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
struct QShared=0A=
{=0A=
QShared() { count =3D 1; }=0A=
void ref() { count++; }=0A=
bool deref() { return !--count; }=0A=
uint count;=0A=
};=0A=
=0A=
=0A=
=0A=
# 42 "/opt/TWWfsw/libqt30/include/qgarray.h" 2=0A=
=0A=
=0A=
=0A=
=0A=
class QGArray =0A=
{=0A=
friend class QBuffer;=0A=
public:=0A=
=0A=
struct array_data : public QShared { =0A=
array_data() { data=3D0; len=3D0; }=0A=
char *data; =0A=
uint len;=0A=
};=0A=
QGArray();=0A=
protected:=0A=
QGArray( int, int ); =0A=
QGArray( int size ); =0A=
QGArray( const QGArray &a ); =0A=
virtual ~QGArray();=0A=
=0A=
QGArray &operator=3D( const QGArray &a ) { return assign( a ); =
}=0A=
=0A=
virtual void detach() { duplicate(*this); }=0A=
=0A=
char *data() const { return shd->data; }=0A=
uint nrefs() const { return shd->count; }=0A=
uint size() const { return shd->len; }=0A=
bool isEqual( const QGArray &a ) const;=0A=
=0A=
bool resize( uint newsize );=0A=
=0A=
bool fill( const char *d, int len, uint sz );=0A=
=0A=
QGArray &assign( const QGArray &a );=0A=
QGArray &assign( const char *d, uint len );=0A=
QGArray &duplicate( const QGArray &a );=0A=
QGArray &duplicate( const char *d, uint len );=0A=
void store( const char *d, uint len );=0A=
=0A=
array_data *sharedBlock() const { return shd; }=0A=
void setSharedBlock( array_data *p ) { shd=3D(array_data*)p; }=0A=
=0A=
QGArray &setRawData( const char *d, uint len );=0A=
void resetRawData( const char *d, uint len );=0A=
=0A=
int find( const char *d, uint index, uint sz ) const;=0A=
int contains( const char *d, uint sz ) const;=0A=
=0A=
void sort( uint sz );=0A=
int bsearch( const char *d, uint sz ) const;=0A=
=0A=
char *at( uint index ) const;=0A=
=0A=
bool setExpand( uint index, const char *d, uint sz );=0A=
=0A=
protected:=0A=
virtual array_data *newData();=0A=
virtual void deleteData( array_data *p );=0A=
=0A=
private:=0A=
static void msg_index( uint );=0A=
array_data *shd;=0A=
};=0A=
=0A=
=0A=
inline char *QGArray::at( uint index ) const=0A=
{=0A=
=0A=
if ( index >=3D size() ) {=0A=
msg_index( index );=0A=
index =3D 0;=0A=
}=0A=
=0A=
return &shd->data[index];=0A=
}=0A=
=0A=
=0A=
=0A=
# 42 "/opt/TWWfsw/libqt30/include/qmemarray.h" 2=0A=
=0A=
=0A=
=0A=
=0A=
template<class type> =0A=
class QMemArray =0A=
: public QGArray=0A=
{=0A=
public:=0A=
typedef type* Iterator;=0A=
typedef const type* ConstIterator;=0A=
typedef type ValueType;=0A=
=0A=
protected:=0A=
QMemArray( int, int ) : QGArray( 0, 0 ) {}=0A=
=0A=
public:=0A=
QMemArray() {}=0A=
QMemArray( int size ) : QGArray(size*sizeof(type)) {}=0A=
QMemArray( const QMemArray<type> &a ) : QGArray(a) {}=0A=
~QMemArray() {}=0A=
QMemArray<type> &operator=3D(const QMemArray<type> &a)=0A=
{ return (QMemArray<type>&)QGArray::assign(a); }=0A=
type *data() const { return (type *)QGArray::data(); }=0A=
uint nrefs() const { return QGArray::nrefs(); }=0A=
uint size() const { return QGArray::size()/sizeof(type); }=0A=
uint count() const { return size(); }=0A=
bool isEmpty() const { return QGArray::size() =3D=3D 0; }=0A=
bool isNull() const { return QGArray::data() =3D=3D 0; }=0A=
bool resize( uint size ) { return =
QGArray::resize(size*sizeof(type)); }=0A=
bool truncate( uint pos ) { return =
QGArray::resize(pos*sizeof(type)); }=0A=
bool fill( const type &d, int size =3D -1 )=0A=
{ return QGArray::fill((char*)&d,size,sizeof(type) ); }=0A=
void detach() { QGArray::detach(); }=0A=
QMemArray<type> copy() const=0A=
{ QMemArray<type> tmp; return tmp.duplicate(*this); }=0A=
QMemArray<type>& assign( const QMemArray<type>& a )=0A=
{ return (QMemArray<type>&)QGArray::assign(a); }=0A=
QMemArray<type>& assign( const type *a, uint n )=0A=
{ return (QMemArray<type>&)QGArray::assign((char*)a,n*sizeof(type)); =
}=0A=
QMemArray<type>& duplicate( const QMemArray<type>& a )=0A=
{ return (QMemArray<type>&)QGArray::duplicate(a); }=0A=
QMemArray<type>& duplicate( const type *a, uint n )=0A=
{ return =
(QMemArray<type>&)QGArray::duplicate((char*)a,n*sizeof(type)); }=0A=
QMemArray<type>& setRawData( const type *a, uint n )=0A=
{ return (QMemArray<type>&)QGArray::setRawData((char*)a,=0A=
n*sizeof(type)); }=0A=
void resetRawData( const type *a, uint n )=0A=
{ QGArray::resetRawData((char*)a,n*sizeof(type)); }=0A=
int find( const type &d, uint i=3D0 ) const=0A=
{ return QGArray::find((char*)&d,i,sizeof(type)); }=0A=
int contains( const type &d ) const=0A=
{ return QGArray::contains((char*)&d,sizeof(type)); }=0A=
void sort() { QGArray::sort(sizeof(type)); }=0A=
int bsearch( const type &d ) const=0A=
{ return QGArray::bsearch((const char*)&d,sizeof(type)); }=0A=
type& operator[]( int i ) const=0A=
{ return (type &)(*(type *)QGArray::at(i*sizeof(type))); }=0A=
type& at( uint i ) const=0A=
{ return (type &)(*(type *)QGArray::at(i*sizeof(type))); }=0A=
operator const type*() const { return (const type *)QGArray::data(); =
}=0A=
bool operator=3D=3D( const QMemArray<type> &a ) const { return =
isEqual(a); }=0A=
bool operator!=3D( const QMemArray<type> &a ) const { return =
!isEqual(a); }=0A=
Iterator begin() { return data(); }=0A=
Iterator end() { return data() + size(); }=0A=
ConstIterator begin() const { return data(); }=0A=
ConstIterator end() const { return data() + size(); }=0A=
};=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
# 43 "/opt/TWWfsw/libqt30/include/qcstring.h" 2=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
void *qmemmove( void *dst, const void *src, uint len );=0A=
=0A=
char *qstrdup( const char * );=0A=
=0A=
inline uint qstrlen( const char *str )=0A=
{ return str ? (uint)strlen(str) : 0; }=0A=
=0A=
inline char *qstrcpy( char *dst, const char *src )=0A=
{ return src ? strcpy(dst, src) : 0; }=0A=
=0A=
char *qstrncpy( char *dst, const char *src, uint len );=0A=
=0A=
inline int qstrcmp( const char *str1, const char *str2 )=0A=
{=0A=
return ( str1 && str2 ) ? strcmp( str1, str2 )=0A=
: ( str1 ? 1 : ( str2 ? -1 : 0 ) );=0A=
}=0A=
=0A=
inline int qstrncmp( const char *str1, const char *str2, uint len =
)=0A=
{=0A=
return ( str1 && str2 ) ? strncmp( str1, str2, len )=0A=
: ( str1 ? 1 : ( str2 ? -1 : 0 ) );=0A=
}=0A=
=0A=
int qstricmp( const char *, const char * );=0A=
=0A=
int qstrnicmp( const char *, const char *, uint len );=0A=
=0A=
=0A=
inline uint cstrlen( const char *str )=0A=
{ return (uint)strlen(str); }=0A=
=0A=
inline char *cstrcpy( char *dst, const char *src )=0A=
{ return strcpy(dst,src); }=0A=
=0A=
inline int cstrcmp( const char *str1, const char *str2 )=0A=
{ return strcmp(str1,str2); }=0A=
=0A=
inline int cstrncmp( const char *str1, const char *str2, uint len =
)=0A=
{ return strncmp(str1,str2,len); }=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
Q_UINT16 qChecksum( const char *s, uint len );=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
# 119 "/opt/TWWfsw/libqt30/include/qcstring.h"=0A=
=0A=
typedef QMemArray<char> QByteArray;=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
QDataStream &operator<<( QDataStream &, const QByteArray & );=0A=
QDataStream &operator>>( QDataStream &, QByteArray & );=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
class QRegExp;=0A=
=0A=
class QCString : public QByteArray =0A=
{=0A=
public:=0A=
QCString() {} =0A=
QCString( int size ); =0A=
QCString( const QCString &s ) : QByteArray( s ) {}=0A=
QCString( const char *str ); =0A=
QCString( const char *str, uint maxlen ); =0A=
~QCString();=0A=
=0A=
QCString &operator=3D( const QCString &s ); =0A=
QCString &operator=3D( const char *str ); =0A=
=0A=
bool isNull() const;=0A=
bool isEmpty() const;=0A=
uint length() const;=0A=
bool resize( uint newlen );=0A=
bool truncate( uint pos );=0A=
bool fill( char c, int len =3D -1 );=0A=
=0A=
QCString copy() const;=0A=
=0A=
QCString &sprintf( const char *format, ... );=0A=
=0A=
int find( char c, int index=3D0, bool cs=3DTRUE ) const;=0A=
int find( const char *str, int index=3D0, bool cs=3DTRUE ) =
const;=0A=
=0A=
int find( const QRegExp &, int index=3D0 ) const;=0A=
=0A=
int findRev( char c, int index=3D-1, bool cs=3DTRUE) const;=0A=
int findRev( const char *str, int index=3D-1, bool cs=3DTRUE) =
const;=0A=
=0A=
int findRev( const QRegExp &, int index=3D-1 ) const;=0A=
=0A=
int contains( char c, bool cs=3DTRUE ) const;=0A=
int contains( const char *str, bool cs=3DTRUE ) const;=0A=
=0A=
int contains( const QRegExp & ) const;=0A=
=0A=
QCString left( uint len ) const;=0A=
QCString right( uint len ) const;=0A=
QCString mid( uint index, uint len=3D0xffffffff) const;=0A=
=0A=
QCString leftJustify( uint width, char fill=3D' ', bool =
trunc=3DFALSE)const;=0A=
QCString rightJustify( uint width, char fill=3D' ',bool =
trunc=3DFALSE)const;=0A=
=0A=
QCString lower() const;=0A=
QCString upper() const;=0A=
=0A=
QCString stripWhiteSpace() const;=0A=
QCString simplifyWhiteSpace() const;=0A=
=0A=
QCString &insert( uint index, const char * );=0A=
QCString &insert( uint index, char );=0A=
QCString &append( const char * );=0A=
QCString &prepend( const char * );=0A=
QCString &remove( uint index, uint len );=0A=
QCString &replace( uint index, uint len, const char * );=0A=
=0A=
QCString &replace( const QRegExp &, const char * );=0A=
=0A=
short toShort( bool *ok=3D0 ) const;=0A=
ushort toUShort( bool *ok=3D0 ) const;=0A=
int toInt( bool *ok=3D0 ) const;=0A=
uint toUInt( bool *ok=3D0 ) const;=0A=
long toLong( bool *ok=3D0 ) const;=0A=
ulong toULong( bool *ok=3D0 ) const;=0A=
float toFloat( bool *ok=3D0 ) const;=0A=
double toDouble( bool *ok=3D0 ) const;=0A=
=0A=
QCString &setStr( const char *s );=0A=
QCString &setNum( short );=0A=
QCString &setNum( ushort );=0A=
QCString &setNum( int );=0A=
QCString &setNum( uint );=0A=
QCString &setNum( long );=0A=
QCString &setNum( ulong );=0A=
QCString &setNum( float, char f=3D'g', int prec=3D6 );=0A=
QCString &setNum( double, char f=3D'g', int prec=3D6 );=0A=
=0A=
bool setExpand( uint index, char c );=0A=
=0A=
operator const char *() const;=0A=
QCString &operator+=3D( const char *str );=0A=
QCString &operator+=3D( char c );=0A=
};=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
QDataStream &operator<<( QDataStream &, const QCString & );=0A=
QDataStream &operator>>( QDataStream &, QCString & );=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
inline QCString &QCString::operator=3D( const QCString &s )=0A=
{ return (QCString&)assign( s ); }=0A=
=0A=
inline QCString &QCString::operator=3D( const char *str )=0A=
{ return (QCString&)duplicate( str, qstrlen(str)+1 ); }=0A=
=0A=
inline bool QCString::isNull() const=0A=
{ return data() =3D=3D 0; }=0A=
=0A=
inline bool QCString::isEmpty() const=0A=
{ return data() =3D=3D 0 || *data() =3D=3D '\0'; }=0A=
=0A=
inline uint QCString::length() const=0A=
{ return qstrlen( data() ); }=0A=
=0A=
inline bool QCString::truncate( uint pos )=0A=
{ return resize(pos+1); }=0A=
=0A=
inline QCString QCString::copy() const=0A=
{ return QCString( data() ); }=0A=
=0A=
inline QCString &QCString::prepend( const char *s )=0A=
{ return insert(0,s); }=0A=
=0A=
inline QCString &QCString::append( const char *s )=0A=
{ return operator+=3D(s); }=0A=
=0A=
inline QCString &QCString::setNum( short n )=0A=
{ return setNum((long)n); }=0A=
=0A=
inline QCString &QCString::setNum( ushort n )=0A=
{ return setNum((ulong)n); }=0A=
=0A=
inline QCString &QCString::setNum( int n )=0A=
{ return setNum((long)n); }=0A=
=0A=
inline QCString &QCString::setNum( uint n )=0A=
{ return setNum((ulong)n); }=0A=
=0A=
inline QCString &QCString::setNum( float n, char f, int prec )=0A=
{ return setNum((double)n,f,prec); }=0A=
=0A=
inline QCString::operator const char *() const=0A=
{ return (const char *)data(); }=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
inline bool operator=3D=3D( const QCString &s1, const QCString &s2 =
)=0A=
{ return qstrcmp(s1.data(),s2.data()) =3D=3D 0; }=0A=
=0A=
inline bool operator=3D=3D( const QCString &s1, const char *s2 )=0A=
{ return qstrcmp(s1.data(),s2) =3D=3D 0; }=0A=
=0A=
inline bool operator=3D=3D( const char *s1, const QCString &s2 )=0A=
{ return qstrcmp(s1,s2.data()) =3D=3D 0; }=0A=
=0A=
inline bool operator!=3D( const QCString &s1, const QCString &s2 )=0A=
{ return qstrcmp(s1.data(),s2.data()) !=3D 0; }=0A=
=0A=
inline bool operator!=3D( const QCString &s1, const char *s2 )=0A=
{ return qstrcmp(s1.data(),s2) !=3D 0; }=0A=
=0A=
inline bool operator!=3D( const char *s1, const QCString &s2 )=0A=
{ return qstrcmp(s1,s2.data()) !=3D 0; }=0A=
=0A=
inline bool operator<( const QCString &s1, const QCString& s2 )=0A=
{ return qstrcmp(s1.data(),s2.data()) < 0; }=0A=
=0A=
inline bool operator<( const QCString &s1, const char *s2 )=0A=
{ return qstrcmp(s1.data(),s2) < 0; }=0A=
=0A=
inline bool operator<( const char *s1, const QCString &s2 )=0A=
{ return qstrcmp(s1,s2.data()) < 0; }=0A=
=0A=
inline bool operator<=3D( const QCString &s1, const char *s2 )=0A=
{ return qstrcmp(s1.data(),s2) <=3D 0; }=0A=
=0A=
inline bool operator<=3D( const char *s1, const QCString &s2 )=0A=
{ return qstrcmp(s1,s2.data()) <=3D 0; }=0A=
=0A=
inline bool operator>( const QCString &s1, const char *s2 )=0A=
{ return qstrcmp(s1.data(),s2) > 0; }=0A=
=0A=
inline bool operator>( const char *s1, const QCString &s2 )=0A=
{ return qstrcmp(s1,s2.data()) > 0; }=0A=
=0A=
inline bool operator>=3D( const QCString &s1, const char *s2 )=0A=
{ return qstrcmp(s1.data(),s2) >=3D 0; }=0A=
=0A=
inline bool operator>=3D( const char *s1, const QCString &s2 )=0A=
{ return qstrcmp(s1,s2.data()) >=3D 0; }=0A=
=0A=
inline const QCString operator+( const QCString &s1, const QCString =
&s2 )=0A=
{=0A=
QCString tmp( s1.data() );=0A=
tmp +=3D s2;=0A=
return tmp;=0A=
}=0A=
=0A=
inline const QCString operator+( const QCString &s1, const char *s2 =
)=0A=
{=0A=
QCString tmp( s1.data() );=0A=
tmp +=3D s2;=0A=
return tmp;=0A=
}=0A=
=0A=
inline const QCString operator+( const char *s1, const QCString &s2 =
)=0A=
{=0A=
QCString tmp( s1 );=0A=
tmp +=3D s2;=0A=
return tmp;=0A=
}=0A=
=0A=
inline const QCString operator+( const QCString &s1, char c2 )=0A=
{=0A=
QCString tmp( s1.data() );=0A=
tmp +=3D c2;=0A=
return tmp;=0A=
}=0A=
=0A=
inline const QCString operator+( char c1, const QCString &s2 )=0A=
{=0A=
QCString tmp;=0A=
tmp +=3D c1;=0A=
tmp +=3D s2;=0A=
return tmp;=0A=
}=0A=
=0A=
=0A=
# 50 "/opt/TWWfsw/libqt30/include/qiodevice.h" 2=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
class QIODevice =0A=
{=0A=
public:=0A=
=0A=
=0A=
=0A=
typedef Q_ULONG Offset;=0A=
=0A=
=0A=
QIODevice();=0A=
virtual ~QIODevice();=0A=
=0A=
int flags() const { return ioMode; }=0A=
int mode() const { return ioMode & 0x00ff ; }=0A=
int state() const { return ioMode & 0xf000 ; }=0A=
=0A=
bool isDirectAccess() const { return ((ioMode & 0x0100 ) =
=3D=3D 0x0100 ); }=0A=
bool isSequentialAccess() const { return ((ioMode & 0x0200 ) =
=3D=3D 0x0200 ); }=0A=
bool isCombinedAccess() const { return ((ioMode & 0x0300 ) =
=3D=3D 0x0300 ); }=0A=
bool isBuffered() const { return ((ioMode & 0x0040 ) =
!=3D 0x0040 ); }=0A=
bool isRaw() const { return ((ioMode & 0x0040 ) =
=3D=3D 0x0040 ); }=0A=
bool isSynchronous() const { return ((ioMode & 0x0080 ) =
!=3D 0x0080 ); }=0A=
bool isAsynchronous() const { return ((ioMode & 0x0080 ) =
=3D=3D 0x0080 ); }=0A=
bool isTranslated() const { return ((ioMode & 0x0010 ) =
=3D=3D 0x0010 ); }=0A=
bool isReadable() const { return ((ioMode & 0x0001 ) =
=3D=3D 0x0001 ); }=0A=
bool isWritable() const { return ((ioMode & 0x0002 ) =3D=3D =
0x0002 ); }=0A=
bool isReadWrite() const { return ((ioMode & 0x0003 ) =
=3D=3D 0x0003 ); }=0A=
bool isInactive() const { return state() =3D=3D 0; }=0A=
bool isOpen() const { return state() =3D=3D 0x1000 ; }=0A=
=0A=
int status() const { return ioSt; }=0A=
void resetStatus() { ioSt =3D 0 ; }=0A=
=0A=
virtual bool open( int mode ) =3D 0;=0A=
virtual void close() =3D 0;=0A=
virtual void flush() =3D 0;=0A=
=0A=
virtual Offset size() const =3D 0;=0A=
virtual Offset at() const;=0A=
virtual bool at( Offset );=0A=
virtual bool atEnd() const;=0A=
bool reset() { return at(0); }=0A=
=0A=
virtual Q_LONG readBlock( char *data, Q_ULONG maxlen ) =3D 0;=0A=
virtual Q_LONG writeBlock( const char *data, Q_ULONG len ) =3D =
0;=0A=
virtual Q_LONG readLine( char *data, Q_ULONG maxlen );=0A=
Q_LONG writeBlock( const QByteArray& data );=0A=
virtual QByteArray readAll();=0A=
=0A=
virtual int getch() =3D 0;=0A=
virtual int putch( int ) =3D 0;=0A=
virtual int ungetch( int ) =3D 0;=0A=
=0A=
protected:=0A=
void setFlags( int f ) { ioMode =3D f; }=0A=
void setType( int );=0A=
void setMode( int );=0A=
void setState( int );=0A=
void setStatus( int );=0A=
Offset ioIndex;=0A=
=0A=
private:=0A=
int ioMode;=0A=
int ioSt;=0A=
=0A=
private: =0A=
=0A=
QIODevice( const QIODevice & );=0A=
QIODevice &operator=3D( const QIODevice & );=0A=
=0A=
};=0A=
=0A=
=0A=
=0A=
# 42 "/opt/TWWfsw/libqt30/include/qtextstream.h" 2=0A=
=0A=
# 1 "/opt/TWWfsw/libqt30/include/qstring.h" 1=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
class QRegExp;=0A=
class QString;=0A=
class QCharRef;=0A=
=0A=
class QChar {=0A=
public:=0A=
QChar();=0A=
QChar( char c );=0A=
QChar( uchar c );=0A=
QChar( uchar c, uchar r );=0A=
QChar( const QChar& c );=0A=
QChar( ushort rc );=0A=
QChar( short rc );=0A=
QChar( uint rc );=0A=
QChar( int rc );=0A=
=0A=
static const QChar null; =0A=
static const QChar replacement; =0A=
static const QChar byteOrderMark; =0A=
static const QChar byteOrderSwapped; =0A=
static const QChar nbsp; =0A=
=0A=
=0A=
=0A=
enum Category=0A=
{=0A=
NoCategory,=0A=
=0A=
Mark_NonSpacing, =0A=
Mark_SpacingCombining, =0A=
Mark_Enclosing, =0A=
=0A=
Number_DecimalDigit, =0A=
Number_Letter, =0A=
Number_Other, =0A=
=0A=
Separator_Space, =0A=
Separator_Line, =0A=
Separator_Paragraph, =0A=
=0A=
Other_Control, =0A=
Other_Format, =0A=
Other_Surrogate, =0A=
Other_PrivateUse, =0A=
Other_NotAssigned, =0A=
=0A=
Letter_Uppercase, =0A=
Letter_Lowercase, =0A=
Letter_Titlecase, =0A=
Letter_Modifier, =0A=
Letter_Other, =0A=
=0A=
Punctuation_Connector, =0A=
Punctuation_Dash, =0A=
Punctuation_Dask =3D Punctuation_Dash, =0A=
Punctuation_Open, =0A=
Punctuation_Close, =0A=
Punctuation_InitialQuote, =0A=
Punctuation_FinalQuote, =0A=
Punctuation_Other, =0A=
=0A=
Symbol_Math, =0A=
Symbol_Currency, =0A=
Symbol_Modifier, =0A=
Symbol_Other =0A=
};=0A=
=0A=
enum Direction=0A=
{=0A=
DirL, DirR, DirEN, DirES, DirET, DirAN, DirCS, DirB, DirS, =
DirWS, DirON,=0A=
DirLRE, DirLRO, DirAL, DirRLE, DirRLO, DirPDF, DirNSM, DirBN=0A=
};=0A=
=0A=
enum Decomposition=0A=
{=0A=
Single, Canonical, Font, NoBreak, Initial, Medial,=0A=
Final, Isolated, Circle, Super, Sub, Vertical,=0A=
Wide, Narrow, Small, Square, Compat, Fraction=0A=
};=0A=
=0A=
enum Joining=0A=
{=0A=
OtherJoining, Dual, Right, Center=0A=
};=0A=
=0A=
enum CombiningClass=0A=
{=0A=
Combining_BelowLeftAttached =3D 200,=0A=
Combining_BelowAttached =3D 202,=0A=
Combining_BelowRightAttached =3D 204,=0A=
Combining_LeftAttached =3D 208,=0A=
Combining_RightAttached =3D 210,=0A=
Combining_AboveLeftAttached =3D 212,=0A=
Combining_AboveAttached =3D 214,=0A=
Combining_AboveRightAttached =3D 216,=0A=
=0A=
Combining_BelowLeft =3D 218,=0A=
Combining_Below =3D 220,=0A=
Combining_BelowRight =3D 222,=0A=
Combining_Left =3D 224,=0A=
Combining_Right =3D 226,=0A=
Combining_AboveLeft =3D 228,=0A=
Combining_Above =3D 230,=0A=
Combining_AboveRight =3D 232,=0A=
=0A=
Combining_DoubleBelow =3D 233,=0A=
Combining_DoubleAbove =3D 234,=0A=
Combining_IotaSubscript =3D 240=0A=
};=0A=
=0A=
=0A=
=0A=
int digitValue() const;=0A=
QChar lower() const;=0A=
QChar upper() const;=0A=
=0A=
Category category() const;=0A=
Direction direction() const;=0A=
Joining joining() const;=0A=
bool mirrored() const;=0A=
QChar mirroredChar() const;=0A=
const QString &decomposition() const;=0A=
Decomposition decompositionTag() const;=0A=
unsigned char combiningClass() const;=0A=
=0A=
char latin1() const { return ucs > 0xff ? 0 : (char) ucs; }=0A=
ushort unicode() const { return ucs; }=0A=
ushort &unicode() { return ucs; }=0A=
=0A=
=0A=
operator char() const { return latin1(); }=0A=
=0A=
=0A=
bool isNull() const { return unicode()=3D=3D0; }=0A=
bool isPrint() const;=0A=
bool isPunct() const;=0A=
bool isSpace() const;=0A=
bool isMark() const;=0A=
bool isLetter() const;=0A=
bool isNumber() const;=0A=
bool isLetterOrNumber() const;=0A=
bool isDigit() const;=0A=
bool isSymbol() const;=0A=
=0A=
uchar cell() const { return ((uchar) ucs & 0xff); }=0A=
uchar row() const { return ((uchar) (ucs>>8)&0xff); }=0A=
void setCell( uchar cell ) { ucs =3D (ucs & 0xff00) + cell; }=0A=
void setRow( uchar row ) { ucs =3D (((ushort) row)<<8) + =
(ucs&0xff); }=0A=
=0A=
static bool networkOrdered() {=0A=
int wordSize;=0A=
bool bigEndian =3D FALSE;=0A=
qSysInfo( &wordSize, &bigEndian );=0A=
return bigEndian;=0A=
}=0A=
=0A=
friend inline bool operator=3D=3D( char ch, QChar c );=0A=
friend inline bool operator=3D=3D( QChar c, char ch );=0A=
friend inline bool operator=3D=3D( QChar c1, QChar c2 );=0A=
friend inline bool operator!=3D( QChar c1, QChar c2 );=0A=
friend inline bool operator!=3D( char ch, QChar c );=0A=
friend inline bool operator!=3D( QChar c, char ch );=0A=
friend inline bool operator<=3D( QChar c, char ch );=0A=
friend inline bool operator<=3D( char ch, QChar c );=0A=
friend inline bool operator<=3D( QChar c1, QChar c2 );=0A=
=0A=
private:=0A=
ushort ucs;=0A=
=0A=
=0A=
=0A=
} ;=0A=
=0A=
inline QChar::QChar()=0A=
{=0A=
ucs =3D 0;=0A=
=0A=
=0A=
=0A=
}=0A=
inline QChar::QChar( char c )=0A=
{=0A=
ucs =3D (uchar)c;=0A=
=0A=
=0A=
=0A=
}=0A=
inline QChar::QChar( uchar c )=0A=
{=0A=
ucs =3D c;=0A=
=0A=
=0A=
=0A=
}=0A=
inline QChar::QChar( uchar c, uchar r )=0A=
{=0A=
ucs =3D (r << 8) | c;=0A=
=0A=
=0A=
=0A=
}=0A=
inline QChar::QChar( const QChar& c )=0A=
{=0A=
ucs =3D c.ucs;=0A=
=0A=
=0A=
=0A=
}=0A=
=0A=
inline QChar::QChar( ushort rc )=0A=
{=0A=
ucs =3D rc;=0A=
=0A=
=0A=
=0A=
}=0A=
inline QChar::QChar( short rc )=0A=
{=0A=
ucs =3D (ushort) rc;=0A=
=0A=
=0A=
=0A=
}=0A=
inline QChar::QChar( uint rc )=0A=
{=0A=
ucs =3D (ushort ) (rc & 0xffff);=0A=
=0A=
=0A=
=0A=
}=0A=
inline QChar::QChar( int rc )=0A=
{=0A=
ucs =3D (ushort) (rc & 0xffff);=0A=
=0A=
=0A=
=0A=
}=0A=
=0A=
=0A=
inline bool operator=3D=3D( char ch, QChar c )=0A=
{=0A=
return ((uchar) ch) =3D=3D c.ucs;=0A=
}=0A=
=0A=
inline bool operator=3D=3D( QChar c, char ch )=0A=
{=0A=
return ((uchar) ch) =3D=3D c.ucs;=0A=
}=0A=
=0A=
inline bool operator=3D=3D( QChar c1, QChar c2 )=0A=
{=0A=
return c1.ucs =3D=3D c2.ucs;=0A=
}=0A=
=0A=
inline bool operator!=3D( QChar c1, QChar c2 )=0A=
{=0A=
return c1.ucs !=3D c2.ucs;=0A=
}=0A=
=0A=
inline bool operator!=3D( char ch, QChar c )=0A=
{=0A=
return ((uchar)ch) !=3D c.ucs;=0A=
}=0A=
=0A=
inline bool operator!=3D( QChar c, char ch )=0A=
{=0A=
return ((uchar) ch) !=3D c.ucs;=0A=
}=0A=
=0A=
inline bool operator<=3D( QChar c, char ch )=0A=
{=0A=
return c.ucs <=3D ((uchar) ch);=0A=
}=0A=
=0A=
inline bool operator<=3D( char ch, QChar c )=0A=
{=0A=
return ((uchar) ch) <=3D c.ucs;=0A=
}=0A=
=0A=
inline bool operator<=3D( QChar c1, QChar c2 )=0A=
{=0A=
return c1.ucs <=3D c2.ucs;=0A=
}=0A=
=0A=
inline bool operator>=3D( QChar c, char ch ) { return ch <=3D c; }=0A=
inline bool operator>=3D( char ch, QChar c ) { return c <=3D ch; }=0A=
inline bool operator>=3D( QChar c1, QChar c2 ) { return c2 <=3D c1; =
}=0A=
inline bool operator<( QChar c, char ch ) { return !(ch<=3Dc); }=0A=
inline bool operator<( char ch, QChar c ) { return !(c<=3Dch); }=0A=
inline bool operator<( QChar c1, QChar c2 ) { return !(c2<=3Dc1); }=0A=
inline bool operator>( QChar c, char ch ) { return !(ch>=3Dc); }=0A=
inline bool operator>( char ch, QChar c ) { return !(c>=3Dch); }=0A=
inline bool operator>( QChar c1, QChar c2 ) { return !(c2>=3Dc1); }=0A=
=0A=
=0A=
struct QStringData : public QShared {=0A=
QStringData() :=0A=
unicode(0), ascii(0), len(0), simpletext(1), maxl(0), dirty(0) =
{ ref(); }=0A=
QStringData(QChar *u, uint l, uint m) :=0A=
unicode(u), ascii(0), len(l), simpletext(1), maxl(m), dirty(1) =
{ }=0A=
=0A=
~QStringData() { if ( unicode ) delete[] ((char*)unicode);=0A=
if ( ascii ) delete[] ascii; }=0A=
=0A=
void deleteSelf();=0A=
QChar *unicode;=0A=
char *ascii;=0A=
void setDirty() {=0A=
if ( ascii ) {=0A=
delete [] ascii;=0A=
ascii =3D 0;=0A=
}=0A=
dirty =3D 1;=0A=
}=0A=
=0A=
=0A=
=0A=
uint len : 30;=0A=
=0A=
uint simpletext : 1;=0A=
=0A=
=0A=
=0A=
uint maxl : 30;=0A=
=0A=
uint dirty : 1;=0A=
};=0A=
=0A=
=0A=
class QString=0A=
{=0A=
public:=0A=
QString(); =0A=
QString( QChar ); =0A=
QString( const QString & ); =0A=
QString( const QByteArray& ); =0A=
QString( const QChar* unicode, uint length ); =0A=
=0A=
QString( const char *str ); =0A=
=0A=
~QString();=0A=
=0A=
QString &operator=3D( const QString & ); =0A=
=0A=
QString &operator=3D( const char * ); =0A=
=0A=
QString &operator=3D( const QCString& ); =0A=
QString &operator=3D( QChar c );=0A=
QString &operator=3D( char c );=0A=
=0A=
static const QString null;=0A=
=0A=
bool isNull() const;=0A=
bool isEmpty() const;=0A=
uint length() const;=0A=
void truncate( uint pos );=0A=
=0A=
QString & fill( QChar c, int len =3D -1 );=0A=
=0A=
QString copy() const;=0A=
=0A=
QString arg( long a, int fieldwidth=3D0, int base=3D10 ) const;=0A=
QString arg( ulong a, int fieldwidth=3D0, int base=3D10 ) const;=0A=
QString arg( int a, int fieldwidth=3D0, int base=3D10 ) const;=0A=
QString arg( uint a, int fieldwidth=3D0, int base=3D10 ) const;=0A=
QString arg( short a, int fieldwidth=3D0, int base=3D10 ) const;=0A=
QString arg( ushort a, int fieldwidth=3D0, int base=3D10 ) =
const;=0A=
QString arg( char a, int fieldwidth=3D0 ) const;=0A=
QString arg( QChar a, int fieldwidth=3D0 ) const;=0A=
QString arg( const QString& a, int fieldwidth=3D0 ) const;=0A=
QString arg( double a, int fieldwidth=3D0, char fmt=3D'g', int =
prec=3D-1 ) const;=0A=
=0A=
=0A=
QString &sprintf( const char* format, ... )=0A=
=0A=
__attribute__ ((format (printf, 2, 3)))=0A=
=0A=
;=0A=
=0A=
=0A=
int find( QChar c, int index=3D0, bool cs=3DTRUE ) =
const;=0A=
int find( char c, int index=3D0, bool cs=3DTRUE ) const;=0A=
int find( const QString &str, int index=3D0, bool cs=3DTRUE =
) const;=0A=
=0A=
int find( const QRegExp &, int index=3D0 ) const;=0A=
=0A=
=0A=
int find( const char* str, int index=3D0 ) const;=0A=
=0A=
int findRev( QChar c, int index=3D-1, bool cs=3DTRUE) =
const;=0A=
int findRev( char c, int index=3D-1, bool cs=3DTRUE) =
const;=0A=
int findRev( const QString &str, int index=3D-1, bool =
cs=3DTRUE) const;=0A=
=0A=
int findRev( const QRegExp &, int index=3D-1 ) const;=0A=
=0A=
=0A=
int findRev( const char* str, int index=3D-1 ) const;=0A=
=0A=
int contains( QChar c, bool cs=3DTRUE ) const;=0A=
int contains( char c, bool cs=3DTRUE ) const=0A=
{ return contains(QChar(c), cs); }=0A=
=0A=
int contains( const char* str, bool cs=3DTRUE ) const;=0A=
=0A=
int contains( const QString &str, bool cs=3DTRUE ) =
const;=0A=
=0A=
int contains( const QRegExp & ) const;=0A=
=0A=
=0A=
enum SectionFlags {=0A=
SectionDefault =3D 0x00,=0A=
SectionSkipEmpty =3D 0x01,=0A=
SectionIncludeLeadingSep =3D 0x02,=0A=
SectionIncludeTrailingSep =3D 0x04,=0A=
SectionCaseInsensitiveSeps =3D 0x08=0A=
};=0A=
QString section( QChar sep, int start, int end =3D 0xffffffff, =
int flags =3D SectionDefault ) const;=0A=
QString section( char sep, int start, int end =3D 0xffffffff, =
int flags =3D SectionDefault ) const;=0A=
=0A=
QString section( const char *in_sep, int start, int end =3D =
0xffffffff, int flags =3D SectionDefault ) const;=0A=
=0A=
QString section( const QString &in_sep, int start, int end =3D =
0xffffffff, int flags =3D SectionDefault ) const;=0A=
=0A=
QString section( const QRegExp ®, int start, int end =3D =
0xffffffff, int flags =3D SectionDefault ) const;=0A=
=0A=
=0A=
QString left( uint len ) const;=0A=
QString right( uint len ) const;=0A=
QString mid( uint index, uint len=3D0xffffffff) const;=0A=
=0A=
QString leftJustify( uint width, QChar fill=3D' ', bool =
trunc=3DFALSE)const;=0A=
QString rightJustify( uint width, QChar fill=3D' ',bool =
trunc=3DFALSE)const;=0A=
=0A=
QString lower() const;=0A=
QString upper() const;=0A=
=0A=
QString stripWhiteSpace() const;=0A=
QString simplifyWhiteSpace() const;=0A=
=0A=
QString &insert( uint index, const QString & );=0A=
QString &insert( uint index, const QChar*, uint len );=0A=
QString &insert( uint index, QChar );=0A=
QString &insert( uint index, char c ) { return =
insert(index,QChar(c)); }=0A=
QString &append( char );=0A=
QString &append( QChar );=0A=
QString &append( const QString & );=0A=
QString &prepend( char );=0A=
QString &prepend( QChar );=0A=
QString &prepend( const QString & );=0A=
QString &remove( uint index, uint len );=0A=
QString &replace( uint index, uint len, const QString & );=0A=
QString &replace( uint index, uint len, const QChar*, uint clen =
);=0A=
=0A=
QString &replace( const QRegExp &, const QString & );=0A=
=0A=
short toShort( bool *ok=3D0, int base=3D10 ) const;=0A=
ushort toUShort( bool *ok=3D0, int base=3D10 ) const;=0A=
int toInt( bool *ok=3D0, int base=3D10 ) const;=0A=
uint toUInt( bool *ok=3D0, int base=3D10 ) const;=0A=
long toLong( bool *ok=3D0, int base=3D10 ) const;=0A=
ulong toULong( bool *ok=3D0, int base=3D10 ) const;=0A=
float toFloat( bool *ok=3D0 ) const;=0A=
double toDouble( bool *ok=3D0 ) const;=0A=
=0A=
QString &setNum( short, int base=3D10 );=0A=
QString &setNum( ushort, int base=3D10 );=0A=
QString &setNum( int, int base=3D10 );=0A=
QString &setNum( uint, int base=3D10 );=0A=
QString &setNum( long, int base=3D10 );=0A=
QString &setNum( ulong, int base=3D10 );=0A=
QString &setNum( float, char f=3D'g', int prec=3D6 );=0A=
QString &setNum( double, char f=3D'g', int prec=3D6 );=0A=
=0A=
static QString number( long, int base=3D10 );=0A=
static QString number( ulong, int base=3D10);=0A=
static QString number( int, int base=3D10 );=0A=
static QString number( uint, int base=3D10);=0A=
static QString number( double, char f=3D'g', int prec=3D6 );=0A=
=0A=
void setExpand( uint index, QChar c );=0A=
=0A=
QString &operator+=3D( const QString &str );=0A=
QString &operator+=3D( QChar c );=0A=
QString &operator+=3D( char c );=0A=
=0A=
QChar at( uint i ) const=0A=
{ return i < d->len ? d->unicode[i] : QChar::null; }=0A=
QChar operator[]( int i ) const { return at((uint)i); }=0A=
QCharRef at( uint i );=0A=
QCharRef operator[]( int i );=0A=
=0A=
QChar constref(uint i) const=0A=
{ return at(i); }=0A=
QChar& ref(uint i)=0A=
{ =0A=
if ( d->count !=3D 1 || i >=3D d->len )=0A=
subat( i );=0A=
d->setDirty();=0A=
return d->unicode[i];=0A=
}=0A=
=0A=
const QChar* unicode() const { return d->unicode; }=0A=
const char* ascii() const { return latin1(); }=0A=
const char* latin1() const;=0A=
static QString fromLatin1(const char*, int len=3D-1);=0A=
=0A=
QCString utf8() const;=0A=
static QString fromUtf8(const char*, int len=3D-1);=0A=
=0A=
QCString local8Bit() const;=0A=
static QString fromLocal8Bit(const char*, int len=3D-1);=0A=
bool operator!() const;=0A=
=0A=
operator const char *() const { return latin1(); }=0A=
=0A=
=0A=
QString &setUnicode( const QChar* unicode, uint len );=0A=
QString &setUnicodeCodes( const ushort* unicode_as_ushorts, uint =
len );=0A=
QString &setLatin1( const char*, int len=3D-1 );=0A=
=0A=
int compare( const QString& s ) const;=0A=
static int compare( const QString& s1, const QString& s2 )=0A=
{ return s1.compare( s2 ); }=0A=
=0A=
int localeAwareCompare( const QString& s ) const;=0A=
static int localeAwareCompare( const QString& s1, const QString& s2 =
)=0A=
{ return s1.localeAwareCompare( s2 ); }=0A=
=0A=
=0A=
friend QDataStream &operator>>( QDataStream &, QString & );=0A=
=0A=
=0A=
void compose();=0A=
=0A=
=0A=
const char* data() const { return latin1(); }=0A=
=0A=
=0A=
bool startsWith( const QString& ) const;=0A=
bool endsWith( const QString& ) const;=0A=
=0A=
void setLength( uint newLength );=0A=
=0A=
bool simpleText() const { if ( d->dirty ) checkSimpleText(); return =
(bool)d->simpletext; }=0A=
bool isRightToLeft() const;=0A=
=0A=
private:=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
QString& replace( const QString &, const QString & ) { return =
*this; }=0A=
=0A=
QString( int size, bool ); =0A=
=0A=
void deref();=0A=
void real_detach();=0A=
void subat( uint );=0A=
bool findArg(int& pos, int& len) const;=0A=
=0A=
void checkSimpleText() const;=0A=
=0A=
static QChar* asciiToUnicode( const char*, uint * len, uint =
maxlen=3D(uint)-1 );=0A=
static QChar* asciiToUnicode( const QByteArray&, uint * len );=0A=
static char* unicodeToAscii( const QChar*, uint len );=0A=
=0A=
QStringData *d;=0A=
static QStringData* shared_null;=0A=
static QStringData* makeSharedNull();=0A=
=0A=
friend class QConstString;=0A=
friend class QTextStream;=0A=
QString( QStringData* dd, bool ) : d(dd) { }=0A=
};=0A=
=0A=
class QCharRef {=0A=
friend class QString;=0A=
QString& s;=0A=
uint p;=0A=
QCharRef(QString* str, uint pos) : s(*str), p(pos) { }=0A=
=0A=
public:=0A=
=0A=
=0A=
=0A=
=0A=
ushort unicode() const { return s.constref(p).unicode(); }=0A=
char latin1() const { return s.constref(p).latin1(); }=0A=
=0A=
=0A=
QCharRef operator=3D(char c ) { s.ref(p)=3Dc; return *this; }=0A=
QCharRef operator=3D(uchar c ) { s.ref(p)=3Dc; return *this; }=0A=
QCharRef operator=3D(QChar c ) { s.ref(p)=3Dc; return *this; }=0A=
QCharRef operator=3D(const QCharRef& c ) { s.ref(p)=3Dc.unicode(); =
return *this; }=0A=
QCharRef operator=3D(ushort rc ) { s.ref(p)=3Drc; return *this; =
}=0A=
QCharRef operator=3D(short rc ) { s.ref(p)=3Drc; return *this; }=0A=
QCharRef operator=3D(uint rc ) { s.ref(p)=3Drc; return *this; }=0A=
QCharRef operator=3D(int rc ) { s.ref(p)=3Drc; return *this; }=0A=
=0A=
operator QChar () const { return s.constref(p); }=0A=
=0A=
=0A=
bool isNull() const { return unicode()=3D=3D0; }=0A=
bool isPrint() const { return s.constref(p).isPrint(); }=0A=
bool isPunct() const { return s.constref(p).isPunct(); }=0A=
bool isSpace() const { return s.constref(p).isSpace(); }=0A=
bool isMark() const { return s.constref(p).isMark(); }=0A=
bool isLetter() const { return s.constref(p).isLetter(); }=0A=
bool isNumber() const { return s.constref(p).isNumber(); }=0A=
bool isLetterOrNumber() { return s.constref(p).isLetterOrNumber(); =
}=0A=
bool isDigit() const { return s.constref(p).isDigit(); }=0A=
=0A=
int digitValue() const { return s.constref(p).digitValue(); }=0A=
QChar lower() const { return s.constref(p).lower(); }=0A=
QChar upper() const { return s.constref(p).upper(); }=0A=
=0A=
QChar::Category category() const { return s.constref(p).category(); =
}=0A=
QChar::Direction direction() const { return =
s.constref(p).direction(); }=0A=
QChar::Joining joining() const { return s.constref(p).joining(); =
}=0A=
bool mirrored() const { return s.constref(p).mirrored(); }=0A=
QChar mirroredChar() const { return s.constref(p).mirroredChar(); =
}=0A=
const QString &decomposition() const { return =
s.constref(p).decomposition(); }=0A=
QChar::Decomposition decompositionTag() const { return =
s.constref(p).decompositionTag(); }=0A=
unsigned char combiningClass() const { return =
s.constref(p).combiningClass(); }=0A=
=0A=
=0A=
uchar cell() const { return s.constref(p).cell(); }=0A=
uchar row() const { return s.constref(p).row(); }=0A=
=0A=
};=0A=
=0A=
inline QCharRef QString::at( uint i ) { return QCharRef(this,i); }=0A=
inline QCharRef QString::operator[]( int i ) { return at((uint)i); }=0A=
=0A=
=0A=
class QConstString : private QString {=0A=
public:=0A=
QConstString( const QChar* unicode, uint length );=0A=
~QConstString();=0A=
const QString& string() const { return *this; }=0A=
};=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
QDataStream &operator<<( QDataStream &, const QString & );=0A=
QDataStream &operator>>( QDataStream &, QString & );=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
inline QString::QString() :=0A=
d(shared_null ? shared_null : makeSharedNull())=0A=
{=0A=
d->ref();=0A=
}=0A=
=0A=
inline QString::~QString()=0A=
{=0A=
if ( d->deref() ) {=0A=
if ( d =3D=3D shared_null )=0A=
shared_null =3D 0;=0A=
d->deleteSelf();=0A=
}=0A=
}=0A=
=0A=
inline QString QString::section( QChar sep, int start, int end, int =
flags ) const=0A=
{ return section(QString(sep), start, end, flags); }=0A=
=0A=
inline QString QString::section( char sep, int start, int end, int =
flags ) const=0A=
{ return section(QChar(sep), start, end, flags); }=0A=
=0A=
=0A=
inline QString QString::section( const char *in_sep, int start, int =
end, int flags ) const=0A=
{ return section(QString(in_sep), start, end, flags); }=0A=
=0A=
=0A=
inline QString &QString::operator=3D( QChar c )=0A=
{ return *this =3D QString(c); }=0A=
=0A=
inline QString &QString::operator=3D( char c )=0A=
{ return *this =3D QString(QChar(c)); }=0A=
=0A=
inline bool QString::isNull() const=0A=
{ return unicode() =3D=3D 0; }=0A=
=0A=
inline bool QString::operator!() const=0A=
{ return isNull(); }=0A=
=0A=
inline uint QString::length() const=0A=
{ return d->len; }=0A=
=0A=
inline bool QString::isEmpty() const=0A=
{ return length() =3D=3D 0; }=0A=
=0A=
inline QString QString::copy() const=0A=
{ return QString( *this ); }=0A=
=0A=
inline QString &QString::prepend( const QString & s )=0A=
{ return insert(0,s); }=0A=
=0A=
inline QString &QString::prepend( QChar c )=0A=
{ return insert(0,c); }=0A=
=0A=
inline QString &QString::prepend( char c )=0A=
{ return insert(0,c); }=0A=
=0A=
inline QString &QString::append( const QString & s )=0A=
{ return operator+=3D(s); }=0A=
=0A=
inline QString &QString::append( QChar c )=0A=
{ return operator+=3D(c); }=0A=
=0A=
inline QString &QString::append( char c )=0A=
{ return operator+=3D(c); }=0A=
=0A=
inline QString &QString::setNum( short n, int base )=0A=
{ return setNum((long)n, base); }=0A=
=0A=
inline QString &QString::setNum( ushort n, int base )=0A=
{ return setNum((ulong)n, base); }=0A=
=0A=
inline QString &QString::setNum( int n, int base )=0A=
{ return setNum((long)n, base); }=0A=
=0A=
inline QString &QString::setNum( uint n, int base )=0A=
{ return setNum((ulong)n, base); }=0A=
=0A=
inline QString &QString::setNum( float n, char f, int prec )=0A=
{ return setNum((double)n,f,prec); }=0A=
=0A=
inline QString QString::arg(int a, int fieldwidth, int base) const=0A=
{ return arg((long)a, fieldwidth, base); }=0A=
=0A=
inline QString QString::arg(uint a, int fieldwidth, int base) const=0A=
{ return arg((ulong)a, fieldwidth, base); }=0A=
=0A=
inline QString QString::arg(short a, int fieldwidth, int base) const=0A=
{ return arg((long)a, fieldwidth, base); }=0A=
=0A=
inline QString QString::arg(ushort a, int fieldwidth, int base) =
const=0A=
{ return arg((ulong)a, fieldwidth, base); }=0A=
=0A=
inline int QString::find( char c, int index, bool cs ) const=0A=
{ return find(QChar(c), index, cs); }=0A=
=0A=
inline int QString::findRev( char c, int index, bool cs) const=0A=
{ return findRev( QChar(c), index, cs ); }=0A=
=0A=
=0A=
=0A=
inline int QString::find( const char* str, int index ) const=0A=
{ return find(QString::fromLatin1(str), index); }=0A=
=0A=
inline int QString::findRev( const char* str, int index ) const=0A=
{ return findRev(QString::fromLatin1(str), index); }=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
bool operator!=3D( const QString &s1, const QString &s2 );=0A=
bool operator<( const QString &s1, const QString &s2 );=0A=
bool operator<=3D( const QString &s1, const QString &s2 );=0A=
bool operator=3D=3D( const QString &s1, const QString &s2 );=0A=
bool operator>( const QString &s1, const QString &s2 );=0A=
bool operator>=3D( const QString &s1, const QString &s2 );=0A=
=0A=
bool operator!=3D( const QString &s1, const char *s2 );=0A=
bool operator<( const QString &s1, const char *s2 );=0A=
bool operator<=3D( const QString &s1, const char *s2 );=0A=
bool operator=3D=3D( const QString &s1, const char *s2 );=0A=
bool operator>( const QString &s1, const char *s2 );=0A=
bool operator>=3D( const QString &s1, const char *s2 );=0A=
bool operator!=3D( const char *s1, const QString &s2 );=0A=
bool operator<( const char *s1, const QString &s2 );=0A=
bool operator<=3D( const char *s1, const QString &s2 );=0A=
bool operator=3D=3D( const char *s1, const QString &s2 );=0A=
=0A=
bool operator>=3D( const char *s1, const QString &s2 );=0A=
=0A=
=0A=
inline const QString operator+( const QString &s1, const QString &s2 =
)=0A=
{=0A=
QString tmp( s1 );=0A=
tmp +=3D s2;=0A=
return tmp;=0A=
}=0A=
=0A=
=0A=
inline const QString operator+( const QString &s1, const char *s2 =
)=0A=
{=0A=
QString tmp( s1 );=0A=
tmp +=3D QString::fromLatin1(s2);=0A=
return tmp;=0A=
}=0A=
=0A=
inline const QString operator+( const char *s1, const QString &s2 =
)=0A=
{=0A=
QString tmp =3D QString::fromLatin1( s1 );=0A=
tmp +=3D s2;=0A=
return tmp;=0A=
}=0A=
=0A=
=0A=
inline const QString operator+( const QString &s1, QChar c2 )=0A=
{=0A=
QString tmp( s1 );=0A=
tmp +=3D c2;=0A=
return tmp;=0A=
}=0A=
=0A=
inline const QString operator+( const QString &s1, char c2 )=0A=
{=0A=
QString tmp( s1 );=0A=
tmp +=3D c2;=0A=
return tmp;=0A=
}=0A=
=0A=
inline const QString operator+( QChar c1, const QString &s2 )=0A=
{=0A=
QString tmp;=0A=
tmp +=3D c1;=0A=
tmp +=3D s2;=0A=
return tmp;=0A=
}=0A=
=0A=
inline const QString operator+( char c1, const QString &s2 )=0A=
{=0A=
QString tmp;=0A=
tmp +=3D c1;=0A=
tmp +=3D s2;=0A=
return tmp;=0A=
}=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
# 43 "/opt/TWWfsw/libqt30/include/qtextstream.h" 2=0A=
=0A=
# 1 "/usr/include/stdio.h" 1 3 4=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
#pragma ident "@(#)stdio.h 1.69 98/07/13 SMI" =0A=
=0A=
=0A=
# 1 "/usr/include/sys/va_list.h" 1 3 4=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
#pragma ident "@(#)va_list.h 1.11 97/11/22 SMI"=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
extern "C" {=0A=
=0A=
=0A=
=0A=
typedef void *__va_list;=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
}=0A=
=0A=
=0A=
=0A=
# 23 "/usr/include/stdio.h" 2 3 4=0A=
=0A=
# 1 "/usr/include/stdio_tag.h" 1 3 4=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
#pragma ident "@(#)stdio_tag.h 1.3 98/04/20 SMI"=0A=
=0A=
=0A=
extern "C" {=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
typedef struct FILE __FILE;=0A=
=0A=
=0A=
=0A=
}=0A=
=0A=
=0A=
=0A=
# 24 "/usr/include/stdio.h" 2 3 4=0A=
=0A=
# 1 "/usr/include/stdio_impl.h" 1 3 4=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
#pragma ident "@(#)stdio_impl.h 1.8 99/06/30 SMI"=0A=
=0A=
=0A=
=0A=
=0A=
extern "C" {=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
typedef int ssize_t; =0A=
=0A=
=0A=
=0A=
# 36 "/usr/include/stdio_impl.h" 3 4=0A=
=0A=
=0A=
struct FILE =0A=
{=0A=
=0A=
=0A=
=0A=
=0A=
ssize_t _cnt; =0A=
unsigned char *_ptr; =0A=
=0A=
unsigned char *_base; =0A=
unsigned char _flag; =0A=
unsigned char _file; =0A=
unsigned __orientation:2; =0A=
unsigned __ionolock:1; =0A=
unsigned __filler:5;=0A=
};=0A=
=0A=
=0A=
=0A=
=0A=
}=0A=
=0A=
=0A=
=0A=
# 25 "/usr/include/stdio.h" 2 3 4=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
extern "C" {=0A=
=0A=
=0A=
=0A=
=0A=
typedef __FILE FILE;=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
typedef long long __longlong_t;=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
typedef long off_t;=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
typedef __longlong_t off64_t;=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
typedef long fpos_t;=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
typedef __longlong_t fpos64_t;=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
extern FILE __iob[20 ];=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
extern unsigned char _sibuf[], _sobuf[];=0A=
=0A=
=0A=
=0A=
# 227 "/usr/include/stdio.h" 3 4=0A=
=0A=
=0A=
=0A=
extern unsigned char *_bufendtab[];=0A=
extern FILE *_lastbuf;=0A=
=0A=
=0A=
=0A=
# 257 "/usr/include/stdio.h" 3 4=0A=
=0A=
=0A=
=0A=
=0A=
extern int remove(const char *);=0A=
extern int rename(const char *, const char *);=0A=
extern FILE *tmpfile(void);=0A=
extern char *tmpnam(char *);=0A=
=0A=
extern char *tmpnam_r(char *);=0A=
=0A=
extern int fclose(FILE *);=0A=
extern int fflush(FILE *);=0A=
extern FILE *fopen(const char *, const char *);=0A=
extern FILE *freopen(const char *, const char *, FILE *);=0A=
extern void setbuf(FILE *, char *);=0A=
=0A=
=0A=
extern void setbuffer(FILE *, char *, size_t);=0A=
extern int setlinebuf(FILE *);=0A=
=0A=
extern int setvbuf(FILE *, char *, int, size_t);=0A=
=0A=
extern int fprintf(FILE *, const char *, ...);=0A=
=0A=
extern int fscanf(FILE *, const char *, ...);=0A=
=0A=
extern int printf(const char *, ...);=0A=
=0A=
extern int scanf(const char *, ...);=0A=
=0A=
=0A=
=0A=
=0A=
extern int snprintf(char *, size_t, const char *, ...);=0A=
=0A=
=0A=
extern int sprintf(char *, const char *, ...);=0A=
=0A=
extern int sscanf(const char *, const char *, ...);=0A=
extern int vfprintf(FILE *, const char *, __va_list);=0A=
extern int vprintf(const char *, __va_list);=0A=
=0A=
=0A=
=0A=
extern int vsnprintf(char *, size_t, const char *, __va_list);=0A=
=0A=
extern int vsprintf(char *, const char *, __va_list);=0A=
extern int fgetc(FILE *);=0A=
extern char *fgets(char *, int, FILE *);=0A=
extern int fputc(int, FILE *);=0A=
extern int fputs(const char *, FILE *);=0A=
extern int getc(FILE *);=0A=
extern int getchar(void);=0A=
extern char *gets(char *);=0A=
extern int putc(int, FILE *);=0A=
extern int putchar(int);=0A=
extern int puts(const char *);=0A=
extern int ungetc(int, FILE *);=0A=
extern size_t fread(void *, size_t, size_t, FILE *);=0A=
extern size_t fwrite(const void *, size_t, size_t, FILE *);=0A=
extern int fgetpos(FILE *, fpos_t *);=0A=
extern int fseek(FILE *, long, int);=0A=
extern int fsetpos(FILE *, const fpos_t *);=0A=
extern long ftell(FILE *);=0A=
extern void rewind(FILE *);=0A=
extern void clearerr(FILE *);=0A=
extern int feof(FILE *);=0A=
extern int ferror(FILE *);=0A=
extern void perror(const char *);=0A=
=0A=
=0A=
extern int __filbuf(FILE *);=0A=
extern int __flsbuf(int, FILE *);=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
extern FILE *fdopen(int, const char *);=0A=
extern char *ctermid(char *);=0A=
extern int fileno(FILE *);=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
extern void flockfile(FILE *);=0A=
extern int ftrylockfile(FILE *);=0A=
extern void funlockfile(FILE *);=0A=
extern int getc_unlocked(FILE *);=0A=
extern int getchar_unlocked(void);=0A=
extern int putc_unlocked(int, FILE *);=0A=
extern int putchar_unlocked(int);=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
extern FILE *popen(const char *, const char *);=0A=
extern char *cuserid(char *);=0A=
extern char *tempnam(const char *, const char *);=0A=
extern int getopt(int, char *const *, const char *);=0A=
=0A=
extern int getsubopt(char **, char *const *, char **);=0A=
=0A=
extern char *optarg;=0A=
extern int optind, opterr, optopt;=0A=
extern int getw(FILE *);=0A=
extern int putw(int, FILE *);=0A=
extern int pclose(FILE *);=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
extern int fseeko(FILE *, off_t, int);=0A=
extern off_t ftello(FILE *);=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
extern FILE *fopen64(const char *, const char *);=0A=
extern FILE *freopen64(const char *, const char *, FILE *);=0A=
extern FILE *tmpfile64(void);=0A=
extern int fgetpos64(FILE *, fpos64_t *);=0A=
extern int fsetpos64(FILE *, const fpos64_t *);=0A=
extern int fseeko64(FILE *, off64_t, int);=0A=
extern off64_t ftello64(FILE *);=0A=
=0A=
=0A=
# 515 "/usr/include/stdio.h" 3 4=0A=
=0A=
=0A=
=0A=
=0A=
# 542 "/usr/include/stdio.h" 3 4=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
# 563 "/usr/include/stdio.h" 3 4=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
}=0A=
=0A=
=0A=
=0A=
# 44 "/opt/TWWfsw/libqt30/include/qtextstream.h" 2=0A=
=0A=
=0A=
=0A=
=0A=
class QTextCodec;=0A=
class QTextDecoder;=0A=
=0A=
class QTextStreamPrivate;=0A=
=0A=
class QTextStream =0A=
{=0A=
public:=0A=
enum Encoding { Locale, Latin1, Unicode, UnicodeNetworkOrder,=0A=
UnicodeReverse, RawUnicode, UnicodeUTF8 };=0A=
=0A=
void setEncoding( Encoding );=0A=
=0A=
void setCodec( QTextCodec* );=0A=
=0A=
=0A=
=0A=
=0A=
QTextStream();=0A=
QTextStream( QIODevice * );=0A=
QTextStream( QString*, int mode );=0A=
QTextStream( QString&, int mode ); =0A=
QTextStream( QByteArray, int mode );=0A=
QTextStream( FILE *, int mode );=0A=
virtual ~QTextStream();=0A=
=0A=
QIODevice *device() const;=0A=
void setDevice( QIODevice * );=0A=
void unsetDevice();=0A=
=0A=
bool atEnd() const;=0A=
bool eof() const;=0A=
=0A=
QTextStream &operator>>( QChar & );=0A=
QTextStream &operator>>( char & );=0A=
QTextStream &operator>>( signed short & );=0A=
QTextStream &operator>>( unsigned short & );=0A=
QTextStream &operator>>( signed int & );=0A=
QTextStream &operator>>( unsigned int & );=0A=
QTextStream &operator>>( signed long & );=0A=
QTextStream &operator>>( unsigned long & );=0A=
QTextStream &operator>>( float & );=0A=
QTextStream &operator>>( double & );=0A=
QTextStream &operator>>( char * );=0A=
QTextStream &operator>>( QString & );=0A=
QTextStream &operator>>( QCString & );=0A=
=0A=
QTextStream &operator<<( QChar );=0A=
QTextStream &operator<<( char );=0A=
QTextStream &operator<<( signed short );=0A=
QTextStream &operator<<( unsigned short );=0A=
QTextStream &operator<<( signed int );=0A=
QTextStream &operator<<( unsigned int );=0A=
QTextStream &operator<<( signed long );=0A=
QTextStream &operator<<( unsigned long );=0A=
QTextStream &operator<<( float );=0A=
QTextStream &operator<<( double );=0A=
QTextStream &operator<<( const char* );=0A=
QTextStream &operator<<( const QString & );=0A=
QTextStream &operator<<( const QCString & );=0A=
QTextStream &operator<<( void * ); =0A=
=0A=
QTextStream &readRawBytes( char *, uint len );=0A=
QTextStream &writeRawBytes( const char* , uint len );=0A=
=0A=
QString readLine();=0A=
QString read();=0A=
void skipWhiteSpace();=0A=
=0A=
enum {=0A=
skipws =3D 0x0001, =0A=
left =3D 0x0002, =0A=
right =3D 0x0004, =0A=
internal =3D 0x0008, =0A=
bin =3D 0x0010, =0A=
oct =3D 0x0020, =0A=
dec =3D 0x0040, =0A=
hex =3D 0x0080, =0A=
showbase =3D 0x0100, =0A=
showpoint =3D 0x0200, =0A=
uppercase =3D 0x0400, =0A=
showpos =3D 0x0800, =0A=
scientific=3D 0x1000, =0A=
fixed =3D 0x2000 =0A=
};=0A=
=0A=
static const int basefield; =0A=
static const int adjustfield; =0A=
static const int floatfield; =0A=
=0A=
int flags() const;=0A=
int flags( int f );=0A=
int setf( int bits );=0A=
int setf( int bits, int mask );=0A=
int unsetf( int bits );=0A=
=0A=
void reset();=0A=
=0A=
int width() const;=0A=
int width( int );=0A=
int fill() const;=0A=
int fill( int );=0A=
int precision() const;=0A=
int precision( int );=0A=
=0A=
private:=0A=
long input_int();=0A=
void init();=0A=
QTextStream &output_int( int, ulong, bool );=0A=
QIODevice *dev;=0A=
=0A=
int fflags;=0A=
int fwidth;=0A=
int fillchar;=0A=
int fprec;=0A=
bool doUnicodeHeader;=0A=
bool owndev;=0A=
QTextCodec *mapper;=0A=
QTextStreamPrivate * d;=0A=
QChar unused1; =0A=
bool latin1;=0A=
bool internalOrder;=0A=
bool networkOrder;=0A=
void *unused2; =0A=
=0A=
QChar eat_ws();=0A=
uint ts_getline( QChar* );=0A=
void ts_ungetc( QChar );=0A=
QChar ts_getc();=0A=
uint ts_getbuf( QChar*, uint );=0A=
void ts_putc(int);=0A=
void ts_putc(QChar);=0A=
bool ts_isspace(QChar);=0A=
bool ts_isdigit(QChar);=0A=
ulong input_bin();=0A=
ulong input_oct();=0A=
ulong input_dec();=0A=
ulong input_hex();=0A=
double input_double();=0A=
QTextStream &writeBlock( const char* p, uint len );=0A=
QTextStream &writeBlock( const QChar* p, uint len );=0A=
=0A=
private: =0A=
=0A=
QTextStream( const QTextStream & );=0A=
QTextStream &operator=3D( const QTextStream & );=0A=
=0A=
};=0A=
=0A=
typedef QTextStream QTS;=0A=
=0A=
class QTextIStream : public QTextStream {=0A=
public:=0A=
QTextIStream( const QString* s ) :=0A=
QTextStream((QString*)s,0x0001 ) { }=0A=
QTextIStream( QByteArray ba ) :=0A=
QTextStream(ba,0x0001 ) { }=0A=
QTextIStream( FILE *f ) :=0A=
QTextStream(f,0x0001 ) { }=0A=
};=0A=
=0A=
class QTextOStream : public QTextStream {=0A=
public:=0A=
QTextOStream( QString* s ) :=0A=
QTextStream(s,0x0002 ) { }=0A=
QTextOStream( QByteArray ba ) :=0A=
QTextStream(ba,0x0002 ) { }=0A=
QTextOStream( FILE *f ) :=0A=
QTextStream(f,0x0002 ) { }=0A=
};=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
inline QIODevice *QTextStream::device() const=0A=
{ return dev; }=0A=
=0A=
inline bool QTextStream::atEnd() const=0A=
{ return dev ? dev->atEnd() : FALSE; }=0A=
=0A=
inline bool QTextStream::eof() const=0A=
{ return atEnd(); }=0A=
=0A=
inline int QTextStream::flags() const=0A=
{ return fflags; }=0A=
=0A=
inline int QTextStream::flags( int f )=0A=
{ int oldf =3D fflags; fflags =3D f; return oldf; }=0A=
=0A=
inline int QTextStream::setf( int bits )=0A=
{ int oldf =3D fflags; fflags |=3D bits; return oldf; }=0A=
=0A=
inline int QTextStream::setf( int bits, int mask )=0A=
{ int oldf =3D fflags; fflags =3D (fflags & ~mask) | (bits & mask); =
return oldf; }=0A=
=0A=
inline int QTextStream::unsetf( int bits )=0A=
{ int oldf =3D fflags; fflags &=3D ~bits; return oldf; }=0A=
=0A=
inline int QTextStream::width() const=0A=
{ return fwidth; }=0A=
=0A=
inline int QTextStream::width( int w )=0A=
{ int oldw =3D fwidth; fwidth =3D w; return oldw; }=0A=
=0A=
inline int QTextStream::fill() const=0A=
{ return fillchar; }=0A=
=0A=
inline int QTextStream::fill( int f )=0A=
{ int oldc =3D fillchar; fillchar =3D f; return oldc; }=0A=
=0A=
inline int QTextStream::precision() const=0A=
{ return fprec; }=0A=
=0A=
inline int QTextStream::precision( int p )=0A=
{ int oldp =3D fprec; fprec =3D p; return oldp; }=0A=
=0A=
=0A=
=0A=
=0A=
inline QChar QTextStream::ts_getc()=0A=
{ QChar r; return ( ts_getbuf( &r,1 ) =3D=3D 1 ? r : =
QChar((ushort)0xffff) ); }=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
typedef QTextStream & (*QTSFUNC)(QTextStream &); =0A=
typedef int (QTextStream::*QTSMFI)(int); =0A=
=0A=
class QTSManip { =0A=
public:=0A=
QTSManip( QTSMFI m, int a ) { mf=3Dm; arg=3Da; }=0A=
void exec( QTextStream &s ) { (s.*mf)(arg); }=0A=
private:=0A=
QTSMFI mf; =0A=
int arg; =0A=
};=0A=
=0A=
inline QTextStream &operator>>( QTextStream &s, QTSFUNC f )=0A=
{ return (*f)( s ); }=0A=
=0A=
inline QTextStream &operator<<( QTextStream &s, QTSFUNC f )=0A=
{ return (*f)( s ); }=0A=
=0A=
inline QTextStream &operator<<( QTextStream &s, QTSManip m )=0A=
{ m.exec(s); return s; }=0A=
=0A=
QTextStream &bin( QTextStream &s ); =0A=
QTextStream &oct( QTextStream &s ); =0A=
QTextStream &dec( QTextStream &s ); =0A=
QTextStream &hex( QTextStream &s ); =0A=
QTextStream &endl( QTextStream &s ); =0A=
QTextStream &flush( QTextStream &s ); =0A=
QTextStream &ws( QTextStream &s ); =0A=
QTextStream &reset( QTextStream &s ); =0A=
=0A=
inline QTSManip qSetW( int w )=0A=
{=0A=
QTSMFI func =3D &QTextStream::width;=0A=
return QTSManip(func,w);=0A=
}=0A=
=0A=
inline QTSManip qSetFill( int f )=0A=
{=0A=
QTSMFI func =3D &QTextStream::fill;=0A=
return QTSManip(func,f);=0A=
}=0A=
=0A=
inline QTSManip qSetPrecision( int p )=0A=
{=0A=
QTSMFI func =3D &QTextStream::precision;=0A=
return QTSManip(func,p);=0A=
}=0A=
=0A=
=0A=
=0A=
# 4 "x_QTSManip.cpp" 2=0A=
=0A=
=0A=
class x_QTSManip : public QTSManip {=0A=
public:=0A=
static void x_0(Smoke::Stack x) {=0A=
=0A=
x_QTSManip* xret =3D new =
x_QTSManip((QTSMFI)x[1].s_int,(int)x[2].s_int);=0A=
x[0].s_class =3D (void*)xret;=0A=
}=0A=
x_QTSManip(QTSMFI x1, int x2) : QTSManip(x1, x2) {=0A=
}=0A=
void x_1(Smoke::Stack x) {=0A=
=0A=
this->QTSManip::exec(*(QTextStream *)x[1].s_class);=0A=
(void)x; =0A=
}=0A=
static void x_2(Smoke::Stack x) {=0A=
=0A=
x_QTSManip* xret =3D new x_QTSManip(*(const QTSManip =
*)x[1].s_class);=0A=
x[0].s_class =3D (void*)xret;=0A=
}=0A=
x_QTSManip(const QTSManip& x1) : QTSManip(x1) {=0A=
}=0A=
~x_QTSManip() { qt_Smoke->binding->deleted(313, (void*)this); }=0A=
};=0A=
void xcall_QTSManip(Smoke::Index xi, void *obj, Smoke::Stack args) {=0A=
x_QTSManip *xself =3D (x_QTSManip*)obj;=0A=
switch(xi) {=0A=
case 0: x_QTSManip::x_0(args); break;=0A=
case 1: xself->x_1(args); break;=0A=
case 2: x_QTSManip::x_2(args); break;=0A=
case 3: delete (QTSManip*)xself; break;=0A=
}=0A=
}=0A=
------_=_NextPart_000_01C29A16.8477B1B0
Content-Type: application/octet-stream;
name="x_QTSManip.ii-321"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="x_QTSManip.ii-321"
# 1 "x_QTSManip.cpp"=0A=
# 1 "<built-in>"=0A=
# 1 "<command line>"=0A=
# 1 "x_QTSManip.cpp"=0A=
=0A=
# 1 "../smoke.h" 1=0A=
=0A=
=0A=
=0A=
# 1 "/usr/include/string.h" 1 3 4=0A=
# 16 "/usr/include/string.h" 3 4=0A=
#pragma ident "@(#)string.h 1.22 97/12/22 SMI" =0A=
=0A=
# 1 "/usr/include/sys/feature_tests.h" 1 3 4=0A=
# 13 "/usr/include/sys/feature_tests.h" 3 4=0A=
#pragma ident "@(#)feature_tests.h 1.17 97/12/04 SMI"=0A=
=0A=
# 1 "/usr/include/sys/isa_defs.h" 1 3 4=0A=
# 9 "/usr/include/sys/isa_defs.h" 3 4=0A=
#pragma ident "@(#)isa_defs.h 1.16 99/05/25 SMI"=0A=
# 148 "/usr/include/sys/isa_defs.h" 3 4=0A=
extern "C" {=0A=
# 330 "/usr/include/sys/isa_defs.h" 3 4=0A=
}=0A=
# 16 "/usr/include/sys/feature_tests.h" 2 3 4=0A=
=0A=
=0A=
extern "C" {=0A=
# 175 "/usr/include/sys/feature_tests.h" 3 4=0A=
}=0A=
# 19 "/usr/include/string.h" 2 3 4=0A=
=0A=
=0A=
extern "C" {=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
typedef unsigned int size_t;=0A=
# 43 "/usr/include/string.h" 3 4=0A=
extern void *memcpy(void *, const void *, size_t);=0A=
extern void *memmove(void *, const void *, size_t);=0A=
extern char *strcpy(char *, const char *);=0A=
extern char *strncpy(char *, const char *, size_t);=0A=
=0A=
extern char *strcat(char *, const char *);=0A=
extern char *strncat(char *, const char *, size_t);=0A=
=0A=
extern int memcmp(const void *, const void *, size_t);=0A=
extern int strcmp(const char *, const char *);=0A=
extern int strcoll(const char *, const char *);=0A=
extern int strncmp(const char *, const char *, size_t);=0A=
extern size_t strxfrm(char *, const char *, size_t);=0A=
=0A=
extern void *memchr(const void *, int, size_t);=0A=
extern char *strchr(const char *, int);=0A=
extern size_t strcspn(const char *, const char *);=0A=
extern char *strpbrk(const char *, const char *);=0A=
extern char *strrchr(const char *, int);=0A=
extern size_t strspn(const char *, const char *);=0A=
extern char *strstr(const char *, const char *);=0A=
extern char *strtok(char *, const char *);=0A=
=0A=
=0A=
extern char *strtok_r(char *, const char *, char **);=0A=
=0A=
extern void *memset(void *, int, size_t);=0A=
extern char *strerror(int);=0A=
extern size_t strlen(const char *);=0A=
=0A=
=0A=
=0A=
extern void *memccpy(void *, const void *, int, size_t);=0A=
=0A=
=0A=
=0A=
=0A=
extern char *strsignal(int);=0A=
extern int ffs(int);=0A=
extern int strcasecmp(const char *, const char *);=0A=
extern int strncasecmp(const char *, const char *, size_t);=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
extern char *strdup(const char *);=0A=
# 146 "/usr/include/string.h" 3 4=0A=
}=0A=
# 5 "../smoke.h" 2=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
class SmokeBinding;=0A=
=0A=
class Smoke {=0A=
public:=0A=
union StackItem;=0A=
=0A=
=0A=
=0A=
typedef StackItem* Stack;=0A=
=0A=
enum EnumOperation {=0A=
EnumNew,=0A=
EnumDelete,=0A=
EnumFromLong,=0A=
EnumToLong=0A=
};=0A=
=0A=
typedef short Index;=0A=
typedef void (*ClassFn)(Index method, void* obj, Stack args);=0A=
typedef void* (*CastFn)(void* obj, Index from, Index to);=0A=
typedef void (*EnumFn)(EnumOperation, Index, void*&, long&);=0A=
=0A=
enum ClassFlags {=0A=
cf_constructor =3D 0x01,=0A=
cf_deepcopy =3D 0x02,=0A=
cf_virtual =3D 0x04,=0A=
cf_undefined =3D 0x10=0A=
};=0A=
=0A=
=0A=
=0A=
struct Class {=0A=
const char *className;=0A=
Index parents;=0A=
ClassFn classFn;=0A=
EnumFn enumFn;=0A=
unsigned short flags;=0A=
};=0A=
=0A=
enum MethodFlags {=0A=
mf_static =3D 0x01,=0A=
mf_const =3D 0x02=0A=
};=0A=
=0A=
=0A=
=0A=
struct Method {=0A=
Index classId;=0A=
Index name;=0A=
Index args;=0A=
unsigned char numArgs;=0A=
unsigned char flags;=0A=
Index ret;=0A=
Index method;=0A=
};=0A=
# 77 "../smoke.h"=0A=
struct MethodMap {=0A=
Index classId;=0A=
Index name;=0A=
Index method;=0A=
};=0A=
=0A=
enum TypeFlags {=0A=
=0A=
=0A=
tf_elem =3D 0x0F,=0A=
=0A=
=0A=
tf_stack =3D 0x10,=0A=
tf_ptr =3D 0x20,=0A=
tf_ref =3D 0x30,=0A=
=0A=
tf_const =3D 0x40=0A=
};=0A=
=0A=
=0A=
=0A=
=0A=
struct Type {=0A=
const char *name;=0A=
Index classId;=0A=
unsigned short flags;=0A=
};=0A=
=0A=
=0A=
=0A=
union StackItem {=0A=
void* s_voidp;=0A=
bool s_bool;=0A=
char s_char;=0A=
unsigned char s_uchar;=0A=
short s_short;=0A=
unsigned short s_ushort;=0A=
int s_int;=0A=
unsigned int s_uint;=0A=
long s_long;=0A=
unsigned long s_ulong;=0A=
float s_float;=0A=
double s_double;=0A=
long s_enum;=0A=
void* s_class;=0A=
};=0A=
enum TypeId {=0A=
t_voidp,=0A=
t_bool,=0A=
t_char,=0A=
t_uchar,=0A=
t_short,=0A=
t_ushort,=0A=
t_int,=0A=
t_uint,=0A=
t_long,=0A=
t_ulong,=0A=
t_float,=0A=
t_double,=0A=
t_enum,=0A=
t_class,=0A=
t_last=0A=
};=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
Class *classes;=0A=
Index numClasses;=0A=
=0A=
=0A=
=0A=
=0A=
Method *methods;=0A=
Index numMethods;=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
MethodMap *methodMaps;=0A=
Index numMethodMaps;=0A=
=0A=
=0A=
=0A=
=0A=
const char **methodNames;=0A=
Index numMethodNames;=0A=
=0A=
=0A=
=0A=
=0A=
Type *types;=0A=
Index numTypes;=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
Index *inheritanceList;=0A=
=0A=
=0A=
=0A=
=0A=
Index *argumentList;=0A=
=0A=
=0A=
=0A=
=0A=
Index *ambiguousMethodList;=0A=
=0A=
=0A=
=0A=
CastFn castFn;=0A=
=0A=
=0A=
SmokeBinding *binding;=0A=
=0A=
=0A=
=0A=
=0A=
Smoke(Class *_classes, Index _numClasses,=0A=
Method *_methods, Index _numMethods,=0A=
MethodMap *_methodMaps, Index _numMethodMaps,=0A=
const char **_methodNames, Index _numMethodNames,=0A=
Type *_types, Index _numTypes,=0A=
Index *_inheritanceList,=0A=
Index *_argumentList,=0A=
Index *_ambiguousMethodList,=0A=
CastFn _castFn) :=0A=
classes(_classes), numClasses(_numClasses),=0A=
methods(_methods), numMethods(_numMethods),=0A=
methodMaps(_methodMaps), =
numMethodMaps(_numMethodMaps),=0A=
methodNames(_methodNames), =
numMethodNames(_numMethodNames),=0A=
types(_types), numTypes(_numTypes),=0A=
inheritanceList(_inheritanceList),=0A=
argumentList(_argumentList),=0A=
ambiguousMethodList(_ambiguousMethodList),=0A=
castFn(_castFn),=0A=
=0A=
binding(0)=0A=
{}=0A=
=0A=
inline void *cast(void *ptr, Index from, Index to) {=0A=
if(!castFn) return ptr;=0A=
return (*castFn)(ptr, from, to);=0A=
}=0A=
=0A=
=0A=
inline const char *className(Index classId) {=0A=
return classes[classId].className;=0A=
}=0A=
=0A=
inline int leg(Index a, Index b) {=0A=
if(a =3D=3D b) return 0;=0A=
return (a > b) ? 1 : -1;=0A=
}=0A=
=0A=
inline Index idType(const char *t) {=0A=
if(!t) return 0;=0A=
Index imax =3D numTypes;=0A=
Index imin =3D 0;=0A=
Index icur =3D -1;=0A=
int icmp =3D -1;=0A=
=0A=
while(imax >=3D imin) {=0A=
icur =3D (imin + imax) / 2;=0A=
if(icur > 0)=0A=
icmp =3D strcmp(types[icur].name, t);=0A=
else=0A=
icmp =3D -1;=0A=
if(!icmp) break;=0A=
if(icmp > 0)=0A=
imax =3D icur - 1;=0A=
else=0A=
imin =3D icur + 1;=0A=
}=0A=
=0A=
return (!icmp) ? icur : 0;=0A=
}=0A=
=0A=
inline Index idClass(const char *c) {=0A=
if(!c) return 0;=0A=
Index imax =3D numClasses;=0A=
Index imin =3D 0;=0A=
Index icur =3D -1;=0A=
int icmp =3D -1;=0A=
=0A=
while(imax >=3D imin) {=0A=
icur =3D (imin + imax) / 2;=0A=
if(icur > 0)=0A=
icmp =3D strcmp(classes[icur].className, c);=0A=
else=0A=
icmp =3D -1;=0A=
if(!icmp) break;=0A=
if(icmp > 0)=0A=
imax =3D icur - 1;=0A=
else=0A=
imin =3D icur + 1;=0A=
}=0A=
=0A=
return (!icmp) ? icur : 0;=0A=
}=0A=
=0A=
inline Index idMethodName(const char *m) {=0A=
if(!m) return 0;=0A=
Index imax =3D numMethodNames;=0A=
Index imin =3D 0;=0A=
Index icur =3D -1;=0A=
int icmp =3D -1;=0A=
while(imax >=3D imin) {=0A=
icur =3D (imin + imax) / 2;=0A=
icmp =3D strcmp(methodNames[icur], m);=0A=
if(!icmp) break;=0A=
if(icmp > 0)=0A=
imax =3D icur - 1;=0A=
else=0A=
imin =3D icur + 1;=0A=
}=0A=
=0A=
return (!icmp) ? icur : 0;=0A=
}=0A=
=0A=
inline Index idMethod(Index c, Index name) {=0A=
Index imax =3D numMethodMaps;=0A=
Index imin =3D 0;=0A=
Index icur =3D -1;=0A=
int icmp =3D -1;=0A=
while(imax >=3D imin) {=0A=
icur =3D (imin + imax) / 2;=0A=
icmp =3D leg(methodMaps[icur].classId, c);=0A=
if(!icmp) {=0A=
icmp =3D leg(methodMaps[icur].name, name);=0A=
if(!icmp) break;=0A=
}=0A=
if(icmp > 0)=0A=
imax =3D icur - 1;=0A=
else=0A=
imin =3D icur + 1;=0A=
}=0A=
=0A=
return (!icmp) ? icur : 0;=0A=
}=0A=
=0A=
inline Index findMethod(Index c, Index name) {=0A=
=0A=
if(!c || !name) return 0;=0A=
Index mid =3D idMethod(c, name);=0A=
if(mid) return mid;=0A=
if(!classes[c].parents) return 0;=0A=
for(int p =3D classes[c].parents; inheritanceList[p] ; p++) =
{=0A=
mid =3D findMethod(inheritanceList[p], name);=0A=
if(mid) return mid;=0A=
}=0A=
return 0;=0A=
}=0A=
=0A=
inline Index findMethod(const char *c, const char *name) {=0A=
Index idc =3D idClass(c);=0A=
Index idname =3D idMethodName(name);=0A=
return findMethod(idc, idname);=0A=
}=0A=
};=0A=
=0A=
class SmokeBinding {=0A=
protected:=0A=
Smoke *smoke;=0A=
public:=0A=
SmokeBinding(Smoke *s) : smoke(s) {}=0A=
virtual void deleted(Smoke::Index classId, void *obj) =3D 0;=0A=
virtual bool callMethod(Smoke::Index method, void *obj, =
Smoke::Stack args, bool isAbstract =3D false) =3D 0;=0A=
virtual char* className(Smoke::Index classId) =3D 0;=0A=
virtual ~SmokeBinding() {}=0A=
};=0A=
# 3 "x_QTSManip.cpp" 2=0A=
# 1 "qt_smoke.h" 1=0A=
=0A=
=0A=
=0A=
=0A=
extern Smoke* qt_Smoke;=0A=
# 4 "x_QTSManip.cpp" 2=0A=
# 1 "/opt/TWWfsw/libqt30/include/qtextstream.h" 1=0A=
# 42 "/opt/TWWfsw/libqt30/include/qtextstream.h"=0A=
# 1 "/opt/TWWfsw/libqt30/include/qiodevice.h" 1=0A=
# 49 "/opt/TWWfsw/libqt30/include/qiodevice.h"=0A=
# 1 "/opt/TWWfsw/libqt30/include/qglobal.h" 1=0A=
# 472 "/opt/TWWfsw/libqt30/include/qglobal.h"=0A=
typedef unsigned char uchar;=0A=
typedef unsigned short ushort;=0A=
typedef unsigned uint;=0A=
typedef unsigned long ulong;=0A=
typedef char *pchar;=0A=
typedef uchar *puchar;=0A=
typedef const char *pcchar;=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
const bool FALSE =3D 0;=0A=
const bool TRUE =3D !0;=0A=
# 517 "/opt/TWWfsw/libqt30/include/qglobal.h"=0A=
inline int qRound( double d )=0A=
{=0A=
return int( d >=3D 0.0 ? d + 0.5 : d - 0.5 );=0A=
}=0A=
# 529 "/opt/TWWfsw/libqt30/include/qglobal.h"=0A=
typedef signed char INT8;=0A=
typedef unsigned char UINT8;=0A=
typedef short INT16;=0A=
typedef unsigned short UINT16;=0A=
typedef int INT32;=0A=
typedef unsigned int UINT32;=0A=
=0A=
=0A=
typedef signed char Q_INT8;=0A=
typedef unsigned char Q_UINT8;=0A=
typedef short Q_INT16;=0A=
typedef unsigned short Q_UINT16;=0A=
typedef int Q_INT32;=0A=
typedef unsigned int Q_UINT32;=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
typedef long Q_LONG;=0A=
typedef unsigned long Q_ULONG;=0A=
# 564 "/opt/TWWfsw/libqt30/include/qglobal.h"=0A=
class QDataStream;=0A=
# 595 "/opt/TWWfsw/libqt30/include/qglobal.h"=0A=
# 1 "/opt/TWWfsw/libqt30/include/qconfig.h" 1=0A=
# 596 "/opt/TWWfsw/libqt30/include/qglobal.h" 2=0A=
# 605 "/opt/TWWfsw/libqt30/include/qglobal.h"=0A=
# 1 "/opt/TWWfsw/libqt30/include/qmodules.h" 1=0A=
# 606 "/opt/TWWfsw/libqt30/include/qglobal.h" 2=0A=
# 654 "/opt/TWWfsw/libqt30/include/qglobal.h"=0A=
# 1 "/opt/TWWfsw/libqt30/include/qfeatures.h" 1=0A=
# 655 "/opt/TWWfsw/libqt30/include/qglobal.h" 2=0A=
# 698 "/opt/TWWfsw/libqt30/include/qglobal.h"=0A=
const char *qVersion();=0A=
bool qSysInfo( int *wordSize, bool *bigEndian );=0A=
# 778 "/opt/TWWfsw/libqt30/include/qglobal.h"=0A=
void qDebug( const char *, ... )=0A=
=0A=
__attribute__ ((format (printf, 1, 2)))=0A=
=0A=
;=0A=
=0A=
void qWarning( const char *, ... )=0A=
=0A=
__attribute__ ((format (printf, 1, 2)))=0A=
=0A=
;=0A=
=0A=
void qFatal( const char *, ... )=0A=
=0A=
__attribute__ ((format (printf, 1, 2)))=0A=
=0A=
;=0A=
=0A=
void qSystemWarning( const char *, int code =3D -1 );=0A=
=0A=
=0A=
=0A=
=0A=
void debug( const char *, ... )=0A=
=0A=
__attribute__ ((format (printf, 1, 2)))=0A=
=0A=
;=0A=
=0A=
void warning( const char *, ... )=0A=
=0A=
__attribute__ ((format (printf, 1, 2)))=0A=
=0A=
;=0A=
=0A=
void fatal( const char *, ... )=0A=
=0A=
__attribute__ ((format (printf, 1, 2)))=0A=
=0A=
;=0A=
# 844 "/opt/TWWfsw/libqt30/include/qglobal.h"=0A=
bool qt_check_pointer( bool c, const char *, int );=0A=
# 860 "/opt/TWWfsw/libqt30/include/qglobal.h"=0A=
enum QtMsgType { QtDebugMsg, QtWarningMsg, QtFatalMsg };=0A=
=0A=
typedef void (*QtMsgHandler)(QtMsgType, const char *);=0A=
QtMsgHandler qInstallMsgHandler( QtMsgHandler );=0A=
=0A=
=0A=
=0A=
typedef QtMsgHandler msg_handler;=0A=
=0A=
=0A=
void qSuppressObsoleteWarnings( bool =3D TRUE );=0A=
=0A=
void qObsolete( const char *obj, const char *oldfunc,=0A=
const char *newfunc );=0A=
void qObsolete( const char *obj, const char *oldfunc );=0A=
void qObsolete( const char *message );=0A=
# 50 "/opt/TWWfsw/libqt30/include/qiodevice.h" 2=0A=
# 1 "/opt/TWWfsw/libqt30/include/qcstring.h" 1=0A=
# 43 "/opt/TWWfsw/libqt30/include/qcstring.h"=0A=
# 1 "/opt/TWWfsw/libqt30/include/qmemarray.h" 1=0A=
# 42 "/opt/TWWfsw/libqt30/include/qmemarray.h"=0A=
# 1 "/opt/TWWfsw/libqt30/include/qgarray.h" 1=0A=
# 42 "/opt/TWWfsw/libqt30/include/qgarray.h"=0A=
# 1 "/opt/TWWfsw/libqt30/include/qshared.h" 1=0A=
# 46 "/opt/TWWfsw/libqt30/include/qshared.h"=0A=
struct QShared=0A=
{=0A=
QShared() { count =3D 1; }=0A=
void ref() { count++; }=0A=
bool deref() { return !--count; }=0A=
uint count;=0A=
};=0A=
# 43 "/opt/TWWfsw/libqt30/include/qgarray.h" 2=0A=
=0A=
=0A=
=0A=
class QGArray=0A=
{=0A=
friend class QBuffer;=0A=
public:=0A=
=0A=
struct array_data : public QShared {=0A=
array_data() { data=3D0; len=3D0; }=0A=
char *data;=0A=
uint len;=0A=
};=0A=
QGArray();=0A=
protected:=0A=
QGArray( int, int );=0A=
QGArray( int size );=0A=
QGArray( const QGArray &a );=0A=
virtual ~QGArray();=0A=
=0A=
QGArray &operator=3D( const QGArray &a ) { return assign( a ); }=0A=
=0A=
virtual void detach() { duplicate(*this); }=0A=
=0A=
char *data() const { return shd->data; }=0A=
uint nrefs() const { return shd->count; }=0A=
uint size() const { return shd->len; }=0A=
bool isEqual( const QGArray &a ) const;=0A=
=0A=
bool resize( uint newsize );=0A=
=0A=
bool fill( const char *d, int len, uint sz );=0A=
=0A=
QGArray &assign( const QGArray &a );=0A=
QGArray &assign( const char *d, uint len );=0A=
QGArray &duplicate( const QGArray &a );=0A=
QGArray &duplicate( const char *d, uint len );=0A=
void store( const char *d, uint len );=0A=
=0A=
array_data *sharedBlock() const { return shd; }=0A=
void setSharedBlock( array_data *p ) { shd=3D(array_data*)p; }=0A=
=0A=
QGArray &setRawData( const char *d, uint len );=0A=
void resetRawData( const char *d, uint len );=0A=
=0A=
int find( const char *d, uint index, uint sz ) const;=0A=
int contains( const char *d, uint sz ) const;=0A=
=0A=
void sort( uint sz );=0A=
int bsearch( const char *d, uint sz ) const;=0A=
=0A=
char *at( uint index ) const;=0A=
=0A=
bool setExpand( uint index, const char *d, uint sz );=0A=
=0A=
protected:=0A=
virtual array_data *newData();=0A=
virtual void deleteData( array_data *p );=0A=
=0A=
private:=0A=
static void msg_index( uint );=0A=
array_data *shd;=0A=
};=0A=
=0A=
=0A=
inline char *QGArray::at( uint index ) const=0A=
{=0A=
=0A=
if ( index >=3D size() ) {=0A=
msg_index( index );=0A=
index =3D 0;=0A=
}=0A=
=0A=
return &shd->data[index];=0A=
}=0A=
# 43 "/opt/TWWfsw/libqt30/include/qmemarray.h" 2=0A=
=0A=
=0A=
=0A=
template<class type>=0A=
class QMemArray=0A=
: public QGArray=0A=
{=0A=
public:=0A=
typedef type* Iterator;=0A=
typedef const type* ConstIterator;=0A=
typedef type ValueType;=0A=
=0A=
protected:=0A=
QMemArray( int, int ) : QGArray( 0, 0 ) {}=0A=
=0A=
public:=0A=
QMemArray() {}=0A=
QMemArray( int size ) : QGArray(size*sizeof(type)) {}=0A=
QMemArray( const QMemArray<type> &a ) : QGArray(a) {}=0A=
~QMemArray() {}=0A=
QMemArray<type> &operator=3D(const QMemArray<type> &a)=0A=
{ return =
(QMemArray<type>&)QGArray::assign(a); }=0A=
type *data() const { return (type *)QGArray::data(); }=0A=
uint nrefs() const { return QGArray::nrefs(); }=0A=
uint size() const { return QGArray::size()/sizeof(type); }=0A=
uint count() const { return size(); }=0A=
bool isEmpty() const { return QGArray::size() =3D=3D 0; }=0A=
bool isNull() const { return QGArray::data() =3D=3D 0; }=0A=
bool resize( uint size ) { return =
QGArray::resize(size*sizeof(type)); }=0A=
bool truncate( uint pos ) { return =
QGArray::resize(pos*sizeof(type)); }=0A=
bool fill( const type &d, int size =3D -1 )=0A=
{ return QGArray::fill((char*)&d,size,sizeof(type) ); }=0A=
void detach() { QGArray::detach(); }=0A=
QMemArray<type> copy() const=0A=
{ QMemArray<type> tmp; return tmp.duplicate(*this); }=0A=
QMemArray<type>& assign( const QMemArray<type>& a )=0A=
{ return (QMemArray<type>&)QGArray::assign(a); }=0A=
QMemArray<type>& assign( const type *a, uint n )=0A=
{ return =
(QMemArray<type>&)QGArray::assign((char*)a,n*sizeof(type)); }=0A=
QMemArray<type>& duplicate( const QMemArray<type>& a )=0A=
{ return (QMemArray<type>&)QGArray::duplicate(a); }=0A=
QMemArray<type>& duplicate( const type *a, uint n )=0A=
{ return =
(QMemArray<type>&)QGArray::duplicate((char*)a,n*sizeof(type)); }=0A=
QMemArray<type>& setRawData( const type *a, uint n )=0A=
{ return (QMemArray<type>&)QGArray::setRawData((char*)a,=0A=
n*sizeof(type)); =
}=0A=
void resetRawData( const type *a, uint n )=0A=
{ QGArray::resetRawData((char*)a,n*sizeof(type)); }=0A=
int find( const type &d, uint i=3D0 ) const=0A=
{ return QGArray::find((char*)&d,i,sizeof(type)); }=0A=
int contains( const type &d ) const=0A=
{ return QGArray::contains((char*)&d,sizeof(type)); }=0A=
void sort() { QGArray::sort(sizeof(type)); }=0A=
int bsearch( const type &d ) const=0A=
{ return QGArray::bsearch((const char*)&d,sizeof(type)); }=0A=
type& operator[]( int i ) const=0A=
{ return (type &)(*(type *)QGArray::at(i*sizeof(type))); }=0A=
type& at( uint i ) const=0A=
{ return (type &)(*(type *)QGArray::at(i*sizeof(type))); }=0A=
operator const type*() const { return (const type =
*)QGArray::data(); }=0A=
bool operator=3D=3D( const QMemArray<type> &a ) const { return =
isEqual(a); }=0A=
bool operator!=3D( const QMemArray<type> &a ) const { return =
!isEqual(a); }=0A=
Iterator begin() { return data(); }=0A=
Iterator end() { return data() + size(); }=0A=
ConstIterator begin() const { return data(); }=0A=
ConstIterator end() const { return data() + size(); }=0A=
};=0A=
# 44 "/opt/TWWfsw/libqt30/include/qcstring.h" 2=0A=
# 53 "/opt/TWWfsw/libqt30/include/qcstring.h"=0A=
void *qmemmove( void *dst, const void *src, uint len );=0A=
=0A=
char *qstrdup( const char * );=0A=
=0A=
inline uint qstrlen( const char *str )=0A=
{ return str ? (uint)strlen(str) : 0; }=0A=
=0A=
inline char *qstrcpy( char *dst, const char *src )=0A=
{ return src ? strcpy(dst, src) : 0; }=0A=
=0A=
char *qstrncpy( char *dst, const char *src, uint len );=0A=
=0A=
inline int qstrcmp( const char *str1, const char *str2 )=0A=
{=0A=
return ( str1 && str2 ) ? strcmp( str1, str2 )=0A=
: ( str1 ? 1 : ( str2 ? -1 : 0 ) );=0A=
}=0A=
=0A=
inline int qstrncmp( const char *str1, const char *str2, uint len )=0A=
{=0A=
return ( str1 && str2 ) ? strncmp( str1, str2, len )=0A=
: ( str1 ? 1 : ( str2 ? -1 : 0 ) );=0A=
}=0A=
=0A=
int qstricmp( const char *, const char * );=0A=
=0A=
int qstrnicmp( const char *, const char *, uint len );=0A=
=0A=
=0A=
inline uint cstrlen( const char *str )=0A=
{ return (uint)strlen(str); }=0A=
=0A=
inline char *cstrcpy( char *dst, const char *src )=0A=
{ return strcpy(dst,src); }=0A=
=0A=
inline int cstrcmp( const char *str1, const char *str2 )=0A=
{ return strcmp(str1,str2); }=0A=
=0A=
inline int cstrncmp( const char *str1, const char *str2, uint len )=0A=
{ return strncmp(str1,str2,len); }=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
Q_UINT16 qChecksum( const char *s, uint len );=0A=
# 120 "/opt/TWWfsw/libqt30/include/qcstring.h"=0A=
typedef QMemArray<char> QByteArray;=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
QDataStream &operator<<( QDataStream &, const QByteArray & );=0A=
QDataStream &operator>>( QDataStream &, QByteArray & );=0A=
# 137 "/opt/TWWfsw/libqt30/include/qcstring.h"=0A=
class QRegExp;=0A=
=0A=
class QCString : public QByteArray=0A=
{=0A=
public:=0A=
QCString() {}=0A=
QCString( int size );=0A=
QCString( const QCString &s ) : QByteArray( s ) {}=0A=
QCString( const char *str );=0A=
QCString( const char *str, uint maxlen );=0A=
~QCString();=0A=
=0A=
QCString &operator=3D( const QCString &s );=0A=
QCString &operator=3D( const char *str );=0A=
=0A=
bool isNull() const;=0A=
bool isEmpty() const;=0A=
uint length() const;=0A=
bool resize( uint newlen );=0A=
bool truncate( uint pos );=0A=
bool fill( char c, int len =3D -1 );=0A=
=0A=
QCString copy() const;=0A=
=0A=
QCString &sprintf( const char *format, ... );=0A=
=0A=
int find( char c, int index=3D0, bool cs=3DTRUE ) const;=0A=
int find( const char *str, int index=3D0, bool cs=3DTRUE ) =
const;=0A=
=0A=
int find( const QRegExp &, int index=3D0 ) const;=0A=
=0A=
int findRev( char c, int index=3D-1, bool cs=3DTRUE) const;=0A=
int findRev( const char *str, int index=3D-1, bool cs=3DTRUE) =
const;=0A=
=0A=
int findRev( const QRegExp &, int index=3D-1 ) const;=0A=
=0A=
int contains( char c, bool cs=3DTRUE ) const;=0A=
int contains( const char *str, bool cs=3DTRUE ) const;=0A=
=0A=
int contains( const QRegExp & ) const;=0A=
=0A=
QCString left( uint len ) const;=0A=
QCString right( uint len ) const;=0A=
QCString mid( uint index, uint len=3D0xffffffff) const;=0A=
=0A=
QCString leftJustify( uint width, char fill=3D' ', bool =
trunc=3DFALSE)const;=0A=
QCString rightJustify( uint width, char fill=3D' ',bool =
trunc=3DFALSE)const;=0A=
=0A=
QCString lower() const;=0A=
QCString upper() const;=0A=
=0A=
QCString stripWhiteSpace() const;=0A=
QCString simplifyWhiteSpace() const;=0A=
=0A=
QCString &insert( uint index, const char * );=0A=
QCString &insert( uint index, char );=0A=
QCString &append( const char * );=0A=
QCString &prepend( const char * );=0A=
QCString &remove( uint index, uint len );=0A=
QCString &replace( uint index, uint len, const char * );=0A=
=0A=
QCString &replace( const QRegExp &, const char * );=0A=
=0A=
short toShort( bool *ok=3D0 ) const;=0A=
ushort toUShort( bool *ok=3D0 ) const;=0A=
int toInt( bool *ok=3D0 ) const;=0A=
uint toUInt( bool *ok=3D0 ) const;=0A=
long toLong( bool *ok=3D0 ) const;=0A=
ulong toULong( bool *ok=3D0 ) const;=0A=
float toFloat( bool *ok=3D0 ) const;=0A=
double toDouble( bool *ok=3D0 ) const;=0A=
=0A=
QCString &setStr( const char *s );=0A=
QCString &setNum( short );=0A=
QCString &setNum( ushort );=0A=
QCString &setNum( int );=0A=
QCString &setNum( uint );=0A=
QCString &setNum( long );=0A=
QCString &setNum( ulong );=0A=
QCString &setNum( float, char f=3D'g', int prec=3D6 );=0A=
QCString &setNum( double, char f=3D'g', int prec=3D6 );=0A=
=0A=
bool setExpand( uint index, char c );=0A=
=0A=
operator const char *() const;=0A=
QCString &operator+=3D( const char *str );=0A=
QCString &operator+=3D( char c );=0A=
};=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
QDataStream &operator<<( QDataStream &, const QCString & );=0A=
QDataStream &operator>>( QDataStream &, QCString & );=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
inline QCString &QCString::operator=3D( const QCString &s )=0A=
{ return (QCString&)assign( s ); }=0A=
=0A=
inline QCString &QCString::operator=3D( const char *str )=0A=
{ return (QCString&)duplicate( str, qstrlen(str)+1 ); }=0A=
=0A=
inline bool QCString::isNull() const=0A=
{ return data() =3D=3D 0; }=0A=
=0A=
inline bool QCString::isEmpty() const=0A=
{ return data() =3D=3D 0 || *data() =3D=3D '\0'; }=0A=
=0A=
inline uint QCString::length() const=0A=
{ return qstrlen( data() ); }=0A=
=0A=
inline bool QCString::truncate( uint pos )=0A=
{ return resize(pos+1); }=0A=
=0A=
inline QCString QCString::copy() const=0A=
{ return QCString( data() ); }=0A=
=0A=
inline QCString &QCString::prepend( const char *s )=0A=
{ return insert(0,s); }=0A=
=0A=
inline QCString &QCString::append( const char *s )=0A=
{ return operator+=3D(s); }=0A=
=0A=
inline QCString &QCString::setNum( short n )=0A=
{ return setNum((long)n); }=0A=
=0A=
inline QCString &QCString::setNum( ushort n )=0A=
{ return setNum((ulong)n); }=0A=
=0A=
inline QCString &QCString::setNum( int n )=0A=
{ return setNum((long)n); }=0A=
=0A=
inline QCString &QCString::setNum( uint n )=0A=
{ return setNum((ulong)n); }=0A=
=0A=
inline QCString &QCString::setNum( float n, char f, int prec )=0A=
{ return setNum((double)n,f,prec); }=0A=
=0A=
inline QCString::operator const char *() const=0A=
{ return (const char *)data(); }=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
inline bool operator=3D=3D( const QCString &s1, const QCString &s2 =
)=0A=
{ return qstrcmp(s1.data(),s2.data()) =3D=3D 0; }=0A=
=0A=
inline bool operator=3D=3D( const QCString &s1, const char *s2 )=0A=
{ return qstrcmp(s1.data(),s2) =3D=3D 0; }=0A=
=0A=
inline bool operator=3D=3D( const char *s1, const QCString &s2 )=0A=
{ return qstrcmp(s1,s2.data()) =3D=3D 0; }=0A=
=0A=
inline bool operator!=3D( const QCString &s1, const QCString &s2 )=0A=
{ return qstrcmp(s1.data(),s2.data()) !=3D 0; }=0A=
=0A=
inline bool operator!=3D( const QCString &s1, const char *s2 )=0A=
{ return qstrcmp(s1.data(),s2) !=3D 0; }=0A=
=0A=
inline bool operator!=3D( const char *s1, const QCString &s2 )=0A=
{ return qstrcmp(s1,s2.data()) !=3D 0; }=0A=
=0A=
inline bool operator<( const QCString &s1, const QCString& s2 )=0A=
{ return qstrcmp(s1.data(),s2.data()) < 0; }=0A=
=0A=
inline bool operator<( const QCString &s1, const char *s2 )=0A=
{ return qstrcmp(s1.data(),s2) < 0; }=0A=
=0A=
inline bool operator<( const char *s1, const QCString &s2 )=0A=
{ return qstrcmp(s1,s2.data()) < 0; }=0A=
=0A=
inline bool operator<=3D( const QCString &s1, const char *s2 )=0A=
{ return qstrcmp(s1.data(),s2) <=3D 0; }=0A=
=0A=
inline bool operator<=3D( const char *s1, const QCString &s2 )=0A=
{ return qstrcmp(s1,s2.data()) <=3D 0; }=0A=
=0A=
inline bool operator>( const QCString &s1, const char *s2 )=0A=
{ return qstrcmp(s1.data(),s2) > 0; }=0A=
=0A=
inline bool operator>( const char *s1, const QCString &s2 )=0A=
{ return qstrcmp(s1,s2.data()) > 0; }=0A=
=0A=
inline bool operator>=3D( const QCString &s1, const char *s2 )=0A=
{ return qstrcmp(s1.data(),s2) >=3D 0; }=0A=
=0A=
inline bool operator>=3D( const char *s1, const QCString &s2 )=0A=
{ return qstrcmp(s1,s2.data()) >=3D 0; }=0A=
=0A=
inline const QCString operator+( const QCString &s1, const QCString =
&s2 )=0A=
{=0A=
QCString tmp( s1.data() );=0A=
tmp +=3D s2;=0A=
return tmp;=0A=
}=0A=
=0A=
inline const QCString operator+( const QCString &s1, const char *s2 =
)=0A=
{=0A=
QCString tmp( s1.data() );=0A=
tmp +=3D s2;=0A=
return tmp;=0A=
}=0A=
=0A=
inline const QCString operator+( const char *s1, const QCString &s2 =
)=0A=
{=0A=
QCString tmp( s1 );=0A=
tmp +=3D s2;=0A=
return tmp;=0A=
}=0A=
=0A=
inline const QCString operator+( const QCString &s1, char c2 )=0A=
{=0A=
QCString tmp( s1.data() );=0A=
tmp +=3D c2;=0A=
return tmp;=0A=
}=0A=
=0A=
inline const QCString operator+( char c1, const QCString &s2 )=0A=
{=0A=
QCString tmp;=0A=
tmp +=3D c1;=0A=
tmp +=3D s2;=0A=
return tmp;=0A=
}=0A=
# 51 "/opt/TWWfsw/libqt30/include/qiodevice.h" 2=0A=
# 95 "/opt/TWWfsw/libqt30/include/qiodevice.h"=0A=
class QIODevice=0A=
{=0A=
public:=0A=
=0A=
=0A=
=0A=
typedef Q_ULONG Offset;=0A=
=0A=
=0A=
QIODevice();=0A=
virtual ~QIODevice();=0A=
=0A=
int flags() const { return ioMode; }=0A=
int mode() const { return ioMode & 0x00ff; }=0A=
int state() const { return ioMode & 0xf000; }=0A=
=0A=
bool isDirectAccess() const { return ((ioMode & 0x0100) =3D=3D =
0x0100); }=0A=
bool isSequentialAccess() const { return ((ioMode & 0x0200) =3D=3D =
0x0200); }=0A=
bool isCombinedAccess() const { return ((ioMode & 0x0300) =3D=3D =
0x0300); }=0A=
bool isBuffered() const { return ((ioMode & 0x0040) !=3D 0x0040); =
}=0A=
bool isRaw() const { return ((ioMode & 0x0040) =3D=3D 0x0040); }=0A=
bool isSynchronous() const { return ((ioMode & 0x0080) !=3D =
0x0080); }=0A=
bool isAsynchronous() const { return ((ioMode & 0x0080) =3D=3D =
0x0080); }=0A=
bool isTranslated() const { return ((ioMode & 0x0010) =3D=3D =
0x0010); }=0A=
bool isReadable() const { return ((ioMode & 0x0001) =3D=3D 0x0001); =
}=0A=
bool isWritable() const { return ((ioMode & 0x0002) =3D=3D 0x0002); =
}=0A=
bool isReadWrite() const { return ((ioMode & 0x0003) =3D=3D =
0x0003); }=0A=
bool isInactive() const { return state() =3D=3D 0; }=0A=
bool isOpen() const { return state() =3D=3D 0x1000; }=0A=
=0A=
int status() const { return ioSt; }=0A=
void resetStatus() { ioSt =3D 0; }=0A=
=0A=
virtual bool open( int mode ) =3D 0;=0A=
virtual void close() =3D 0;=0A=
virtual void flush() =3D 0;=0A=
=0A=
virtual Offset size() const =3D 0;=0A=
virtual Offset at() const;=0A=
virtual bool at( Offset );=0A=
virtual bool atEnd() const;=0A=
bool reset() { return at(0); }=0A=
=0A=
virtual Q_LONG readBlock( char *data, Q_ULONG maxlen ) =3D 0;=0A=
virtual Q_LONG writeBlock( const char *data, Q_ULONG len ) =3D =
0;=0A=
virtual Q_LONG readLine( char *data, Q_ULONG maxlen );=0A=
Q_LONG writeBlock( const QByteArray& data );=0A=
virtual QByteArray readAll();=0A=
=0A=
virtual int getch() =3D 0;=0A=
virtual int putch( int ) =3D 0;=0A=
virtual int ungetch( int ) =3D 0;=0A=
=0A=
protected:=0A=
void setFlags( int f ) { ioMode =3D f; }=0A=
void setType( int );=0A=
void setMode( int );=0A=
void setState( int );=0A=
void setStatus( int );=0A=
Offset ioIndex;=0A=
=0A=
private:=0A=
int ioMode;=0A=
int ioSt;=0A=
=0A=
private:=0A=
=0A=
QIODevice( const QIODevice & );=0A=
QIODevice &operator=3D( const QIODevice & );=0A=
=0A=
};=0A=
# 43 "/opt/TWWfsw/libqt30/include/qtextstream.h" 2=0A=
# 1 "/opt/TWWfsw/libqt30/include/qstring.h" 1=0A=
# 51 "/opt/TWWfsw/libqt30/include/qstring.h"=0A=
class QRegExp;=0A=
class QString;=0A=
class QCharRef;=0A=
=0A=
class QChar {=0A=
public:=0A=
QChar();=0A=
QChar( char c );=0A=
QChar( uchar c );=0A=
QChar( uchar c, uchar r );=0A=
QChar( const QChar& c );=0A=
QChar( ushort rc );=0A=
QChar( short rc );=0A=
QChar( uint rc );=0A=
QChar( int rc );=0A=
=0A=
static const QChar null;=0A=
static const QChar replacement;=0A=
static const QChar byteOrderMark;=0A=
static const QChar byteOrderSwapped;=0A=
static const QChar nbsp;=0A=
=0A=
=0A=
=0A=
enum Category=0A=
{=0A=
NoCategory,=0A=
=0A=
Mark_NonSpacing,=0A=
Mark_SpacingCombining,=0A=
Mark_Enclosing,=0A=
=0A=
Number_DecimalDigit,=0A=
Number_Letter,=0A=
Number_Other,=0A=
=0A=
Separator_Space,=0A=
Separator_Line,=0A=
Separator_Paragraph,=0A=
=0A=
Other_Control,=0A=
Other_Format,=0A=
Other_Surrogate,=0A=
Other_PrivateUse,=0A=
Other_NotAssigned,=0A=
=0A=
Letter_Uppercase,=0A=
Letter_Lowercase,=0A=
Letter_Titlecase,=0A=
Letter_Modifier,=0A=
Letter_Other,=0A=
=0A=
Punctuation_Connector,=0A=
Punctuation_Dash,=0A=
Punctuation_Dask =3D Punctuation_Dash,=0A=
Punctuation_Open,=0A=
Punctuation_Close,=0A=
Punctuation_InitialQuote,=0A=
Punctuation_FinalQuote,=0A=
Punctuation_Other,=0A=
=0A=
Symbol_Math,=0A=
Symbol_Currency,=0A=
Symbol_Modifier,=0A=
Symbol_Other=0A=
};=0A=
=0A=
enum Direction=0A=
{=0A=
DirL, DirR, DirEN, DirES, DirET, DirAN, DirCS, DirB, DirS, =
DirWS, DirON,=0A=
DirLRE, DirLRO, DirAL, DirRLE, DirRLO, DirPDF, DirNSM, DirBN=0A=
};=0A=
=0A=
enum Decomposition=0A=
{=0A=
Single, Canonical, Font, NoBreak, Initial, Medial,=0A=
Final, Isolated, Circle, Super, Sub, Vertical,=0A=
Wide, Narrow, Small, Square, Compat, Fraction=0A=
};=0A=
=0A=
enum Joining=0A=
{=0A=
OtherJoining, Dual, Right, Center=0A=
};=0A=
=0A=
enum CombiningClass=0A=
{=0A=
Combining_BelowLeftAttached =3D 200,=0A=
Combining_BelowAttached =3D 202,=0A=
Combining_BelowRightAttached =3D 204,=0A=
Combining_LeftAttached =3D 208,=0A=
Combining_RightAttached =3D 210,=0A=
Combining_AboveLeftAttached =3D 212,=0A=
Combining_AboveAttached =3D 214,=0A=
Combining_AboveRightAttached =3D 216,=0A=
=0A=
Combining_BelowLeft =3D 218,=0A=
Combining_Below =3D 220,=0A=
Combining_BelowRight =3D 222,=0A=
Combining_Left =3D 224,=0A=
Combining_Right =3D 226,=0A=
Combining_AboveLeft =3D 228,=0A=
Combining_Above =3D 230,=0A=
Combining_AboveRight =3D 232,=0A=
=0A=
Combining_DoubleBelow =3D 233,=0A=
Combining_DoubleAbove =3D 234,=0A=
Combining_IotaSubscript =3D 240=0A=
};=0A=
=0A=
=0A=
=0A=
int digitValue() const;=0A=
QChar lower() const;=0A=
QChar upper() const;=0A=
=0A=
Category category() const;=0A=
Direction direction() const;=0A=
Joining joining() const;=0A=
bool mirrored() const;=0A=
QChar mirroredChar() const;=0A=
const QString &decomposition() const;=0A=
Decomposition decompositionTag() const;=0A=
unsigned char combiningClass() const;=0A=
=0A=
char latin1() const { return ucs > 0xff ? 0 : (char) ucs; }=0A=
ushort unicode() const { return ucs; }=0A=
ushort &unicode() { return ucs; }=0A=
=0A=
=0A=
operator char() const { return latin1(); }=0A=
=0A=
=0A=
bool isNull() const { return unicode()=3D=3D0; }=0A=
bool isPrint() const;=0A=
bool isPunct() const;=0A=
bool isSpace() const;=0A=
bool isMark() const;=0A=
bool isLetter() const;=0A=
bool isNumber() const;=0A=
bool isLetterOrNumber() const;=0A=
bool isDigit() const;=0A=
bool isSymbol() const;=0A=
=0A=
uchar cell() const { return ((uchar) ucs & 0xff); }=0A=
uchar row() const { return ((uchar) (ucs>>8)&0xff); }=0A=
void setCell( uchar cell ) { ucs =3D (ucs & 0xff00) + cell; }=0A=
void setRow( uchar row ) { ucs =3D (((ushort) row)<<8) + =
(ucs&0xff); }=0A=
=0A=
static bool networkOrdered() {=0A=
int wordSize;=0A=
bool bigEndian =3D FALSE;=0A=
qSysInfo( &wordSize, &bigEndian );=0A=
return bigEndian;=0A=
}=0A=
=0A=
friend inline bool operator=3D=3D( char ch, QChar c );=0A=
friend inline bool operator=3D=3D( QChar c, char ch );=0A=
friend inline bool operator=3D=3D( QChar c1, QChar c2 );=0A=
friend inline bool operator!=3D( QChar c1, QChar c2 );=0A=
friend inline bool operator!=3D( char ch, QChar c );=0A=
friend inline bool operator!=3D( QChar c, char ch );=0A=
friend inline bool operator<=3D( QChar c, char ch );=0A=
friend inline bool operator<=3D( char ch, QChar c );=0A=
friend inline bool operator<=3D( QChar c1, QChar c2 );=0A=
=0A=
private:=0A=
ushort ucs;=0A=
=0A=
=0A=
=0A=
} ;=0A=
=0A=
inline QChar::QChar()=0A=
{=0A=
ucs =3D 0;=0A=
=0A=
=0A=
=0A=
}=0A=
inline QChar::QChar( char c )=0A=
{=0A=
ucs =3D (uchar)c;=0A=
=0A=
=0A=
=0A=
}=0A=
inline QChar::QChar( uchar c )=0A=
{=0A=
ucs =3D c;=0A=
=0A=
=0A=
=0A=
}=0A=
inline QChar::QChar( uchar c, uchar r )=0A=
{=0A=
ucs =3D (r << 8) | c;=0A=
=0A=
=0A=
=0A=
}=0A=
inline QChar::QChar( const QChar& c )=0A=
{=0A=
ucs =3D c.ucs;=0A=
=0A=
=0A=
=0A=
}=0A=
=0A=
inline QChar::QChar( ushort rc )=0A=
{=0A=
ucs =3D rc;=0A=
=0A=
=0A=
=0A=
}=0A=
inline QChar::QChar( short rc )=0A=
{=0A=
ucs =3D (ushort) rc;=0A=
=0A=
=0A=
=0A=
}=0A=
inline QChar::QChar( uint rc )=0A=
{=0A=
ucs =3D (ushort ) (rc & 0xffff);=0A=
=0A=
=0A=
=0A=
}=0A=
inline QChar::QChar( int rc )=0A=
{=0A=
ucs =3D (ushort) (rc & 0xffff);=0A=
=0A=
=0A=
=0A=
}=0A=
=0A=
=0A=
inline bool operator=3D=3D( char ch, QChar c )=0A=
{=0A=
return ((uchar) ch) =3D=3D c.ucs;=0A=
}=0A=
=0A=
inline bool operator=3D=3D( QChar c, char ch )=0A=
{=0A=
return ((uchar) ch) =3D=3D c.ucs;=0A=
}=0A=
=0A=
inline bool operator=3D=3D( QChar c1, QChar c2 )=0A=
{=0A=
return c1.ucs =3D=3D c2.ucs;=0A=
}=0A=
=0A=
inline bool operator!=3D( QChar c1, QChar c2 )=0A=
{=0A=
return c1.ucs !=3D c2.ucs;=0A=
}=0A=
=0A=
inline bool operator!=3D( char ch, QChar c )=0A=
{=0A=
return ((uchar)ch) !=3D c.ucs;=0A=
}=0A=
=0A=
inline bool operator!=3D( QChar c, char ch )=0A=
{=0A=
return ((uchar) ch) !=3D c.ucs;=0A=
}=0A=
=0A=
inline bool operator<=3D( QChar c, char ch )=0A=
{=0A=
return c.ucs <=3D ((uchar) ch);=0A=
}=0A=
=0A=
inline bool operator<=3D( char ch, QChar c )=0A=
{=0A=
return ((uchar) ch) <=3D c.ucs;=0A=
}=0A=
=0A=
inline bool operator<=3D( QChar c1, QChar c2 )=0A=
{=0A=
return c1.ucs <=3D c2.ucs;=0A=
}=0A=
=0A=
inline bool operator>=3D( QChar c, char ch ) { return ch <=3D c; }=0A=
inline bool operator>=3D( char ch, QChar c ) { return c <=3D ch; }=0A=
inline bool operator>=3D( QChar c1, QChar c2 ) { return c2 <=3D c1; =
}=0A=
inline bool operator<( QChar c, char ch ) { return !(ch<=3Dc); }=0A=
inline bool operator<( char ch, QChar c ) { return !(c<=3Dch); }=0A=
inline bool operator<( QChar c1, QChar c2 ) { return !(c2<=3Dc1); }=0A=
inline bool operator>( QChar c, char ch ) { return !(ch>=3Dc); }=0A=
inline bool operator>( char ch, QChar c ) { return !(c>=3Dch); }=0A=
inline bool operator>( QChar c1, QChar c2 ) { return !(c2>=3Dc1); }=0A=
=0A=
=0A=
struct QStringData : public QShared {=0A=
QStringData() :=0A=
unicode(0), ascii(0), len(0), simpletext(1), maxl(0), dirty(0) =
{ ref(); }=0A=
QStringData(QChar *u, uint l, uint m) :=0A=
unicode(u), ascii(0), len(l), simpletext(1), maxl(m), dirty(1) =
{ }=0A=
=0A=
~QStringData() { if ( unicode ) delete[] ((char*)unicode);=0A=
if ( ascii ) delete[] ascii; }=0A=
=0A=
void deleteSelf();=0A=
QChar *unicode;=0A=
char *ascii;=0A=
void setDirty() {=0A=
if ( ascii ) {=0A=
delete [] ascii;=0A=
ascii =3D 0;=0A=
}=0A=
dirty =3D 1;=0A=
}=0A=
=0A=
=0A=
=0A=
uint len : 30;=0A=
=0A=
uint simpletext : 1;=0A=
=0A=
=0A=
=0A=
uint maxl : 30;=0A=
=0A=
uint dirty : 1;=0A=
};=0A=
=0A=
=0A=
class QString=0A=
{=0A=
public:=0A=
QString();=0A=
QString( QChar );=0A=
QString( const QString & );=0A=
QString( const QByteArray& );=0A=
QString( const QChar* unicode, uint length );=0A=
=0A=
QString( const char *str );=0A=
=0A=
~QString();=0A=
=0A=
QString &operator=3D( const QString & );=0A=
=0A=
QString &operator=3D( const char * );=0A=
=0A=
QString &operator=3D( const QCString& );=0A=
QString &operator=3D( QChar c );=0A=
QString &operator=3D( char c );=0A=
=0A=
static const QString null;=0A=
=0A=
bool isNull() const;=0A=
bool isEmpty() const;=0A=
uint length() const;=0A=
void truncate( uint pos );=0A=
=0A=
QString & fill( QChar c, int len =3D -1 );=0A=
=0A=
QString copy() const;=0A=
=0A=
QString arg( long a, int fieldwidth=3D0, int base=3D10 ) const;=0A=
QString arg( ulong a, int fieldwidth=3D0, int base=3D10 ) const;=0A=
QString arg( int a, int fieldwidth=3D0, int base=3D10 ) const;=0A=
QString arg( uint a, int fieldwidth=3D0, int base=3D10 ) const;=0A=
QString arg( short a, int fieldwidth=3D0, int base=3D10 ) const;=0A=
QString arg( ushort a, int fieldwidth=3D0, int base=3D10 ) =
const;=0A=
QString arg( char a, int fieldwidth=3D0 ) const;=0A=
QString arg( QChar a, int fieldwidth=3D0 ) const;=0A=
QString arg( const QString& a, int fieldwidth=3D0 ) const;=0A=
QString arg( double a, int fieldwidth=3D0, char fmt=3D'g', int =
prec=3D-1 ) const;=0A=
=0A=
=0A=
QString &sprintf( const char* format, ... )=0A=
=0A=
__attribute__ ((format (printf, 2, 3)))=0A=
=0A=
;=0A=
=0A=
=0A=
int find( QChar c, int index=3D0, bool cs=3DTRUE ) const;=0A=
int find( char c, int index=3D0, bool cs=3DTRUE ) const;=0A=
int find( const QString &str, int index=3D0, bool cs=3DTRUE ) =
const;=0A=
=0A=
int find( const QRegExp &, int index=3D0 ) const;=0A=
=0A=
=0A=
int find( const char* str, int index=3D0 ) const;=0A=
=0A=
int findRev( QChar c, int index=3D-1, bool cs=3DTRUE) const;=0A=
int findRev( char c, int index=3D-1, bool cs=3DTRUE) const;=0A=
int findRev( const QString &str, int index=3D-1, bool cs=3DTRUE) =
const;=0A=
=0A=
int findRev( const QRegExp &, int index=3D-1 ) const;=0A=
=0A=
=0A=
int findRev( const char* str, int index=3D-1 ) const;=0A=
=0A=
int contains( QChar c, bool cs=3DTRUE ) const;=0A=
int contains( char c, bool cs=3DTRUE ) const=0A=
{ return contains(QChar(c), cs); }=0A=
=0A=
int contains( const char* str, bool cs=3DTRUE ) const;=0A=
=0A=
int contains( const QString &str, bool cs=3DTRUE ) const;=0A=
=0A=
int contains( const QRegExp & ) const;=0A=
=0A=
=0A=
enum SectionFlags {=0A=
SectionDefault =3D 0x00,=0A=
SectionSkipEmpty =3D 0x01,=0A=
SectionIncludeLeadingSep =3D 0x02,=0A=
SectionIncludeTrailingSep =3D 0x04,=0A=
SectionCaseInsensitiveSeps =3D 0x08=0A=
};=0A=
QString section( QChar sep, int start, int end =3D 0xffffffff, int =
flags =3D SectionDefault ) const;=0A=
QString section( char sep, int start, int end =3D 0xffffffff, int =
flags =3D SectionDefault ) const;=0A=
=0A=
QString section( const char *in_sep, int start, int end =3D =
0xffffffff, int flags =3D SectionDefault ) const;=0A=
=0A=
QString section( const QString &in_sep, int start, int end =3D =
0xffffffff, int flags =3D SectionDefault ) const;=0A=
=0A=
QString section( const QRegExp ®, int start, int end =3D =
0xffffffff, int flags =3D SectionDefault ) const;=0A=
=0A=
=0A=
QString left( uint len ) const;=0A=
QString right( uint len ) const;=0A=
QString mid( uint index, uint len=3D0xffffffff) const;=0A=
=0A=
QString leftJustify( uint width, QChar fill=3D' ', bool =
trunc=3DFALSE)const;=0A=
QString rightJustify( uint width, QChar fill=3D' ',bool =
trunc=3DFALSE)const;=0A=
=0A=
QString lower() const;=0A=
QString upper() const;=0A=
=0A=
QString stripWhiteSpace() const;=0A=
QString simplifyWhiteSpace() const;=0A=
=0A=
QString &insert( uint index, const QString & );=0A=
QString &insert( uint index, const QChar*, uint len );=0A=
QString &insert( uint index, QChar );=0A=
QString &insert( uint index, char c ) { return =
insert(index,QChar(c)); }=0A=
QString &append( char );=0A=
QString &append( QChar );=0A=
QString &append( const QString & );=0A=
QString &prepend( char );=0A=
QString &prepend( QChar );=0A=
QString &prepend( const QString & );=0A=
QString &remove( uint index, uint len );=0A=
QString &replace( uint index, uint len, const QString & );=0A=
QString &replace( uint index, uint len, const QChar*, uint clen =
);=0A=
=0A=
QString &replace( const QRegExp &, const QString & );=0A=
=0A=
short toShort( bool *ok=3D0, int base=3D10 ) const;=0A=
ushort toUShort( bool *ok=3D0, int base=3D10 ) const;=0A=
int toInt( bool *ok=3D0, int base=3D10 ) const;=0A=
uint toUInt( bool *ok=3D0, int base=3D10 ) const;=0A=
long toLong( bool *ok=3D0, int base=3D10 ) const;=0A=
ulong toULong( bool *ok=3D0, int base=3D10 ) const;=0A=
float toFloat( bool *ok=3D0 ) const;=0A=
double toDouble( bool *ok=3D0 ) const;=0A=
=0A=
QString &setNum( short, int base=3D10 );=0A=
QString &setNum( ushort, int base=3D10 );=0A=
QString &setNum( int, int base=3D10 );=0A=
QString &setNum( uint, int base=3D10 );=0A=
QString &setNum( long, int base=3D10 );=0A=
QString &setNum( ulong, int base=3D10 );=0A=
QString &setNum( float, char f=3D'g', int prec=3D6 );=0A=
QString &setNum( double, char f=3D'g', int prec=3D6 );=0A=
=0A=
static QString number( long, int base=3D10 );=0A=
static QString number( ulong, int base=3D10);=0A=
static QString number( int, int base=3D10 );=0A=
static QString number( uint, int base=3D10);=0A=
static QString number( double, char f=3D'g', int prec=3D6 );=0A=
=0A=
void setExpand( uint index, QChar c );=0A=
=0A=
QString &operator+=3D( const QString &str );=0A=
QString &operator+=3D( QChar c );=0A=
QString &operator+=3D( char c );=0A=
=0A=
QChar at( uint i ) const=0A=
{ return i < d->len ? d->unicode[i] : QChar::null; }=0A=
QChar operator[]( int i ) const { return at((uint)i); }=0A=
QCharRef at( uint i );=0A=
QCharRef operator[]( int i );=0A=
=0A=
QChar constref(uint i) const=0A=
{ return at(i); }=0A=
QChar& ref(uint i)=0A=
{=0A=
if ( d->count !=3D 1 || i >=3D d->len )=0A=
subat( i );=0A=
d->setDirty();=0A=
return d->unicode[i];=0A=
}=0A=
=0A=
const QChar* unicode() const { return d->unicode; }=0A=
const char* ascii() const { return latin1(); }=0A=
const char* latin1() const;=0A=
static QString fromLatin1(const char*, int len=3D-1);=0A=
=0A=
QCString utf8() const;=0A=
static QString fromUtf8(const char*, int len=3D-1);=0A=
=0A=
QCString local8Bit() const;=0A=
static QString fromLocal8Bit(const char*, int len=3D-1);=0A=
bool operator!() const;=0A=
=0A=
operator const char *() const { return latin1(); }=0A=
=0A=
=0A=
QString &setUnicode( const QChar* unicode, uint len );=0A=
QString &setUnicodeCodes( const ushort* unicode_as_ushorts, uint =
len );=0A=
QString &setLatin1( const char*, int len=3D-1 );=0A=
=0A=
int compare( const QString& s ) const;=0A=
static int compare( const QString& s1, const QString& s2 )=0A=
{ return s1.compare( s2 ); }=0A=
=0A=
int localeAwareCompare( const QString& s ) const;=0A=
static int localeAwareCompare( const QString& s1, const QString& s2 =
)=0A=
{ return s1.localeAwareCompare( s2 ); }=0A=
=0A=
=0A=
friend QDataStream &operator>>( QDataStream &, QString & );=0A=
=0A=
=0A=
void compose();=0A=
=0A=
=0A=
const char* data() const { return latin1(); }=0A=
=0A=
=0A=
bool startsWith( const QString& ) const;=0A=
bool endsWith( const QString& ) const;=0A=
=0A=
void setLength( uint newLength );=0A=
=0A=
bool simpleText() const { if ( d->dirty ) checkSimpleText(); return =
(bool)d->simpletext; }=0A=
bool isRightToLeft() const;=0A=
=0A=
private:=0A=
# 607 "/opt/TWWfsw/libqt30/include/qstring.h"=0A=
QString& replace( const QString &, const QString & ) { return =
*this; }=0A=
=0A=
QString( int size, bool );=0A=
=0A=
void deref();=0A=
void real_detach();=0A=
void subat( uint );=0A=
bool findArg(int& pos, int& len) const;=0A=
=0A=
void checkSimpleText() const;=0A=
=0A=
static QChar* asciiToUnicode( const char*, uint * len, uint =
maxlen=3D(uint)-1 );=0A=
static QChar* asciiToUnicode( const QByteArray&, uint * len );=0A=
static char* unicodeToAscii( const QChar*, uint len );=0A=
=0A=
QStringData *d;=0A=
static QStringData* shared_null;=0A=
static QStringData* makeSharedNull();=0A=
=0A=
friend class QConstString;=0A=
friend class QTextStream;=0A=
QString( QStringData* dd, bool ) : d(dd) { }=0A=
};=0A=
=0A=
class QCharRef {=0A=
friend class QString;=0A=
QString& s;=0A=
uint p;=0A=
QCharRef(QString* str, uint pos) : s(*str), p(pos) { }=0A=
=0A=
public:=0A=
=0A=
=0A=
=0A=
=0A=
ushort unicode() const { return s.constref(p).unicode(); }=0A=
char latin1() const { return s.constref(p).latin1(); }=0A=
=0A=
=0A=
QCharRef operator=3D(char c ) { s.ref(p)=3Dc; return *this; }=0A=
QCharRef operator=3D(uchar c ) { s.ref(p)=3Dc; return *this; }=0A=
QCharRef operator=3D(QChar c ) { s.ref(p)=3Dc; return *this; }=0A=
QCharRef operator=3D(const QCharRef& c ) { s.ref(p)=3Dc.unicode(); =
return *this; }=0A=
QCharRef operator=3D(ushort rc ) { s.ref(p)=3Drc; return *this; =
}=0A=
QCharRef operator=3D(short rc ) { s.ref(p)=3Drc; return *this; }=0A=
QCharRef operator=3D(uint rc ) { s.ref(p)=3Drc; return *this; }=0A=
QCharRef operator=3D(int rc ) { s.ref(p)=3Drc; return *this; }=0A=
=0A=
operator QChar () const { return s.constref(p); }=0A=
=0A=
=0A=
bool isNull() const { return unicode()=3D=3D0; }=0A=
bool isPrint() const { return s.constref(p).isPrint(); }=0A=
bool isPunct() const { return s.constref(p).isPunct(); }=0A=
bool isSpace() const { return s.constref(p).isSpace(); }=0A=
bool isMark() const { return s.constref(p).isMark(); }=0A=
bool isLetter() const { return s.constref(p).isLetter(); }=0A=
bool isNumber() const { return s.constref(p).isNumber(); }=0A=
bool isLetterOrNumber() { return s.constref(p).isLetterOrNumber(); =
}=0A=
bool isDigit() const { return s.constref(p).isDigit(); }=0A=
=0A=
int digitValue() const { return s.constref(p).digitValue(); }=0A=
QChar lower() const { return s.constref(p).lower(); }=0A=
QChar upper() const { return s.constref(p).upper(); }=0A=
=0A=
QChar::Category category() const { return s.constref(p).category(); =
}=0A=
QChar::Direction direction() const { return =
s.constref(p).direction(); }=0A=
QChar::Joining joining() const { return s.constref(p).joining(); =
}=0A=
bool mirrored() const { return s.constref(p).mirrored(); }=0A=
QChar mirroredChar() const { return s.constref(p).mirroredChar(); =
}=0A=
const QString &decomposition() const { return =
s.constref(p).decomposition(); }=0A=
QChar::Decomposition decompositionTag() const { return =
s.constref(p).decompositionTag(); }=0A=
unsigned char combiningClass() const { return =
s.constref(p).combiningClass(); }=0A=
=0A=
=0A=
uchar cell() const { return s.constref(p).cell(); }=0A=
uchar row() const { return s.constref(p).row(); }=0A=
=0A=
};=0A=
=0A=
inline QCharRef QString::at( uint i ) { return QCharRef(this,i); }=0A=
inline QCharRef QString::operator[]( int i ) { return at((uint)i); }=0A=
=0A=
=0A=
class QConstString : private QString {=0A=
public:=0A=
QConstString( const QChar* unicode, uint length );=0A=
~QConstString();=0A=
const QString& string() const { return *this; }=0A=
};=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
QDataStream &operator<<( QDataStream &, const QString & );=0A=
QDataStream &operator>>( QDataStream &, QString & );=0A=
# 716 "/opt/TWWfsw/libqt30/include/qstring.h"=0A=
inline QString::QString() :=0A=
d(shared_null ? shared_null : makeSharedNull())=0A=
{=0A=
d->ref();=0A=
}=0A=
=0A=
inline QString::~QString()=0A=
{=0A=
if ( d->deref() ) {=0A=
if ( d =3D=3D shared_null )=0A=
shared_null =3D 0;=0A=
d->deleteSelf();=0A=
}=0A=
}=0A=
=0A=
inline QString QString::section( QChar sep, int start, int end, int =
flags ) const=0A=
{ return section(QString(sep), start, end, flags); }=0A=
=0A=
inline QString QString::section( char sep, int start, int end, int =
flags ) const=0A=
{ return section(QChar(sep), start, end, flags); }=0A=
=0A=
=0A=
inline QString QString::section( const char *in_sep, int start, int =
end, int flags ) const=0A=
{ return section(QString(in_sep), start, end, flags); }=0A=
=0A=
=0A=
inline QString &QString::operator=3D( QChar c )=0A=
{ return *this =3D QString(c); }=0A=
=0A=
inline QString &QString::operator=3D( char c )=0A=
{ return *this =3D QString(QChar(c)); }=0A=
=0A=
inline bool QString::isNull() const=0A=
{ return unicode() =3D=3D 0; }=0A=
=0A=
inline bool QString::operator!() const=0A=
{ return isNull(); }=0A=
=0A=
inline uint QString::length() const=0A=
{ return d->len; }=0A=
=0A=
inline bool QString::isEmpty() const=0A=
{ return length() =3D=3D 0; }=0A=
=0A=
inline QString QString::copy() const=0A=
{ return QString( *this ); }=0A=
=0A=
inline QString &QString::prepend( const QString & s )=0A=
{ return insert(0,s); }=0A=
=0A=
inline QString &QString::prepend( QChar c )=0A=
{ return insert(0,c); }=0A=
=0A=
inline QString &QString::prepend( char c )=0A=
{ return insert(0,c); }=0A=
=0A=
inline QString &QString::append( const QString & s )=0A=
{ return operator+=3D(s); }=0A=
=0A=
inline QString &QString::append( QChar c )=0A=
{ return operator+=3D(c); }=0A=
=0A=
inline QString &QString::append( char c )=0A=
{ return operator+=3D(c); }=0A=
=0A=
inline QString &QString::setNum( short n, int base )=0A=
{ return setNum((long)n, base); }=0A=
=0A=
inline QString &QString::setNum( ushort n, int base )=0A=
{ return setNum((ulong)n, base); }=0A=
=0A=
inline QString &QString::setNum( int n, int base )=0A=
{ return setNum((long)n, base); }=0A=
=0A=
inline QString &QString::setNum( uint n, int base )=0A=
{ return setNum((ulong)n, base); }=0A=
=0A=
inline QString &QString::setNum( float n, char f, int prec )=0A=
{ return setNum((double)n,f,prec); }=0A=
=0A=
inline QString QString::arg(int a, int fieldwidth, int base) const=0A=
{ return arg((long)a, fieldwidth, base); }=0A=
=0A=
inline QString QString::arg(uint a, int fieldwidth, int base) const=0A=
{ return arg((ulong)a, fieldwidth, base); }=0A=
=0A=
inline QString QString::arg(short a, int fieldwidth, int base) const=0A=
{ return arg((long)a, fieldwidth, base); }=0A=
=0A=
inline QString QString::arg(ushort a, int fieldwidth, int base) =
const=0A=
{ return arg((ulong)a, fieldwidth, base); }=0A=
=0A=
inline int QString::find( char c, int index, bool cs ) const=0A=
{ return find(QChar(c), index, cs); }=0A=
=0A=
inline int QString::findRev( char c, int index, bool cs) const=0A=
{ return findRev( QChar(c), index, cs ); }=0A=
=0A=
=0A=
=0A=
inline int QString::find( const char* str, int index ) const=0A=
{ return find(QString::fromLatin1(str), index); }=0A=
=0A=
inline int QString::findRev( const char* str, int index ) const=0A=
{ return findRev(QString::fromLatin1(str), index); }=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
bool operator!=3D( const QString &s1, const QString &s2 );=0A=
bool operator<( const QString &s1, const QString &s2 );=0A=
bool operator<=3D( const QString &s1, const QString &s2 );=0A=
bool operator=3D=3D( const QString &s1, const QString &s2 );=0A=
bool operator>( const QString &s1, const QString &s2 );=0A=
bool operator>=3D( const QString &s1, const QString &s2 );=0A=
=0A=
bool operator!=3D( const QString &s1, const char *s2 );=0A=
bool operator<( const QString &s1, const char *s2 );=0A=
bool operator<=3D( const QString &s1, const char *s2 );=0A=
bool operator=3D=3D( const QString &s1, const char *s2 );=0A=
bool operator>( const QString &s1, const char *s2 );=0A=
bool operator>=3D( const QString &s1, const char *s2 );=0A=
bool operator!=3D( const char *s1, const QString &s2 );=0A=
bool operator<( const char *s1, const QString &s2 );=0A=
bool operator<=3D( const char *s1, const QString &s2 );=0A=
bool operator=3D=3D( const char *s1, const QString &s2 );=0A=
=0A=
bool operator>=3D( const char *s1, const QString &s2 );=0A=
=0A=
=0A=
inline const QString operator+( const QString &s1, const QString &s2 =
)=0A=
{=0A=
QString tmp( s1 );=0A=
tmp +=3D s2;=0A=
return tmp;=0A=
}=0A=
=0A=
=0A=
inline const QString operator+( const QString &s1, const char *s2 )=0A=
{=0A=
QString tmp( s1 );=0A=
tmp +=3D QString::fromLatin1(s2);=0A=
return tmp;=0A=
}=0A=
=0A=
inline const QString operator+( const char *s1, const QString &s2 )=0A=
{=0A=
QString tmp =3D QString::fromLatin1( s1 );=0A=
tmp +=3D s2;=0A=
return tmp;=0A=
}=0A=
=0A=
=0A=
inline const QString operator+( const QString &s1, QChar c2 )=0A=
{=0A=
QString tmp( s1 );=0A=
tmp +=3D c2;=0A=
return tmp;=0A=
}=0A=
=0A=
inline const QString operator+( const QString &s1, char c2 )=0A=
{=0A=
QString tmp( s1 );=0A=
tmp +=3D c2;=0A=
return tmp;=0A=
}=0A=
=0A=
inline const QString operator+( QChar c1, const QString &s2 )=0A=
{=0A=
QString tmp;=0A=
tmp +=3D c1;=0A=
tmp +=3D s2;=0A=
return tmp;=0A=
}=0A=
=0A=
inline const QString operator+( char c1, const QString &s2 )=0A=
{=0A=
QString tmp;=0A=
tmp +=3D c1;=0A=
tmp +=3D s2;=0A=
return tmp;=0A=
}=0A=
# 44 "/opt/TWWfsw/libqt30/include/qtextstream.h" 2=0A=
# 1 =
"/opt/TWWfsw/gcc321/lib/gcc-lib/sparc-sun-solaris2.7/3.2.1/include/stdio=
.h" 1 3 4=0A=
# 14 =
"/opt/TWWfsw/gcc321/lib/gcc-lib/sparc-sun-solaris2.7/3.2.1/include/stdio=
.h" 3 4=0A=
# 1 =
"/opt/TWWfsw/gcc321/lib/gcc-lib/sparc-sun-solaris2.7/3.2.1/include/stdar=
g.h" 1 3 4=0A=
# 43 =
"/opt/TWWfsw/gcc321/lib/gcc-lib/sparc-sun-solaris2.7/3.2.1/include/stdar=
g.h" 3 4=0A=
typedef __builtin_va_list __gnuc_va_list;=0A=
# 15 =
"/opt/TWWfsw/gcc321/lib/gcc-lib/sparc-sun-solaris2.7/3.2.1/include/stdio=
.h" 2 3 4=0A=
# 34 =
"/opt/TWWfsw/gcc321/lib/gcc-lib/sparc-sun-solaris2.7/3.2.1/include/stdio=
.h" 3 4=0A=
#pragma ident "@(#)stdio.h 1.69 98/07/13 SMI" =0A=
=0A=
=0A=
# 1 "/usr/include/sys/va_list.h" 1 3 4=0A=
# 9 "/usr/include/sys/va_list.h" 3 4=0A=
#pragma ident "@(#)va_list.h 1.11 97/11/22 SMI"=0A=
# 22 "/usr/include/sys/va_list.h" 3 4=0A=
extern "C" {=0A=
=0A=
=0A=
=0A=
typedef void *__va_list;=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
}=0A=
# 38 =
"/opt/TWWfsw/gcc321/lib/gcc-lib/sparc-sun-solaris2.7/3.2.1/include/stdio=
.h" 2 3 4=0A=
# 1 =
"/opt/TWWfsw/gcc321/lib/gcc-lib/sparc-sun-solaris2.7/3.2.1/include/stdio=
_tag.h" 1 3 4=0A=
# 18 =
"/opt/TWWfsw/gcc321/lib/gcc-lib/sparc-sun-solaris2.7/3.2.1/include/stdio=
_tag.h" 3 4=0A=
#pragma ident "@(#)stdio_tag.h 1.3 98/04/20 SMI"=0A=
=0A=
=0A=
extern "C" {=0A=
# 30 =
"/opt/TWWfsw/gcc321/lib/gcc-lib/sparc-sun-solaris2.7/3.2.1/include/stdio=
_tag.h" 3 4=0A=
typedef struct __FILE __FILE;=0A=
=0A=
=0A=
=0A=
}=0A=
# 39 =
"/opt/TWWfsw/gcc321/lib/gcc-lib/sparc-sun-solaris2.7/3.2.1/include/stdio=
.h" 2 3 4=0A=
# 1 "/usr/include/stdio_impl.h" 1 3 4=0A=
# 9 "/usr/include/stdio_impl.h" 3 4=0A=
#pragma ident "@(#)stdio_impl.h 1.8 99/06/30 SMI"=0A=
=0A=
=0A=
=0A=
=0A=
extern "C" {=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
typedef int ssize_t;=0A=
# 38 "/usr/include/stdio_impl.h" 3 4=0A=
struct __FILE=0A=
{=0A=
=0A=
=0A=
=0A=
=0A=
ssize_t _cnt;=0A=
unsigned char *_ptr;=0A=
=0A=
unsigned char *_base;=0A=
unsigned char _flag;=0A=
unsigned char _file;=0A=
unsigned __orientation:2;=0A=
unsigned __ionolock:1;=0A=
unsigned __filler:5;=0A=
};=0A=
=0A=
=0A=
=0A=
=0A=
}=0A=
# 40 =
"/opt/TWWfsw/gcc321/lib/gcc-lib/sparc-sun-solaris2.7/3.2.1/include/stdio=
.h" 2 3 4=0A=
# 50 =
"/opt/TWWfsw/gcc321/lib/gcc-lib/sparc-sun-solaris2.7/3.2.1/include/stdio=
.h" 3 4=0A=
extern "C" {=0A=
=0A=
=0A=
=0A=
=0A=
typedef __FILE FILE;=0A=
# 74 =
"/opt/TWWfsw/gcc321/lib/gcc-lib/sparc-sun-solaris2.7/3.2.1/include/stdio=
.h" 3 4=0A=
typedef long long __longlong_t;=0A=
# 88 =
"/opt/TWWfsw/gcc321/lib/gcc-lib/sparc-sun-solaris2.7/3.2.1/include/stdio=
.h" 3 4=0A=
typedef long off_t;=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
typedef __longlong_t off64_t;=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
typedef long fpos_t;=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
typedef __longlong_t fpos64_t;=0A=
# 132 =
"/opt/TWWfsw/gcc321/lib/gcc-lib/sparc-sun-solaris2.7/3.2.1/include/stdio=
.h" 3 4=0A=
typedef __va_list __not_va_list__;=0A=
# 203 =
"/opt/TWWfsw/gcc321/lib/gcc-lib/sparc-sun-solaris2.7/3.2.1/include/stdio=
.h" 3 4=0A=
extern FILE __iob[20];=0A=
# 215 "/opt/TWWfsw/gcc321/lib/gcc-lib/sparc-sun-solaris2.7/3.2.1/include=
/stdio.h" 3 4=0A=
extern unsigned char _sibuf[], _sobuf[];=0A=
# 244 =
"/opt/TWWfsw/gcc321/lib/gcc-lib/sparc-sun-solaris2.7/3.2.1/include/stdio=
.h" 3 4=0A=
extern unsigned char *_bufendtab[];=0A=
extern FILE *_lastbuf;=0A=
# 275 =
"/opt/TWWfsw/gcc321/lib/gcc-lib/sparc-sun-solaris2.7/3.2.1/include/stdio=
.h" 3 4=0A=
extern int remove(const char *);=0A=
extern int rename(const char *, const char *);=0A=
extern FILE *tmpfile(void);=0A=
extern char *tmpnam(char *);=0A=
=0A=
extern char *tmpnam_r(char *);=0A=
=0A=
extern int fclose(FILE *);=0A=
extern int fflush(FILE *);=0A=
extern FILE *fopen(const char *, const char *);=0A=
extern FILE *freopen(const char *, const char *, FILE *);=0A=
extern void setbuf(FILE *, char *);=0A=
=0A=
=0A=
extern void setbuffer(FILE *, char *, size_t);=0A=
extern int setlinebuf(FILE *);=0A=
=0A=
extern int setvbuf(FILE *, char *, int, size_t);=0A=
=0A=
extern int fprintf(FILE *, const char *, ...);=0A=
=0A=
extern int fscanf(FILE *, const char *, ...);=0A=
=0A=
extern int printf(const char *, ...);=0A=
=0A=
extern int scanf(const char *, ...);=0A=
=0A=
=0A=
=0A=
=0A=
extern int snprintf(char *, size_t, const char *, ...);=0A=
=0A=
=0A=
extern int sprintf(char *, const char *, ...);=0A=
=0A=
extern int sscanf(const char *, const char *, ...);=0A=
extern int vfprintf(FILE *, const char *, __gnuc_va_list);=0A=
extern int vprintf(const char *, __gnuc_va_list);=0A=
=0A=
=0A=
=0A=
extern int vsnprintf(char *, size_t, const char *, __gnuc_va_list);=0A=
=0A=
extern int vsprintf(char *, const char *, __gnuc_va_list);=0A=
extern int fgetc(FILE *);=0A=
extern char *fgets(char *, int, FILE *);=0A=
extern int fputc(int, FILE *);=0A=
extern int fputs(const char *, FILE *);=0A=
extern int getc(FILE *);=0A=
extern int getchar(void);=0A=
extern char *gets(char *);=0A=
extern int putc(int, FILE *);=0A=
extern int putchar(int);=0A=
extern int puts(const char *);=0A=
extern int ungetc(int, FILE *);=0A=
extern size_t fread(void *, size_t, size_t, FILE *);=0A=
extern size_t fwrite(const void *, size_t, size_t, FILE *);=0A=
extern int fgetpos(FILE *, fpos_t *);=0A=
extern int fseek(FILE *, long, int);=0A=
extern int fsetpos(FILE *, const fpos_t *);=0A=
extern long ftell(FILE *);=0A=
extern void rewind(FILE *);=0A=
extern void clearerr(FILE *);=0A=
extern int feof(FILE *);=0A=
extern int ferror(FILE *);=0A=
extern void perror(const char *);=0A=
=0A=
=0A=
extern int __filbuf(FILE *);=0A=
extern int __flsbuf(int, FILE *);=0A=
# 353 =
"/opt/TWWfsw/gcc321/lib/gcc-lib/sparc-sun-solaris2.7/3.2.1/include/stdio=
.h" 3 4=0A=
extern FILE *fdopen(int, const char *);=0A=
extern char *ctermid(char *);=0A=
extern int fileno(FILE *);=0A=
# 364 =
"/opt/TWWfsw/gcc321/lib/gcc-lib/sparc-sun-solaris2.7/3.2.1/include/stdio=
.h" 3 4=0A=
extern void flockfile(FILE *);=0A=
extern int ftrylockfile(FILE *);=0A=
extern void funlockfile(FILE *);=0A=
extern int getc_unlocked(FILE *);=0A=
extern int getchar_unlocked(void);=0A=
extern int putc_unlocked(int, FILE *);=0A=
extern int putchar_unlocked(int);=0A=
# 379 =
"/opt/TWWfsw/gcc321/lib/gcc-lib/sparc-sun-solaris2.7/3.2.1/include/stdio=
.h" 3 4=0A=
extern FILE *popen(const char *, const char *);=0A=
extern char *cuserid(char *);=0A=
extern char *tempnam(const char *, const char *);=0A=
extern int getopt(int, char *const *, const char *);=0A=
=0A=
=0A=
=0A=
extern char *optarg;=0A=
extern int optind, opterr, optopt;=0A=
extern int getw(FILE *);=0A=
extern int putw(int, FILE *);=0A=
extern int pclose(FILE *);=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
extern int fseeko(FILE *, off_t, int);=0A=
extern off_t ftello(FILE *);=0A=
# 408 =
"/opt/TWWfsw/gcc321/lib/gcc-lib/sparc-sun-solaris2.7/3.2.1/include/stdio=
.h" 3 4=0A=
extern FILE *fopen64(const char *, const char *);=0A=
extern FILE *freopen64(const char *, const char *, FILE *);=0A=
extern FILE *tmpfile64(void);=0A=
extern int fgetpos64(FILE *, fpos64_t *);=0A=
extern int fsetpos64(FILE *, const fpos64_t *);=0A=
extern int fseeko64(FILE *, off64_t, int);=0A=
extern off64_t ftello64(FILE *);=0A=
# 586 =
"/opt/TWWfsw/gcc321/lib/gcc-lib/sparc-sun-solaris2.7/3.2.1/include/stdio=
.h" 3 4=0A=
}=0A=
# 45 "/opt/TWWfsw/libqt30/include/qtextstream.h" 2=0A=
=0A=
=0A=
=0A=
class QTextCodec;=0A=
class QTextDecoder;=0A=
=0A=
class QTextStreamPrivate;=0A=
=0A=
class QTextStream=0A=
{=0A=
public:=0A=
enum Encoding { Locale, Latin1, Unicode, UnicodeNetworkOrder,=0A=
UnicodeReverse, RawUnicode, UnicodeUTF8 };=0A=
=0A=
void setEncoding( Encoding );=0A=
=0A=
void setCodec( QTextCodec* );=0A=
=0A=
=0A=
=0A=
=0A=
QTextStream();=0A=
QTextStream( QIODevice * );=0A=
QTextStream( QString*, int mode );=0A=
QTextStream( QString&, int mode );=0A=
QTextStream( QByteArray, int mode );=0A=
QTextStream( FILE *, int mode );=0A=
virtual ~QTextStream();=0A=
=0A=
QIODevice *device() const;=0A=
void setDevice( QIODevice * );=0A=
void unsetDevice();=0A=
=0A=
bool atEnd() const;=0A=
bool eof() const;=0A=
=0A=
QTextStream &operator>>( QChar & );=0A=
QTextStream &operator>>( char & );=0A=
QTextStream &operator>>( signed short & );=0A=
QTextStream &operator>>( unsigned short & );=0A=
QTextStream &operator>>( signed int & );=0A=
QTextStream &operator>>( unsigned int & );=0A=
QTextStream &operator>>( signed long & );=0A=
QTextStream &operator>>( unsigned long & );=0A=
QTextStream &operator>>( float & );=0A=
QTextStream &operator>>( double & );=0A=
QTextStream &operator>>( char * );=0A=
QTextStream &operator>>( QString & );=0A=
QTextStream &operator>>( QCString & );=0A=
=0A=
QTextStream &operator<<( QChar );=0A=
QTextStream &operator<<( char );=0A=
QTextStream &operator<<( signed short );=0A=
QTextStream &operator<<( unsigned short );=0A=
QTextStream &operator<<( signed int );=0A=
QTextStream &operator<<( unsigned int );=0A=
QTextStream &operator<<( signed long );=0A=
QTextStream &operator<<( unsigned long );=0A=
QTextStream &operator<<( float );=0A=
QTextStream &operator<<( double );=0A=
QTextStream &operator<<( const char* );=0A=
QTextStream &operator<<( const QString & );=0A=
QTextStream &operator<<( const QCString & );=0A=
QTextStream &operator<<( void * );=0A=
=0A=
QTextStream &readRawBytes( char *, uint len );=0A=
QTextStream &writeRawBytes( const char* , uint len );=0A=
=0A=
QString readLine();=0A=
QString read();=0A=
void skipWhiteSpace();=0A=
=0A=
enum {=0A=
skipws =3D 0x0001,=0A=
left =3D 0x0002,=0A=
right =3D 0x0004,=0A=
internal =3D 0x0008,=0A=
bin =3D 0x0010,=0A=
oct =3D 0x0020,=0A=
dec =3D 0x0040,=0A=
hex =3D 0x0080,=0A=
showbase =3D 0x0100,=0A=
showpoint =3D 0x0200,=0A=
uppercase =3D 0x0400,=0A=
showpos =3D 0x0800,=0A=
scientific=3D 0x1000,=0A=
fixed =3D 0x2000=0A=
};=0A=
=0A=
static const int basefield;=0A=
static const int adjustfield;=0A=
static const int floatfield;=0A=
=0A=
int flags() const;=0A=
int flags( int f );=0A=
int setf( int bits );=0A=
int setf( int bits, int mask );=0A=
int unsetf( int bits );=0A=
=0A=
void reset();=0A=
=0A=
int width() const;=0A=
int width( int );=0A=
int fill() const;=0A=
int fill( int );=0A=
int precision() const;=0A=
int precision( int );=0A=
=0A=
private:=0A=
long input_int();=0A=
void init();=0A=
QTextStream &output_int( int, ulong, bool );=0A=
QIODevice *dev;=0A=
=0A=
int fflags;=0A=
int fwidth;=0A=
int fillchar;=0A=
int fprec;=0A=
bool doUnicodeHeader;=0A=
bool owndev;=0A=
QTextCodec *mapper;=0A=
QTextStreamPrivate * d;=0A=
QChar unused1;=0A=
bool latin1;=0A=
bool internalOrder;=0A=
bool networkOrder;=0A=
void *unused2;=0A=
=0A=
QChar eat_ws();=0A=
uint ts_getline( QChar* );=0A=
void ts_ungetc( QChar );=0A=
QChar ts_getc();=0A=
uint ts_getbuf( QChar*, uint );=0A=
void ts_putc(int);=0A=
void ts_putc(QChar);=0A=
bool ts_isspace(QChar);=0A=
bool ts_isdigit(QChar);=0A=
ulong input_bin();=0A=
ulong input_oct();=0A=
ulong input_dec();=0A=
ulong input_hex();=0A=
double input_double();=0A=
QTextStream &writeBlock( const char* p, uint len );=0A=
QTextStream &writeBlock( const QChar* p, uint len );=0A=
=0A=
private:=0A=
=0A=
QTextStream( const QTextStream & );=0A=
QTextStream &operator=3D( const QTextStream & );=0A=
=0A=
};=0A=
=0A=
typedef QTextStream QTS;=0A=
=0A=
class QTextIStream : public QTextStream {=0A=
public:=0A=
QTextIStream( const QString* s ) :=0A=
QTextStream((QString*)s,0x0001) { }=0A=
QTextIStream( QByteArray ba ) :=0A=
QTextStream(ba,0x0001) { }=0A=
QTextIStream( FILE *f ) :=0A=
QTextStream(f,0x0001) { }=0A=
};=0A=
=0A=
class QTextOStream : public QTextStream {=0A=
public:=0A=
QTextOStream( QString* s ) :=0A=
QTextStream(s,0x0002) { }=0A=
QTextOStream( QByteArray ba ) :=0A=
QTextStream(ba,0x0002) { }=0A=
QTextOStream( FILE *f ) :=0A=
QTextStream(f,0x0002) { }=0A=
};=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
inline QIODevice *QTextStream::device() const=0A=
{ return dev; }=0A=
=0A=
inline bool QTextStream::atEnd() const=0A=
{ return dev ? dev->atEnd() : FALSE; }=0A=
=0A=
inline bool QTextStream::eof() const=0A=
{ return atEnd(); }=0A=
=0A=
inline int QTextStream::flags() const=0A=
{ return fflags; }=0A=
=0A=
inline int QTextStream::flags( int f )=0A=
{ int oldf =3D fflags; fflags =3D f; return oldf; }=0A=
=0A=
inline int QTextStream::setf( int bits )=0A=
{ int oldf =3D fflags; fflags |=3D bits; return oldf; }=0A=
=0A=
inline int QTextStream::setf( int bits, int mask )=0A=
{ int oldf =3D fflags; fflags =3D (fflags & ~mask) | (bits & mask); =
return oldf; }=0A=
=0A=
inline int QTextStream::unsetf( int bits )=0A=
{ int oldf =3D fflags; fflags &=3D ~bits; return oldf; }=0A=
=0A=
inline int QTextStream::width() const=0A=
{ return fwidth; }=0A=
=0A=
inline int QTextStream::width( int w )=0A=
{ int oldw =3D fwidth; fwidth =3D w; return oldw; }=0A=
=0A=
inline int QTextStream::fill() const=0A=
{ return fillchar; }=0A=
=0A=
inline int QTextStream::fill( int f )=0A=
{ int oldc =3D fillchar; fillchar =3D f; return oldc; }=0A=
=0A=
inline int QTextStream::precision() const=0A=
{ return fprec; }=0A=
=0A=
inline int QTextStream::precision( int p )=0A=
{ int oldp =3D fprec; fprec =3D p; return oldp; }=0A=
=0A=
=0A=
=0A=
=0A=
inline QChar QTextStream::ts_getc()=0A=
{ QChar r; return ( ts_getbuf( &r,1 ) =3D=3D 1 ? r : =
QChar((ushort)0xffff) ); }=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
typedef QTextStream & (*QTSFUNC)(QTextStream &);=0A=
typedef int (QTextStream::*QTSMFI)(int);=0A=
=0A=
class QTSManip {=0A=
public:=0A=
QTSManip( QTSMFI m, int a ) { mf=3Dm; arg=3Da; }=0A=
void exec( QTextStream &s ) { (s.*mf)(arg); }=0A=
private:=0A=
QTSMFI mf;=0A=
int arg;=0A=
};=0A=
=0A=
inline QTextStream &operator>>( QTextStream &s, QTSFUNC f )=0A=
{ return (*f)( s ); }=0A=
=0A=
inline QTextStream &operator<<( QTextStream &s, QTSFUNC f )=0A=
{ return (*f)( s ); }=0A=
=0A=
inline QTextStream &operator<<( QTextStream &s, QTSManip m )=0A=
{ m.exec(s); return s; }=0A=
=0A=
QTextStream &bin( QTextStream &s );=0A=
QTextStream &oct( QTextStream &s );=0A=
QTextStream &dec( QTextStream &s );=0A=
QTextStream &hex( QTextStream &s );=0A=
QTextStream &endl( QTextStream &s );=0A=
QTextStream &flush( QTextStream &s );=0A=
QTextStream &ws( QTextStream &s );=0A=
QTextStream &reset( QTextStream &s );=0A=
=0A=
inline QTSManip qSetW( int w )=0A=
{=0A=
QTSMFI func =3D &QTextStream::width;=0A=
return QTSManip(func,w);=0A=
}=0A=
=0A=
inline QTSManip qSetFill( int f )=0A=
{=0A=
QTSMFI func =3D &QTextStream::fill;=0A=
return QTSManip(func,f);=0A=
}=0A=
=0A=
inline QTSManip qSetPrecision( int p )=0A=
{=0A=
QTSMFI func =3D &QTextStream::precision;=0A=
return QTSManip(func,p);=0A=
}=0A=
# 5 "x_QTSManip.cpp" 2=0A=
=0A=
class x_QTSManip : public QTSManip {=0A=
public:=0A=
static void x_0(Smoke::Stack x) {=0A=
=0A=
x_QTSManip* xret =3D new =
x_QTSManip((QTSMFI)x[1].s_int,(int)x[2].s_int);=0A=
x[0].s_class =3D (void*)xret;=0A=
}=0A=
x_QTSManip(QTSMFI x1, int x2) : QTSManip(x1, x2) {=0A=
}=0A=
void x_1(Smoke::Stack x) {=0A=
=0A=
this->QTSManip::exec(*(QTextStream *)x[1].s_class);=0A=
(void)x;=0A=
}=0A=
static void x_2(Smoke::Stack x) {=0A=
=0A=
x_QTSManip* xret =3D new x_QTSManip(*(const QTSManip =
*)x[1].s_class);=0A=
x[0].s_class =3D (void*)xret;=0A=
}=0A=
x_QTSManip(const QTSManip& x1) : QTSManip(x1) {=0A=
}=0A=
~x_QTSManip() { qt_Smoke->binding->deleted(313, (void*)this); }=0A=
};=0A=
void xcall_QTSManip(Smoke::Index xi, void *obj, Smoke::Stack args) {=0A=
x_QTSManip *xself =3D (x_QTSManip*)obj;=0A=
switch(xi) {=0A=
case 0: x_QTSManip::x_0(args); break;=0A=
case 1: xself->x_1(args); break;=0A=
case 2: x_QTSManip::x_2(args); break;=0A=
case 3: delete (QTSManip*)xself; break;=0A=
}=0A=
}=0A=
------_=_NextPart_000_01C29A16.8477B1B0--
^ permalink raw reply [flat|nested] 3+ messages in thread
* c++/8173: Internal error in g++ on compiling Qt-retated code (PerlQt module)
@ 2002-10-09 3:26 marek.rouchal
0 siblings, 0 replies; 3+ messages in thread
From: marek.rouchal @ 2002-10-09 3:26 UTC (permalink / raw)
To: gcc-gnats
>Number: 8173
>Category: c++
>Synopsis: Internal error in g++ on compiling Qt-retated code (PerlQt module)
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Wed Oct 09 03:26:03 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Marek Rouchal
>Release: gcc 3.2
>Organization:
>Environment:
uname -a: SunOS tamarix 5.7 Generic_106541-22 sun4u sparc SUNW,Ultra-60
>Description:
I am trying to compile the PerlQt-3.002 module on Solaris 7
(Sparc) with gcc 3.2, which gives an internal compile error.
The error occurs in a file within a long list, where the
majority of others compile fine. Here is the call to g++ and
its output:
$ g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -I/opt/TWWfsw/kde302/include -I/opt/TWWfsw/libqt30/include -I/home/hwadm/Perl/TWW/include -DQT_THREAD_SUPPORT -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4 -O2 -fno-exceptions -fno-check-new -c x_QTSManip.cpp -Wp,-MD,.deps/x_QTSManip.TPlo -fPIC -DPIC -o .libs/x_QTSManip.o
x_QTSManip.cpp: In function `void xcall_QTSManip(short int, void*,
Smoke::StackItem*)':
x_QTSManip.cpp:13: Internal compiler error in simplify_gen_subreg, at
simplify-rtx.c:2711
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>How-To-Repeat:
The file is attached; the smoke.h file is included below, the other include files come from Qt-3.0.2
#ifndef SMOKE_H
#define SMOKE_H
#include <string.h>
/*
* Copyright (C) 2002, Ashley Winters <qaqortog@nwlink.com>
*/
class SmokeBinding;
class Smoke {
public:
union StackItem; // defined below
/**
* A stack is an array of arguments, passed to a method when calling it.
*/
typedef StackItem* Stack;
enum EnumOperation {
EnumNew,
EnumDelete,
EnumFromLong,
EnumToLong
};
typedef short Index;
typedef void (*ClassFn)(Index method, void* obj, Stack args);
typedef void* (*CastFn)(void* obj, Index from, Index to);
typedef void (*EnumFn)(EnumOperation, Index, void*&, long&);
enum ClassFlags {
cf_constructor = 0x01, // has a constructor
cf_deepcopy = 0x02, // has copy constructor
cf_virtual = 0x04, // has virtual destructor
cf_undefined = 0x10 // defined elsewhere
};
/**
* Describe one class.
*/
struct Class {
const char *className; // Name of the class
Index parents; // Index into inheritanceList
ClassFn classFn; // Calls any method in the class
EnumFn enumFn; // Handles enum pointers
unsigned short flags; // ClassFlags
};
enum MethodFlags {
mf_static = 0x01,
mf_const = 0x02
};
/**
* Describe one method of one class.
*/
struct Method {
Index classId; // Index into classes
Index name; // Index into methodNames; real name
Index args; // Index into argumentList
unsigned char numArgs; // Number of arguments
unsigned char flags; // MethodFlags (const/static/etc...)
Index ret; // Index into types for the return type
Index method; // Passed to Class.classFn, to call method
};
/**
* One MethodMap entry maps the munged method prototype
* to the Method entry.
*
* The munging works this way:
* $ is a plain scalar
* # is an object
* ? is a non-scalar (reference to array or hash, undef)
*
* e.g. QApplication(int &, char **) becomes QApplication$?
*/
struct MethodMap {
Index classId; // Index into classes
Index name; // Index into methodNames; munged name
Index method; // Index into methods
};
enum TypeFlags {
// The first 4 bits indicate the TypeId value, i.e. which field
// of the StackItem union is used.
tf_elem = 0x0F,
// Always only one of the next three flags should be set
tf_stack = 0x10, // Stored on the stack, 'type'
tf_ptr = 0x20, // Pointer, 'type*'
tf_ref = 0x30, // Reference, 'type&'
// Can | whatever ones of these apply
tf_const = 0x40 // const argument
};
/**
* One Type entry is one argument type needed by a method.
* Type entries are shared, there is only one entry for "int" etc.
*/
struct Type {
const char *name; // Stringified type name
Index classId; // Index into classes. -1 for none
unsigned short flags; // TypeFlags
};
// We could just pass everything around using void* (pass-by-reference)
// I don't want to, though. -aw
union StackItem {
void* s_voidp;
bool s_bool;
char s_char;
unsigned char s_uchar;
short s_short;
unsigned short s_ushort;
int s_int;
unsigned int s_uint;
long s_long;
unsigned long s_ulong;
float s_float;
double s_double;
long s_enum;
void* s_class;
};
enum TypeId {
t_voidp,
t_bool,
t_char,
t_uchar,
t_short,
t_ushort,
t_int,
t_uint,
t_long,
t_ulong,
t_float,
t_double,
t_enum,
t_class,
t_last // number of pre-defined types
};
// Passed to constructor
/**
* The classes array defines every class for this module
*/
Class *classes;
Index numClasses;
/**
* The methods array defines every method in every class for this module
*/
Method *methods;
Index numMethods;
/**
* methodMaps maps the munged method prototypes
* to the methods entries.
*/
MethodMap *methodMaps;
Index numMethodMaps;
/**
* Array of method names, for Method.name and MethodMap.name
*/
const char **methodNames;
Index numMethodNames;
/**
* List of all types needed by the methods (arguments and return values)
*/
Type *types;
Index numTypes;
/**
* Groups of class IDs (-1 separated) used as super class lists.
* For classes with super classes: Class.parents = index into this array.
*/
Index *inheritanceList;
/**
* Groups of type IDs (-1 separated), describing the types of argument for a method.
* Method.args = index into this array.
*/
Index *argumentList;
/**
* Groups of method prototypes with the same number of arguments, but different types.
* Used to resolve overloading.
*/
Index *ambiguousMethodList;
/**
* Function used for casting from/to the classes defined by this module.
*/
CastFn castFn;
// Not passed to constructor
SmokeBinding *binding;
/**
* Constructor
*/
Smoke(Class *_classes, Index _numClasses,
Method *_methods, Index _numMethods,
MethodMap *_methodMaps, Index _numMethodMaps,
const char **_methodNames, Index _numMethodNames,
Type *_types, Index _numTypes,
Index *_inheritanceList,
Index *_argumentList,
Index *_ambiguousMethodList,
CastFn _castFn) :
classes(_classes), numClasses(_numClasses),
methods(_methods), numMethods(_numMethods),
methodMaps(_methodMaps), numMethodMaps(_numMethodMaps),
methodNames(_methodNames), numMethodNames(_numMethodNames),
types(_types), numTypes(_numTypes),
inheritanceList(_inheritanceList),
argumentList(_argumentList),
ambiguousMethodList(_ambiguousMethodList),
castFn(_castFn),
binding(0)
{}
inline void *cast(void *ptr, Index from, Index to) {
if(!castFn) return ptr;
return (*castFn)(ptr, from, to);
}
// return classname directly
inline const char *className(Index classId) {
return classes[classId].className;
}
inline int leg(Index a, Index b) { // ala Perl's <=>
if(a == b) return 0;
return (a > b) ? 1 : -1;
}
inline Index idType(const char *t) {
if(!t) return 0;
Index imax = numTypes;
Index imin = 0;
Index icur = -1;
int icmp = -1;
while(imax >= imin) {
icur = (imin + imax) / 2;
if(icur > 0)
icmp = strcmp(types[icur].name, t);
else
icmp = -1;
if(!icmp) break;
if(icmp > 0)
imax = icur - 1;
else
imin = icur + 1;
}
return (!icmp) ? icur : 0;
}
inline Index idClass(const char *c) {
if(!c) return 0;
Index imax = numClasses;
Index imin = 0;
Index icur = -1;
int icmp = -1;
while(imax >= imin) {
icur = (imin + imax) / 2;
if(icur > 0)
icmp = strcmp(classes[icur].className, c);
else
icmp = -1;
if(!icmp) break;
if(icmp > 0)
imax = icur - 1;
else
imin = icur + 1;
}
return (!icmp) ? icur : 0;
}
inline Index idMethodName(const char *m) {
if(!m) return 0;
Index imax = numMethodNames;
Index imin = 0;
Index icur = -1;
int icmp = -1;
while(imax >= imin) {
icur = (imin + imax) / 2;
icmp = strcmp(methodNames[icur], m);
if(!icmp) break;
if(icmp > 0)
imax = icur - 1;
else
imin = icur + 1;
}
return (!icmp) ? icur : 0;
}
inline Index idMethod(Index c, Index name) {
Index imax = numMethodMaps;
Index imin = 0;
Index icur = -1;
int icmp = -1;
while(imax >= imin) {
icur = (imin + imax) / 2;
icmp = leg(methodMaps[icur].classId, c);
if(!icmp) {
icmp = leg(methodMaps[icur].name, name);
if(!icmp) break;
}
if(icmp > 0)
imax = icur - 1;
else
imin = icur + 1;
}
return (!icmp) ? icur : 0;
}
inline Index findMethod(Index c, Index name) {
// TODO: If method is in a parent module, forward the call from here
if(!c || !name) return 0;
Index mid = idMethod(c, name);
if(mid) return mid;
if(!classes[c].parents) return 0;
for(int p = classes[c].parents; inheritanceList[p] ; p++) {
mid = findMethod(inheritanceList[p], name);
if(mid) return mid;
}
return 0;
}
inline Index findMethod(const char *c, const char *name) {
Index idc = idClass(c);
Index idname = idMethodName(name);
return findMethod(idc, idname);
}
};
class SmokeBinding {
protected:
Smoke *smoke;
public:
SmokeBinding(Smoke *s) : smoke(s) {}
virtual void deleted(Smoke::Index classId, void *obj) = 0;
virtual bool callMethod(Smoke::Index method, void *obj, Smoke::Stack args, bool isAbstract = false) = 0;
virtual char* className(Smoke::Index classId) = 0;
virtual ~SmokeBinding() {}
};
#endif
>Fix:
I do not know of any - a colleague told me to try
gcc 2.95.3, but I haven't got it here right now.
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/plain; name="x_QTSManip.cpp"
Content-Disposition: inline; filename="x_QTSManip.cpp"
//Auto-generated by kalyptus. DO NOT EDIT.
#include <smoke.h>
#include <qt_smoke.h>
#include <qtextstream.h>
class x_QTSManip : public QTSManip {
public:
static void x_0(Smoke::Stack x) {
// QTSManip(QTSMFI, int)
x_QTSManip* xret = new x_QTSManip((QTSMFI)x[1].s_int,(int)x[2].s_int);
x[0].s_class = (void*)xret;
}
x_QTSManip(QTSMFI x1, int x2) : QTSManip(x1, x2) {
}
void x_1(Smoke::Stack x) {
// exec(QTextStream&)
this->QTSManip::exec(*(QTextStream *)x[1].s_class);
(void)x; // noop (for compiler warning)
}
static void x_2(Smoke::Stack x) {
// QTSManip(const QTSManip&)
x_QTSManip* xret = new x_QTSManip(*(const QTSManip *)x[1].s_class);
x[0].s_class = (void*)xret;
}
x_QTSManip(const QTSManip& x1) : QTSManip(x1) {
}
~x_QTSManip() { qt_Smoke->binding->deleted(308, (void*)this); }
};
void xcall_QTSManip(Smoke::Index xi, void *obj, Smoke::Stack args) {
x_QTSManip *xself = (x_QTSManip*)obj;
switch(xi) {
case 0: x_QTSManip::x_0(args); break;
case 1: xself->x_1(args); break;
case 2: x_QTSManip::x_2(args); break;
case 3: delete (QTSManip*)xself; break;
}
}
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-12-02 21:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-02 13:45 c++/8173: Internal error in g++ on compiling Qt-retated code (PerlQt module) bangerth
-- strict thread matches above, loose matches on Subject: below --
2002-12-02 7:36 marek.rouchal
2002-10-09 3:26 marek.rouchal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).