Doc: Prepare for building modular QtCore docs.
This change fixes most qdoc errors in QtCore. There are about 900 left. The main thing this change does is moving documentation from qtcore from /doc/src to /src/corelib/doc. Other issues resolved are mis-use of qdoc commands. Change-Id: I002d01edfb13575e8bf27ce91596a577a92562d1 Reviewed-by: Lars Knoll <lars.knoll@nokia.com> Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com> Reviewed-by: Jerome Pasion <jerome.pasion@nokia.com>
54
doc/global/qt-cpp-ignore.qdocconf
Normal file
@ -0,0 +1,54 @@
|
||||
Cpp.ignoretokens = QT_ASCII_CAST_WARN \
|
||||
QT_ASCII_CAST_WARN_CONSTRUCTOR \
|
||||
QT_BEGIN_HEADER \
|
||||
QT_BOOTSTRAPPED \
|
||||
QT_DESIGNER_STATIC \
|
||||
QT_END_HEADER \
|
||||
QT_FASTCALL \
|
||||
Q_COMPAT_EXPORT \
|
||||
Q_CORE_EXPORT \
|
||||
Q_CORE_EXPORT_INLINE \
|
||||
Q_EXPORT \
|
||||
Q_EXPORT_PLUGIN \
|
||||
Q_EXPORT_PLUGIN2 \
|
||||
Q_AUTOTEST_EXPORT \
|
||||
Q_GUI_EXPORT \
|
||||
Q_GUI_EXPORT_INLINE \
|
||||
Q_INLINE_TEMPLATE \
|
||||
Q_NETWORK_EXPORT \
|
||||
Q_OPENGL_EXPORT \
|
||||
Q_OPENVG_EXPORT \
|
||||
Q_OUTOFLINE_TEMPLATE \
|
||||
Q_SQL_EXPORT \
|
||||
Q_SVG_EXPORT \
|
||||
Q_SCRIPT_EXPORT \
|
||||
Q_SCRIPTTOOLS_EXPORT \
|
||||
Q_XML_EXPORT \
|
||||
Q_XMLPATTERNS_EXPORT \
|
||||
QDBUS_EXPORT \
|
||||
Q_DBUS_EXPORT \
|
||||
QT_BEGIN_NAMESPACE \
|
||||
QT_BEGIN_INCLUDE_NAMESPACE \
|
||||
QT_END_NAMESPACE \
|
||||
QT_END_INCLUDE_NAMESPACE \
|
||||
Q_GADGET \
|
||||
Q_INVOKABLE \
|
||||
Q_DECL_CONSTEXPR
|
||||
Cpp.ignoredirectives = Q_DECLARE_INTERFACE \
|
||||
Q_DECLARE_METATYPE \
|
||||
Q_DECLARE_OPERATORS_FOR_FLAGS \
|
||||
Q_DECLARE_PRIVATE \
|
||||
Q_DECLARE_PUBLIC \
|
||||
Q_DECLARE_SHARED \
|
||||
Q_DECLARE_TR_FUNCTIONS \
|
||||
Q_DECLARE_TYPEINFO \
|
||||
Q_DISABLE_COPY \
|
||||
QT_FORWARD_DECLARE_CLASS \
|
||||
Q_DUMMY_COMPARISON_OPERATOR \
|
||||
Q_ENUMS \
|
||||
Q_FLAGS \
|
||||
Q_INTERFACES \
|
||||
__attribute__ \
|
||||
Q_PRIVATE_PROPERTY \
|
||||
Q_DECLARE_PRIVATE_D \
|
||||
Q_CLASSINFO
|
622
doc/global/style/offline.css
Normal file
@ -0,0 +1,622 @@
|
||||
body{
|
||||
font: normal 400 14px/1.2 Arial;
|
||||
margin-top:85px;
|
||||
font-family: Arial, Helvetica;
|
||||
color:#313131;
|
||||
text-align:justify;
|
||||
margin-left:5px;
|
||||
margin-right:5px;
|
||||
}
|
||||
|
||||
img{
|
||||
-moz-box-shadow: 3px 3px 3px #ccc;
|
||||
-webkit-box-shadow: 3px 3px 3px #ccc;
|
||||
box-shadow: 3px 3px 3px #ccc;
|
||||
border:#8E8D8D 2px solid;
|
||||
margin-left:0px;
|
||||
max-width: 800px;
|
||||
height: auto
|
||||
}
|
||||
|
||||
b{
|
||||
font-weight:600;
|
||||
}
|
||||
|
||||
.content{}
|
||||
|
||||
.descr{
|
||||
margin-top:35px;
|
||||
/*max-width: 75%;*/
|
||||
margin-left:5px;
|
||||
text-align:justify;
|
||||
min-height:700px;
|
||||
vertical-align:top;
|
||||
}
|
||||
|
||||
.name{
|
||||
max-width: 75%;
|
||||
font-weight:100;
|
||||
}
|
||||
|
||||
tt{
|
||||
text-align:left;}
|
||||
|
||||
/*
|
||||
-----------
|
||||
links
|
||||
-----------
|
||||
*/
|
||||
|
||||
a:link{
|
||||
color: #2C418D;
|
||||
text-decoration: none;
|
||||
text-align:left;
|
||||
}
|
||||
|
||||
a:hover{
|
||||
color: #869CD1;
|
||||
text-decoration:underline;
|
||||
text-align:left;
|
||||
}
|
||||
|
||||
a:visited{
|
||||
color: #869CD1;
|
||||
text-decoration: none;
|
||||
text-align:left;
|
||||
}
|
||||
|
||||
a:visited:hover{
|
||||
text-decoration:underline;
|
||||
text-align:left;
|
||||
}
|
||||
|
||||
a[href*="http://"], a[href*="ftp://"],a[href*="https://"]
|
||||
{
|
||||
text-decoration: none;
|
||||
background-image:url(../images/ico_out.png);
|
||||
background-repeat:no-repeat;
|
||||
background-position:left;
|
||||
padding-left:20px;
|
||||
text-align:left;
|
||||
}
|
||||
|
||||
.flags{
|
||||
text-decoration:none;
|
||||
text-height:24px;
|
||||
}
|
||||
|
||||
/*
|
||||
-------------------------------
|
||||
NOTE styles
|
||||
-------------------------------
|
||||
*/
|
||||
.notetitle, .tiptitle, .fastpathtitle{
|
||||
font-weight:bold;
|
||||
}
|
||||
|
||||
.attentiontitle,.cautiontitle,.dangertitle,.importanttitle,.remembertitle,.restrictiontitle{
|
||||
font-weight:bold;
|
||||
}
|
||||
|
||||
.note,.tip,.fastpath{
|
||||
background: #F2F2F2 url(../images/ico_note.png);
|
||||
background-repeat: no-repeat;
|
||||
background-position: top left;
|
||||
padding:5px;
|
||||
padding-left:40px;
|
||||
padding-bottom:10px;
|
||||
border:#999 1px dotted;
|
||||
color:#666666;
|
||||
margin:5px;
|
||||
}
|
||||
|
||||
.attention,.caution,.danger,.important,.remember,.restriction{
|
||||
background: #F2F2F2 url(../images/ico_note_attention.png);
|
||||
background-repeat:no-repeat;
|
||||
background-position:top left;
|
||||
padding:5px;
|
||||
padding-left:40px;
|
||||
padding-bottom:10px;
|
||||
border:#999 1px dotted;
|
||||
color:#666666;
|
||||
margin:5px;
|
||||
}
|
||||
|
||||
/*
|
||||
-------------------------------
|
||||
Top navigation
|
||||
-------------------------------
|
||||
*/
|
||||
|
||||
.header{
|
||||
|
||||
height:1px;
|
||||
padding:0px;
|
||||
margin:0px;
|
||||
}
|
||||
|
||||
.qtref{
|
||||
display: block;
|
||||
position: relative;
|
||||
top: -76px;
|
||||
height:15px;
|
||||
z-index: 1;
|
||||
font-size:11px;
|
||||
padding-right:10px;
|
||||
float:right;
|
||||
}
|
||||
|
||||
.naviNextPrevious{
|
||||
display: block;
|
||||
position: relative;
|
||||
text-align: right;
|
||||
top: -53px;
|
||||
float:right;
|
||||
height:20px;
|
||||
z-index:1;
|
||||
padding-right:10px;
|
||||
padding-top:2px;
|
||||
vertical-align:top;
|
||||
margin:0px;
|
||||
}
|
||||
|
||||
|
||||
.naviNextPrevious > a:first-child{
|
||||
background-image:url(../images/btn_prev.png);
|
||||
background-repeat:no-repeat;
|
||||
background-position:left;
|
||||
padding-left:20px;
|
||||
height:20px;
|
||||
padding-left:20px;
|
||||
}
|
||||
|
||||
.naviNextPrevious > a:last-child{
|
||||
background-image:url(../images/btn_next.png);
|
||||
background-repeat:no-repeat;
|
||||
background-position:right;
|
||||
padding-right:20px;
|
||||
height:20px;
|
||||
margin-left:30px;
|
||||
}
|
||||
|
||||
.breadcrumb{
|
||||
display: block;
|
||||
position: relative;
|
||||
top:-20px;
|
||||
/*border-top:2px solid #ffffff;*/
|
||||
border-bottom: 1px solid #cecece;
|
||||
background-color:#F2F2F2;
|
||||
z-index:1;
|
||||
height:20px;
|
||||
padding:0px;
|
||||
margin:0px;
|
||||
padding-left:10px;
|
||||
padding-top:2px;
|
||||
margin-left:-5px;
|
||||
margin-right:-5px;
|
||||
}
|
||||
|
||||
.breadcrumb ul{
|
||||
margin:0px;
|
||||
padding:0px;
|
||||
}
|
||||
|
||||
.breadcrumb ul li{
|
||||
background-color:#F2F2F2;
|
||||
list-style-type:none;
|
||||
padding:0;
|
||||
margin:0;
|
||||
height:20px;
|
||||
}
|
||||
|
||||
.breadcrumb li{
|
||||
float:left;
|
||||
}
|
||||
|
||||
.breadcrumb .first {
|
||||
background:url(../images/home.png);
|
||||
background-position:left;
|
||||
background-repeat:no-repeat;
|
||||
padding-left:20px;
|
||||
}
|
||||
|
||||
|
||||
.breadcrumb li a{
|
||||
color:#2C418D;
|
||||
display:block;
|
||||
text-decoration:none;
|
||||
background:url(../images/arrow.png);
|
||||
background-repeat:no-repeat;
|
||||
background-position:right;
|
||||
padding-right:25px;
|
||||
padding-left:10px;
|
||||
}
|
||||
|
||||
.breadcrumb li a:hover{
|
||||
color:#909090;
|
||||
display:block;
|
||||
text-decoration:none;
|
||||
background:url(../images/arrow.png);
|
||||
background-repeat:no-repeat;
|
||||
background-position:right;
|
||||
padding-right:20px;
|
||||
padding-left:10px;
|
||||
}
|
||||
|
||||
|
||||
/* table of content
|
||||
no display
|
||||
*/
|
||||
|
||||
/*
|
||||
-----------
|
||||
headers
|
||||
-----------
|
||||
*/
|
||||
|
||||
|
||||
@media screen{
|
||||
.title{
|
||||
color:#313131;
|
||||
font-size: 18px;
|
||||
font-weight: normal;
|
||||
left: 0;
|
||||
padding-bottom: 20px;
|
||||
padding-left: 10px;
|
||||
padding-top: 20px;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
background-color:#E6E6E6;
|
||||
border-bottom: 1px #CCC solid;
|
||||
border-top: 2px #CCC solid;
|
||||
font-weight:bold;
|
||||
margin-left:0px;
|
||||
margin-right:0px;
|
||||
}
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
h2, p.h2 {
|
||||
font: 500 16px/1.2 Arial;
|
||||
font-weight:100;
|
||||
background-color:#F2F3F4;
|
||||
padding:4px;
|
||||
margin-bottom:30px;
|
||||
margin-top:30px;
|
||||
border-top:#E0E0DE 1px solid;
|
||||
border-bottom: #E0E0DE 1px solid;
|
||||
max-width: 99%;
|
||||
}
|
||||
|
||||
h3{
|
||||
|
||||
font: 500 14px/1.2 Arial;
|
||||
font-weight:100;
|
||||
text-decoration:underline;
|
||||
margin-bottom:30px;
|
||||
margin-top:30px;
|
||||
}
|
||||
|
||||
h3.fn,span.fn{
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
border-color: #E6E6E6;
|
||||
-moz-border-radius: 7px 7px 7px 7px;
|
||||
-webkit-border-radius: 7px 7px 7px 7px;
|
||||
border-radius: 7px 7px 7px 7px;
|
||||
background-color: #F6F6F6;
|
||||
word-spacing: 3px;
|
||||
padding: 5px 5px;
|
||||
text-decoration:none;
|
||||
font-weight:bold;
|
||||
max-width:75%;
|
||||
font-size:14px;
|
||||
margin:0px;
|
||||
margin-top:30px;
|
||||
|
||||
}
|
||||
|
||||
.name{
|
||||
color:#1A1A1A;
|
||||
}
|
||||
.type{
|
||||
color:#808080;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@media print {
|
||||
.title {
|
||||
color:#0066CB;
|
||||
font-family:Arial, Helvetica;
|
||||
font-size: 32px;
|
||||
font-weight: normal;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
-----------------
|
||||
table styles
|
||||
-----------------
|
||||
*/
|
||||
.table img {
|
||||
border:none;
|
||||
margin-left:0px;
|
||||
-moz-box-shadow:0px 0px 0px #fff;
|
||||
-webkit-box-shadow: 0px 0px 0px #fff;
|
||||
box-shadow: 0px 0px 0px #fff;
|
||||
}
|
||||
|
||||
/* table with border alternative colours*/
|
||||
|
||||
table,pre{
|
||||
-moz-border-radius: 7px 7px 7px 7px;
|
||||
-webkit-border-radius: 7px 7px 7px 7px;
|
||||
border-radius: 7px 7px 7px 7px;
|
||||
background-color: #F6F6F6;
|
||||
border: 1px solid #E6E6E6;
|
||||
border-collapse: separate;
|
||||
font-size: 12px;
|
||||
line-height: 1.2;
|
||||
margin-bottom: 25px;
|
||||
margin-left: 15px;
|
||||
font-size: 12px;
|
||||
line-height: 1.2;
|
||||
margin-bottom: 25px;
|
||||
margin-left: 15px;
|
||||
}
|
||||
|
||||
|
||||
table th{
|
||||
text-align:left;
|
||||
padding-left:20px;
|
||||
}
|
||||
|
||||
table td {
|
||||
padding: 3px 15px 3px 20px;
|
||||
border-bottom:#CCC dotted 1px;
|
||||
}
|
||||
table p { margin:0px;}
|
||||
|
||||
table tr.even {
|
||||
background-color: white;
|
||||
color: #66666E;
|
||||
}
|
||||
|
||||
table tr.odd {
|
||||
background-color: #F6F6F6;
|
||||
color: #66666E;
|
||||
}
|
||||
|
||||
|
||||
table thead {
|
||||
text-align:left;
|
||||
padding-left:20px;
|
||||
background-color:#e1e0e0;
|
||||
border-left:none;
|
||||
border-right:none;
|
||||
}
|
||||
|
||||
table thead th {
|
||||
padding-top:5px;
|
||||
padding-left:10px;
|
||||
padding-bottom:5px;
|
||||
border-bottom: 2px solid #D1D1D1;
|
||||
padding-right:10px;
|
||||
}
|
||||
|
||||
|
||||
/* table bodless & white*/
|
||||
|
||||
.borderless {
|
||||
border-radius: 0px 0px 0px 0px;
|
||||
background-color: #fff;
|
||||
border: 1px solid #fff;
|
||||
}
|
||||
|
||||
.borderless tr {
|
||||
background-color: #FFF;
|
||||
color: #66666E;
|
||||
}
|
||||
|
||||
.borderless td {
|
||||
border:none;
|
||||
border-bottom:#fff dotted 1px;
|
||||
}
|
||||
|
||||
/*
|
||||
-----------
|
||||
List
|
||||
-----------
|
||||
*/
|
||||
|
||||
ul{
|
||||
padding-bottom:2px;
|
||||
}
|
||||
|
||||
li {
|
||||
margin-bottom: 10px;
|
||||
padding-left: 8px;
|
||||
list-style:outside;
|
||||
list-style-type:square;
|
||||
text-align:left;
|
||||
}
|
||||
|
||||
|
||||
ol{
|
||||
margin:10px;
|
||||
padding:0;
|
||||
}
|
||||
|
||||
ol > li{
|
||||
margin-left: 30px;
|
||||
padding-left:8px;
|
||||
list-style:decimal;
|
||||
}
|
||||
|
||||
.centerAlign{
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.cpp{
|
||||
display: block;
|
||||
margin: 10;
|
||||
overflow: hidden;
|
||||
overflow-x: hidden;
|
||||
overflow-y: hidden;
|
||||
padding: 20px 0 20px 0;
|
||||
}
|
||||
|
||||
.footer{
|
||||
margin-top: 50px;
|
||||
padding-left:5px;
|
||||
margin-bottom: 10px;
|
||||
font-size:10px;
|
||||
border-top: 1px solid #999;
|
||||
padding-top:11px;
|
||||
}
|
||||
|
||||
.footerNavi{
|
||||
width:auto;
|
||||
text-align:right;
|
||||
margin-top:50px;
|
||||
z-index:1;
|
||||
}
|
||||
|
||||
.memItemLeft{
|
||||
padding-right: 3px;
|
||||
}
|
||||
|
||||
.memItemRight{
|
||||
padding: 3px 15px 3px 0;
|
||||
}
|
||||
|
||||
.qml{
|
||||
display: block;
|
||||
margin: 10;
|
||||
overflow: hidden;
|
||||
overflow-x: hidden;
|
||||
overflow-y: hidden;
|
||||
padding: 20px 0 20px 0;
|
||||
}
|
||||
|
||||
.qmldefault{
|
||||
padding-left: 5px;
|
||||
float: right;
|
||||
color: red;
|
||||
}
|
||||
|
||||
.qmlreadonly{
|
||||
padding-left: 5px;
|
||||
float: right;
|
||||
color: #254117;
|
||||
}
|
||||
|
||||
.rightAlign{
|
||||
padding: 3px 5px 3px 10px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
/*
|
||||
-----------
|
||||
Content table
|
||||
-----------
|
||||
*/
|
||||
|
||||
@media print{
|
||||
.toc {
|
||||
float: right;
|
||||
padding-bottom: 10px;
|
||||
padding-top: 50px;
|
||||
width: 100%;
|
||||
background-image:url(../images/bgrContent.png);
|
||||
background-position:top;
|
||||
background-repeat:no-repeat;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen{
|
||||
.toc{
|
||||
clear:both;
|
||||
float:right;
|
||||
vertical-align:top;
|
||||
-moz-border-radius: 7px 7px 7px 7px;
|
||||
-webkit-border-radius: 7px 7px 7px 7px;
|
||||
border-radius: 7px 7px 7px 7px;
|
||||
background:#FFF url(../images/bgrContent.png);
|
||||
background-position:top;
|
||||
background-repeat:repeat-x;
|
||||
border: 1px solid #E6E6E6;
|
||||
padding-left:5px;
|
||||
padding-bottom:10px;
|
||||
height: auto;
|
||||
width: 200px;
|
||||
text-align:left;
|
||||
z-index:2;
|
||||
margin-left:20px;
|
||||
margin-right:20px;
|
||||
margin-top:0px;
|
||||
padding-top:0px;
|
||||
}
|
||||
}
|
||||
|
||||
.toc h3{
|
||||
text-decoration:none;
|
||||
}
|
||||
|
||||
.toc h3{font: 500 14px/1.2 Arial;
|
||||
font-weight:100;
|
||||
padding:0px;
|
||||
margin:0px;
|
||||
padding-top:5px;
|
||||
padding-left:5px;
|
||||
}
|
||||
|
||||
|
||||
.toc ul{
|
||||
width:160px;
|
||||
padding-left:10px;
|
||||
padding-right:5px;
|
||||
padding-bottom:10px;
|
||||
padding-top:10px;
|
||||
}
|
||||
|
||||
.toc ul li{
|
||||
margin-left:20px;
|
||||
list-style-image:url(../images/blu_dot.png);
|
||||
list-style:outside;
|
||||
|
||||
}
|
||||
|
||||
|
||||
.toc ul li a:link{
|
||||
color: #2C418D;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.toc ul li a:hover{
|
||||
color: #869CD1;
|
||||
text-decoration:underline;
|
||||
|
||||
}
|
||||
|
||||
.toc ul li a:visited{
|
||||
color: #869CD1;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.level1{
|
||||
border:none;}
|
||||
|
||||
.clearfix{
|
||||
clear:both;}
|
||||
|
@ -68,8 +68,8 @@
|
||||
for Qt.
|
||||
|
||||
\legalese
|
||||
Copyright (C) 2000 Ming-Che Chuang \BR
|
||||
Copyright (C) 2002 James Su, Turbolinux Inc. \BR
|
||||
Copyright (C) 2000 Ming-Che Chuang
|
||||
Copyright (C) 2002 James Su, Turbolinux Inc.
|
||||
Copyright (C) 2002 Anthony Fok, ThizLinux Laboratory Ltd.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
@ -137,9 +137,9 @@
|
||||
for the various Big5 CharMapML tables.
|
||||
|
||||
\legalese
|
||||
Copyright (C) 2000 Ming-Che Chuang \BR
|
||||
Copyright (C) 2001, 2002 James Su, Turbolinux Inc. \BR
|
||||
Copyright (C) 2002 WU Yi, HancomLinux Inc. \BR
|
||||
Copyright (C) 2000 Ming-Che Chuang
|
||||
Copyright (C) 2001, 2002 James Su, Turbolinux Inc.
|
||||
Copyright (C) 2002 WU Yi, HancomLinux Inc.
|
||||
Copyright (C) 2001, 2002 Anthony Fok, ThizLinux Laboratory Ltd.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
@ -307,8 +307,8 @@
|
||||
The copyright notice for their code follows:
|
||||
|
||||
\legalese
|
||||
Copyright (C) 2000 TurboLinux, Inc. Written by Justin Yu and Sean Chen. \BR
|
||||
Copyright (C) 2001, 2002 Turbolinux, Inc. Written by James Su. \BR
|
||||
Copyright (C) 2000 TurboLinux, Inc. Written by Justin Yu and Sean Chen.
|
||||
Copyright (C) 2001, 2002 Turbolinux, Inc. Written by James Su.
|
||||
Copyright (C) 2001, 2002 ThizLinux Laboratory Ltd. Written by Anthony Fok.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
|
@ -818,13 +818,13 @@ QTextCodec::ConverterState::~ConverterState()
|
||||
KOI8-R encoding, and want to convert it to Unicode. The simple way
|
||||
to do it is like this:
|
||||
|
||||
\snippet doc/src/snippets/code/src_corelib_codecs_qtextcodec.cpp 0
|
||||
\snippet code/src_corelib_codecs_qtextcodec.cpp 0
|
||||
|
||||
After this, \c string holds the text converted to Unicode.
|
||||
Converting a string from Unicode to the local encoding is just as
|
||||
easy:
|
||||
|
||||
\snippet doc/src/snippets/code/src_corelib_codecs_qtextcodec.cpp 1
|
||||
\snippet code/src_corelib_codecs_qtextcodec.cpp 1
|
||||
|
||||
To read or write files in various encodings, use QTextStream and
|
||||
its \l{QTextStream::setCodec()}{setCodec()} function. See the
|
||||
@ -841,7 +841,7 @@ QTextCodec::ConverterState::~ConverterState()
|
||||
object for the codec and use this QTextDecoder for the whole
|
||||
decoding process, as shown below:
|
||||
|
||||
\snippet doc/src/snippets/code/src_corelib_codecs_qtextcodec.cpp 2
|
||||
\snippet code/src_corelib_codecs_qtextcodec.cpp 2
|
||||
|
||||
The QTextDecoder object maintains state between chunks and therefore
|
||||
works correctly even if a multi-byte character is split between
|
||||
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 171 B After Width: | Height: | Size: 171 B |
Before Width: | Height: | Size: 201 B After Width: | Height: | Size: 201 B |
Before Width: | Height: | Size: 147 B After Width: | Height: | Size: 147 B |
Before Width: | Height: | Size: 130 B After Width: | Height: | Size: 130 B |
Before Width: | Height: | Size: 199 B After Width: | Height: | Size: 199 B |
Before Width: | Height: | Size: 159 B After Width: | Height: | Size: 159 B |
Before Width: | Height: | Size: 155 B After Width: | Height: | Size: 155 B |
Before Width: | Height: | Size: 124 B After Width: | Height: | Size: 124 B |
Before Width: | Height: | Size: 160 B After Width: | Height: | Size: 160 B |
Before Width: | Height: | Size: 174 B After Width: | Height: | Size: 174 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 161 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 161 B |
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 141 B After Width: | Height: | Size: 141 B |
Before Width: | Height: | Size: 132 B After Width: | Height: | Size: 132 B |
Before Width: | Height: | Size: 161 B After Width: | Height: | Size: 161 B |
Before Width: | Height: | Size: 172 B After Width: | Height: | Size: 172 B |
Before Width: | Height: | Size: 191 B After Width: | Height: | Size: 191 B |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 7.2 KiB After Width: | Height: | Size: 7.2 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 8.8 KiB After Width: | Height: | Size: 8.8 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 9.1 KiB After Width: | Height: | Size: 9.1 KiB |
Before Width: | Height: | Size: 9.2 KiB After Width: | Height: | Size: 9.2 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 9.2 KiB After Width: | Height: | Size: 9.2 KiB |
Before Width: | Height: | Size: 8.3 KiB After Width: | Height: | Size: 8.3 KiB |
Before Width: | Height: | Size: 5.9 KiB After Width: | Height: | Size: 5.9 KiB |
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 5.7 KiB |
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 9.2 KiB After Width: | Height: | Size: 9.2 KiB |
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 6.1 KiB |
Before Width: | Height: | Size: 8.0 KiB After Width: | Height: | Size: 8.0 KiB |
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 5.8 KiB |
Before Width: | Height: | Size: 5.9 KiB After Width: | Height: | Size: 5.9 KiB |
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 7.2 KiB After Width: | Height: | Size: 7.2 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 9.4 KiB After Width: | Height: | Size: 9.4 KiB |