Update from latest conversion script

pull/1/head
Timothy Pearson 13 years ago
parent 5dea938f81
commit ceaf41bd77

@ -440,7 +440,7 @@ this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same reinstated, you do not qualify to receive new licenses for the same
material under section 10. material under section 10.
9. Acceptance Not Retquired for Having Copies. 9. Acceptance Not Required for Having Copies.
You are not retquired to accept this License in order to receive or You are not retquired to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work run a copy of the Program. Ancillary propagation of a covered work

@ -1433,8 +1433,8 @@ icon:
<a href="qdir.html#isRelativePath">TQDir</a><li>isRelativeUrl: <a href="qdir.html#isRelativePath">TQDir</a><li>isRelativeUrl:
<a href="qurl.html#isRelativeUrl">TQUrl</a><li>isRenaming: <a href="qurl.html#isRelativeUrl">TQUrl</a><li>isRenaming:
<a href="qiconview.html#isRenaming">TQIconView</a> <a href="qlistview.html#isRenaming">TQListView</a><li>isReplaceable: <a href="qiconview.html#isRenaming">TQIconView</a> <a href="qlistview.html#isRenaming">TQListView</a><li>isReplaceable:
<a href="qtableitem.html#isReplaceable">TQTableItem</a><li>isRetquired: <a href="qtableitem.html#isReplaceable">TQTableItem</a><li>isRequired:
<a href="qsqlfieldinfo.html#isRetquired">TQSqlFieldInfo</a><li>isResizeEnabled: <a href="qsqlfieldinfo.html#isRequired">TQSqlFieldInfo</a><li>isResizeEnabled:
<a href="qdockwindow.html#isResizeEnabled">TQDockWindow</a> <a href="qheader.html#isResizeEnabled">TQHeader</a><li>isRoot: <a href="qdockwindow.html#isResizeEnabled">TQDockWindow</a> <a href="qheader.html#isResizeEnabled">TQHeader</a><li>isRoot:
<a href="qdir.html#isRoot">TQDir</a><li>isRowHidden: <a href="qdir.html#isRoot">TQDir</a><li>isRowHidden:
<a href="qtable.html#isRowHidden">TQTable</a><li>isRowReadOnly: <a href="qtable.html#isRowHidden">TQTable</a><li>isRowReadOnly:

@ -309,7 +309,7 @@ TO THE TQUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION. REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS RETQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSETQUENTIAL DAMAGES ARISING INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSETQUENTIAL DAMAGES ARISING

@ -5972,7 +5972,7 @@
"QSqlFieldInfo::defaultValue" qsqlfieldinfo.html#defaultValue "QSqlFieldInfo::defaultValue" qsqlfieldinfo.html#defaultValue
"QSqlFieldInfo::isCalculated" qsqlfieldinfo.html#isCalculated "QSqlFieldInfo::isCalculated" qsqlfieldinfo.html#isCalculated
"QSqlFieldInfo::isGenerated" qsqlfieldinfo.html#isGenerated "QSqlFieldInfo::isGenerated" qsqlfieldinfo.html#isGenerated
"QSqlFieldInfo::isRetquired" qsqlfieldinfo.html#isRetquired "QSqlFieldInfo::isRequired" qsqlfieldinfo.html#isRequired
"QSqlFieldInfo::isTrim" qsqlfieldinfo.html#isTrim "QSqlFieldInfo::isTrim" qsqlfieldinfo.html#isTrim
"QSqlFieldInfo::length" qsqlfieldinfo.html#length "QSqlFieldInfo::length" qsqlfieldinfo.html#length
"QSqlFieldInfo::name" qsqlfieldinfo.html#name "QSqlFieldInfo::name" qsqlfieldinfo.html#name

@ -209,10 +209,10 @@ body { background: #ffffff; color: black; }
#endif #endif
#if defined(Q_OS_MACX) #if defined(Q_OS_MACX)
# ifdef MAC_OS_X_VERSION_MIN_RETQUIRED # ifdef MAC_OS_X_VERSION_MIN_REQUIRED
# undef MAC_OS_X_VERSION_MIN_RETQUIRED # undef MAC_OS_X_VERSION_MIN_REQUIRED
# endif # endif
# define MAC_OS_X_VERSION_MIN_RETQUIRED MAC_OS_X_VERSION_10_2 # define MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_10_2
# include &lt;AvailabilityMacros.h&gt; # include &lt;AvailabilityMacros.h&gt;
# if !defined(MAC_OS_X_VERSION_10_3) # if !defined(MAC_OS_X_VERSION_10_3)
# define MAC_OS_X_VERSION_10_3 MAC_OS_X_VERSION_10_2 + 1 # define MAC_OS_X_VERSION_10_3 MAC_OS_X_VERSION_10_2 + 1

@ -165,7 +165,7 @@ public:
bool operator==( const TQSqlFieldInfo&amp; f ) const; bool operator==( const TQSqlFieldInfo&amp; f ) const;
TQSqlField toField() const; TQSqlField toField() const;
int isRetquired() const; int isRequired() const;
TQVariant::Type type() const; TQVariant::Type type() const;
int length() const; int length() const;
int precision() const; int precision() const;

@ -40,7 +40,7 @@ body { background: #ffffff; color: black; }
<li><a href="qsqlfieldinfo.html#defaultValue">defaultValue</a>() <li><a href="qsqlfieldinfo.html#defaultValue">defaultValue</a>()
<li><a href="qsqlfieldinfo.html#isCalculated">isCalculated</a>() <li><a href="qsqlfieldinfo.html#isCalculated">isCalculated</a>()
<li><a href="qsqlfieldinfo.html#isGenerated">isGenerated</a>() <li><a href="qsqlfieldinfo.html#isGenerated">isGenerated</a>()
<li><a href="qsqlfieldinfo.html#isRetquired">isRetquired</a>() <li><a href="qsqlfieldinfo.html#isRequired">isRequired</a>()
<li><a href="qsqlfieldinfo.html#isTrim">isTrim</a>() <li><a href="qsqlfieldinfo.html#isTrim">isTrim</a>()
<li><a href="qsqlfieldinfo.html#length">length</a>() <li><a href="qsqlfieldinfo.html#length">length</a>()
<li><a href="qsqlfieldinfo.html#name">name</a>() <li><a href="qsqlfieldinfo.html#name">name</a>()

@ -44,7 +44,7 @@ body { background: #ffffff; color: black; }
<li class=fn>TQSqlFieldInfo &amp; <a href="#operator-eq"><b>operator=</b></a> ( const&nbsp;TQSqlFieldInfo&nbsp;&amp;&nbsp;other )</li> <li class=fn>TQSqlFieldInfo &amp; <a href="#operator-eq"><b>operator=</b></a> ( const&nbsp;TQSqlFieldInfo&nbsp;&amp;&nbsp;other )</li>
<li class=fn>bool <a href="#operator-eq-eq"><b>operator==</b></a> ( const&nbsp;TQSqlFieldInfo&nbsp;&amp;&nbsp;f ) const</li> <li class=fn>bool <a href="#operator-eq-eq"><b>operator==</b></a> ( const&nbsp;TQSqlFieldInfo&nbsp;&amp;&nbsp;f ) const</li>
<li class=fn>TQSqlField <a href="#toField"><b>toField</b></a> () const</li> <li class=fn>TQSqlField <a href="#toField"><b>toField</b></a> () const</li>
<li class=fn>int <a href="#isRetquired"><b>isRetquired</b></a> () const</li> <li class=fn>int <a href="#isRequired"><b>isRequired</b></a> () const</li>
<li class=fn>TQVariant::Type <a href="#type"><b>type</b></a> () const</li> <li class=fn>TQVariant::Type <a href="#type"><b>type</b></a> () const</li>
<li class=fn>int <a href="#length"><b>length</b></a> () const</li> <li class=fn>int <a href="#length"><b>length</b></a> () const</li>
<li class=fn>int <a href="#precision"><b>precision</b></a> () const</li> <li class=fn>int <a href="#precision"><b>precision</b></a> () const</li>
@ -67,7 +67,7 @@ The TQSqlFieldInfo class stores meta data associated with a SQL field.
<p> TQSqlFieldInfo objects only store meta data; field values are <p> TQSqlFieldInfo objects only store meta data; field values are
stored in <a href="qsqlfield.html">TQSqlField</a> objects. stored in <a href="qsqlfield.html">TQSqlField</a> objects.
<p> All values must be set in the constructor, and may be retrieved <p> All values must be set in the constructor, and may be retrieved
using <a href="#isRetquired">isRetquired</a>(), <a href="#type">type</a>(), <a href="#length">length</a>(), <a href="#precision">precision</a>(), <a href="#defaultValue">defaultValue</a>(), using <a href="#isRequired">isRequired</a>(), <a href="#type">type</a>(), <a href="#length">length</a>(), <a href="#precision">precision</a>(), <a href="#defaultValue">defaultValue</a>(),
<a href="#name">name</a>(), <a href="#isGenerated">isGenerated</a>() and <a href="#typeID">typeID</a>(). <a href="#name">name</a>(), <a href="#isGenerated">isGenerated</a>() and <a href="#typeID">typeID</a>().
<p>See also <a href="database.html">Database Classes</a>. <p>See also <a href="database.html">Database Classes</a>.
@ -135,7 +135,7 @@ Returns TRUE if the field should be included in auto-generated
SQL statments, e.g. in <a href="qsqlcursor.html">TQSqlCursor</a>; otherwise returns FALSE. SQL statments, e.g. in <a href="qsqlcursor.html">TQSqlCursor</a>; otherwise returns FALSE.
<p> <p>See also <a href="#setGenerated">setGenerated</a>(). <p> <p>See also <a href="#setGenerated">setGenerated</a>().
<h3 class=fn>int <a name="isRetquired"></a>TQSqlFieldInfo::isRetquired () const <h3 class=fn>int <a name="isRequired"></a>TQSqlFieldInfo::isRequired () const
</h3> </h3>
Returns a value greater than 0 if the field is retquired (NULL Returns a value greater than 0 if the field is retquired (NULL
values are not allowed), 0 if it isn't retquired (NULL values are values are not allowed), 0 if it isn't retquired (NULL values are

@ -7035,7 +7035,7 @@
<keyword ref="qsqlfieldinfo.html#defaultValue">defaultValue</keyword> <keyword ref="qsqlfieldinfo.html#defaultValue">defaultValue</keyword>
<keyword ref="qsqlfieldinfo.html#isCalculated">isCalculated</keyword> <keyword ref="qsqlfieldinfo.html#isCalculated">isCalculated</keyword>
<keyword ref="qsqlfieldinfo.html#isGenerated">isGenerated</keyword> <keyword ref="qsqlfieldinfo.html#isGenerated">isGenerated</keyword>
<keyword ref="qsqlfieldinfo.html#isRetquired">isRetquired</keyword> <keyword ref="qsqlfieldinfo.html#isRequired">isRequired</keyword>
<keyword ref="qsqlfieldinfo.html#isTrim">isTrim</keyword> <keyword ref="qsqlfieldinfo.html#isTrim">isTrim</keyword>
<keyword ref="qsqlfieldinfo.html#length">length</keyword> <keyword ref="qsqlfieldinfo.html#length">length</keyword>
<keyword ref="qsqlfieldinfo.html#name">name</keyword> <keyword ref="qsqlfieldinfo.html#name">name</keyword>

@ -73,7 +73,7 @@ attribute is reported.
and the name of the attribute in <em>aName</em>. It passes a string that and the name of the attribute in <em>aName</em>. It passes a string that
represents the attribute type in <em>type</em> and a string that represents the attribute type in <em>type</em> and a string that
represents the attribute default in <em>valueDefault</em>. This string represents the attribute default in <em>valueDefault</em>. This string
is one of "#IMPLIED", "#RETQUIRED", "#FIXED" or <a href="qstring.html#TQString-null">TQString::null</a> (if is one of "#IMPLIED", "#REQUIRED", "#FIXED" or <a href="qstring.html#TQString-null">TQString::null</a> (if
none of the others applies). The reader passes the attribute's none of the others applies). The reader passes the attribute's
default value in <em>value</em>. If no default value is specified in the default value in <em>value</em>. If no default value is specified in the
XML file, <em>value</em> is TQString::null. XML file, <em>value</em> is TQString::null.

@ -35,7 +35,7 @@ QSqlFieldInfo \- Stores meta data associated with a SQL field
.BI "QSqlField \fBtoField\fR () const" .BI "QSqlField \fBtoField\fR () const"
.br .br
.ti -1c .ti -1c
.BI "int \fBisRetquired\fR () const" .BI "int \fBisRequired\fR () const"
.br .br
.ti -1c .ti -1c
.BI "QVariant::Type \fBtype\fR () const" .BI "QVariant::Type \fBtype\fR () const"
@ -79,7 +79,7 @@ The QSqlFieldInfo class stores meta data associated with a SQL field.
.PP .PP
QSqlFieldInfo objects only store meta data; field values are stored in QSqlField objects. QSqlFieldInfo objects only store meta data; field values are stored in QSqlField objects.
.PP .PP
All values must be set in the constructor, and may be retrieved using isRetquired(), type(), length(), precision(), defaultValue(), name(), isGenerated() and typeID(). All values must be set in the constructor, and may be retrieved using isRequired(), type(), length(), precision(), defaultValue(), name(), isGenerated() and typeID().
.PP .PP
See also Database Classes. See also Database Classes.
.SH MEMBER FUNCTION DOCUMENTATION .SH MEMBER FUNCTION DOCUMENTATION
@ -106,7 +106,7 @@ See also setCalculated().
Returns TRUE if the field should be included in auto-generated SQL statments, e.g. in QSqlCursor; otherwise returns FALSE. Returns TRUE if the field should be included in auto-generated SQL statments, e.g. in QSqlCursor; otherwise returns FALSE.
.PP .PP
See also setGenerated(). See also setGenerated().
.SH "int QSqlFieldInfo::isRetquired () const" .SH "int QSqlFieldInfo::isRequired () const"
Returns a value greater than 0 if the field is retquired (NULL values are not allowed), 0 if it isn't retquired (NULL values are allowed) or less than 0 if it cannot be determined whether the field is retquired or not. Returns a value greater than 0 if the field is retquired (NULL values are not allowed), 0 if it isn't retquired (NULL values are allowed) or less than 0 if it cannot be determined whether the field is retquired or not.
.SH "bool QSqlFieldInfo::isTrim () const" .SH "bool QSqlFieldInfo::isTrim () const"
Returns TRUE if trailing whitespace should be removed from character fields; otherwise returns FALSE. Returns TRUE if trailing whitespace should be removed from character fields; otherwise returns FALSE.

@ -64,7 +64,7 @@
</column> </column>
<column> <column>
<property name="text"> <property name="text">
<string>Retquired</string> <string>Required</string>
</property> </property>
<property name="clickable"> <property name="clickable">
<bool>true</bool> <bool>true</bool>

@ -72,9 +72,9 @@ void SqlEx::dbConnect()
TQSqlRecordInfo ri = db->recordInfo ( *it ); TQSqlRecordInfo ri = db->recordInfo ( *it );
for ( TQSqlRecordInfo::Iterator it = ri.begin(); it != ri.end(); ++it ) { for ( TQSqlRecordInfo::Iterator it = ri.begin(); it != ri.end(); ++it ) {
TQString req; TQString req;
if ( (*it).isRetquired() > 0 ) { if ( (*it).isRequired() > 0 ) {
req = "Yes"; req = "Yes";
} else if ( (*it).isRetquired() == 0 ) { } else if ( (*it).isRequired() == 0 ) {
req = "No"; req = "No";
} else { } else {
req = "?"; req = "?";

@ -815,7 +815,7 @@ contact Trolltech if you want to upgrade to the Enterprise Edition.</source>
<translation>طراز</translation> <translation>طراز</translation>
</message> </message>
<message> <message>
<source>Retquired</source> <source>Required</source>
<translation>مطلوب</translation> <translation>مطلوب</translation>
</message> </message>
<message> <message>

@ -608,7 +608,7 @@ contact Trolltech if you want to upgrade to the Enterprise Edition.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message encoding="UTF-8"> <message encoding="UTF-8">
<source>Retquired</source> <source>Required</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message encoding="UTF-8"> <message encoding="UTF-8">

@ -608,7 +608,7 @@ contact Trolltech if you want to upgrade to the Enterprise Edition.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message encoding="UTF-8"> <message encoding="UTF-8">
<source>Retquired</source> <source>Required</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message encoding="UTF-8"> <message encoding="UTF-8">

@ -610,7 +610,7 @@ contact Trolltech if you want to upgrade to the Enterprise Edition.</source>
<translation>סוג</translation> <translation>סוג</translation>
</message> </message>
<message encoding="UTF-8"> <message encoding="UTF-8">
<source>Retquired</source> <source>Required</source>
<translation>נדרש</translation> <translation>נדרש</translation>
</message> </message>
<message encoding="UTF-8"> <message encoding="UTF-8">

@ -779,7 +779,7 @@ MNG_EXT mng_retcode MNG_DECL mng_set_doprogressive (mng_handle hHandle,
system-defined default. system-defined default.
TO RECAP: for sRGB systems (Windows, Linux) no action retquired! TO RECAP: for sRGB systems (Windows, Linux) no action retquired!
for non-sRGB systems (SGI, Mac, Next) ACTION RETQUIRED! for non-sRGB systems (SGI, Mac, Next) ACTION REQUIRED!
Please visit http://www.srgb.com, http://www.color.org and Please visit http://www.srgb.com, http://www.color.org and
http://www.littlecms.com for more info. http://www.littlecms.com for more info.

@ -3917,7 +3917,7 @@ READ_CHUNK (read_fram)
mng_uint32 iNamelen; mng_uint32 iNamelen;
#endif #endif
mng_uint32 iRemain; mng_uint32 iRemain;
mng_uint32 iRetquired = 0; mng_uint32 iRequired = 0;
#ifdef MNG_SUPPORT_TRACE #ifdef MNG_SUPPORT_TRACE
MNG_TRACE (pData, MNG_FN_READ_FRAM, MNG_LC_START) MNG_TRACE (pData, MNG_FN_READ_FRAM, MNG_LC_START)
@ -3958,20 +3958,20 @@ READ_CHUNK (read_fram)
if (iRemain) if (iRemain)
{ {
iRetquired = 4; /* calculate and check retquired remaining length */ iRequired = 4; /* calculate and check retquired remaining length */
if (*(pTemp+1)) { iRetquired += 4; } if (*(pTemp+1)) { iRequired += 4; }
if (*(pTemp+2)) { iRetquired += 4; } if (*(pTemp+2)) { iRequired += 4; }
if (*(pTemp+3)) { iRetquired += 17; } if (*(pTemp+3)) { iRequired += 17; }
if (*(pTemp+4)) if (*(pTemp+4))
{ {
if ((iRemain - iRetquired) % 4 != 0) if ((iRemain - iRequired) % 4 != 0)
MNG_ERROR (pData, MNG_INVALIDLENGTH) MNG_ERROR (pData, MNG_INVALIDLENGTH)
} }
else else
{ {
if (iRemain != iRetquired) if (iRemain != iRequired)
MNG_ERROR (pData, MNG_INVALIDLENGTH) MNG_ERROR (pData, MNG_INVALIDLENGTH)
} }
} }
@ -4130,7 +4130,7 @@ READ_CHUNK (read_fram)
if (((mng_framp)*ppChunk)->iChangesyncid) if (((mng_framp)*ppChunk)->iChangesyncid)
{ {
((mng_framp)*ppChunk)->iCount = (iRemain - iRetquired) / 4; ((mng_framp)*ppChunk)->iCount = (iRemain - iRequired) / 4;
if (((mng_framp)*ppChunk)->iCount) if (((mng_framp)*ppChunk)->iCount)
{ {

@ -98,7 +98,7 @@ void read_png(FILE *fp, unsigned int sig_read) /* file is already open */
* functions. If you want to use the default stderr and longjump method, * functions. If you want to use the default stderr and longjump method,
* you can supply NULL for the last three parameters. We also supply the * you can supply NULL for the last three parameters. We also supply the
* the compiler header file version, so that we know if the application * the compiler header file version, so that we know if the application
* was compiled with a compatible version of the library. RETQUIRED * was compiled with a compatible version of the library. REQUIRED
*/ */
png_ptr = png_create_read_struct(PNG_LIBPNG_VER_STRING, png_ptr = png_create_read_struct(PNG_LIBPNG_VER_STRING,
png_voidp user_error_ptr, user_error_fn, user_warning_fn); png_voidp user_error_ptr, user_error_fn, user_warning_fn);
@ -109,7 +109,7 @@ void read_png(FILE *fp, unsigned int sig_read) /* file is already open */
return (ERROR); return (ERROR);
} }
/* Allocate/initialize the memory for image information. RETQUIRED. */ /* Allocate/initialize the memory for image information. REQUIRED. */
info_ptr = png_create_info_struct(png_ptr); info_ptr = png_create_info_struct(png_ptr);
if (info_ptr == NULL) if (info_ptr == NULL)
{ {
@ -119,7 +119,7 @@ void read_png(FILE *fp, unsigned int sig_read) /* file is already open */
} }
/* Set error handling if you are using the setjmp/longjmp method (this is /* Set error handling if you are using the setjmp/longjmp method (this is
* the normal method of doing things with libpng). RETQUIRED unless you * the normal method of doing things with libpng). REQUIRED unless you
* set up your own error handlers in the png_create_read_struct() earlier. * set up your own error handlers in the png_create_read_struct() earlier.
*/ */
@ -132,7 +132,7 @@ void read_png(FILE *fp, unsigned int sig_read) /* file is already open */
return (ERROR); return (ERROR);
} }
/* One of the following I/O initialization methods is RETQUIRED */ /* One of the following I/O initialization methods is REQUIRED */
#ifdef streams /* PNG file I/O method 1 */ #ifdef streams /* PNG file I/O method 1 */
/* Set up the input control if you are using standard C streams */ /* Set up the input control if you are using standard C streams */
png_init_io(png_ptr, fp); png_init_io(png_ptr, fp);
@ -162,7 +162,7 @@ void read_png(FILE *fp, unsigned int sig_read) /* file is already open */
/* OK, you're doing it the hard way, with the lower-level functions */ /* OK, you're doing it the hard way, with the lower-level functions */
/* The call to png_read_info() gives us all of the information from the /* The call to png_read_info() gives us all of the information from the
* PNG file before the first IDAT (image data chunk). RETQUIRED * PNG file before the first IDAT (image data chunk). REQUIRED
*/ */
png_read_info(png_ptr, info_ptr); png_read_info(png_ptr, info_ptr);
@ -319,14 +319,14 @@ void read_png(FILE *fp, unsigned int sig_read) /* file is already open */
/* Add filler (or alpha) byte (before/after each RGB triplet) */ /* Add filler (or alpha) byte (before/after each RGB triplet) */
png_set_filler(png_ptr, 0xff, PNG_FILLER_AFTER); png_set_filler(png_ptr, 0xff, PNG_FILLER_AFTER);
/* Turn on interlace handling. RETQUIRED if you are not using /* Turn on interlace handling. REQUIRED if you are not using
* png_read_image(). To see how to handle interlacing passes, * png_read_image(). To see how to handle interlacing passes,
* see the png_read_row() method below: * see the png_read_row() method below:
*/ */
number_passes = png_set_interlace_handling(png_ptr); number_passes = png_set_interlace_handling(png_ptr);
/* Optional call to gamma correct and add the background to the palette /* Optional call to gamma correct and add the background to the palette
* and update info structure. RETQUIRED if you are expecting libpng to * and update info structure. REQUIRED if you are expecting libpng to
* update the palette for you (ie you selected such a transform above). * update the palette for you (ie you selected such a transform above).
*/ */
png_read_update_info(png_ptr, info_ptr); png_read_update_info(png_ptr, info_ptr);
@ -342,7 +342,7 @@ void read_png(FILE *fp, unsigned int sig_read) /* file is already open */
info_ptr)); info_ptr));
} }
/* Now it's time to read the image. One of these methods is RETQUIRED */ /* Now it's time to read the image. One of these methods is REQUIRED */
#ifdef entire /* Read the entire image in one go */ #ifdef entire /* Read the entire image in one go */
png_read_image(png_ptr, row_pointers); png_read_image(png_ptr, row_pointers);
@ -375,13 +375,13 @@ void read_png(FILE *fp, unsigned int sig_read) /* file is already open */
} }
#endif no_entire /* use only one of these two methods */ #endif no_entire /* use only one of these two methods */
/* read rest of file, and get additional chunks in info_ptr - RETQUIRED */ /* read rest of file, and get additional chunks in info_ptr - REQUIRED */
png_read_end(png_ptr, info_ptr); png_read_end(png_ptr, info_ptr);
#endif hilevel #endif hilevel
/* At this point you have read the entire image */ /* At this point you have read the entire image */
/* clean up after the read, and free any memory allocated - RETQUIRED */ /* clean up after the read, and free any memory allocated - REQUIRED */
png_destroy_read_struct(&png_ptr, &info_ptr, png_infopp_NULL); png_destroy_read_struct(&png_ptr, &info_ptr, png_infopp_NULL);
/* close the file */ /* close the file */
@ -566,7 +566,7 @@ void write_png(char *file_name /* , ... other image information ... */)
* functions. If you want to use the default stderr and longjump method, * functions. If you want to use the default stderr and longjump method,
* you can supply NULL for the last three parameters. We also check that * you can supply NULL for the last three parameters. We also check that
* the library version is compatible with the one used at compile time, * the library version is compatible with the one used at compile time,
* in case we are using dynamically linked libraries. RETQUIRED. * in case we are using dynamically linked libraries. REQUIRED.
*/ */
png_ptr = png_create_write_struct(PNG_LIBPNG_VER_STRING, png_ptr = png_create_write_struct(PNG_LIBPNG_VER_STRING,
png_voidp user_error_ptr, user_error_fn, user_warning_fn); png_voidp user_error_ptr, user_error_fn, user_warning_fn);
@ -577,7 +577,7 @@ void write_png(char *file_name /* , ... other image information ... */)
return (ERROR); return (ERROR);
} }
/* Allocate/initialize the image information data. RETQUIRED */ /* Allocate/initialize the image information data. REQUIRED */
info_ptr = png_create_info_struct(png_ptr); info_ptr = png_create_info_struct(png_ptr);
if (info_ptr == NULL) if (info_ptr == NULL)
{ {
@ -586,7 +586,7 @@ void write_png(char *file_name /* , ... other image information ... */)
return (ERROR); return (ERROR);
} }
/* Set error handling. RETQUIRED if you aren't supplying your own /* Set error handling. REQUIRED if you aren't supplying your own
* error handling functions in the png_create_write_struct() call. * error handling functions in the png_create_write_struct() call.
*/ */
if (setjmp(png_jmpbuf(png_ptr))) if (setjmp(png_jmpbuf(png_ptr)))
@ -597,7 +597,7 @@ void write_png(char *file_name /* , ... other image information ... */)
return (ERROR); return (ERROR);
} }
/* One of the following I/O initialization functions is RETQUIRED */ /* One of the following I/O initialization functions is REQUIRED */
#ifdef streams /* I/O initialization method 1 */ #ifdef streams /* I/O initialization method 1 */
/* set up the output control if you are using standard C streams */ /* set up the output control if you are using standard C streams */
png_init_io(png_ptr, fp); png_init_io(png_ptr, fp);
@ -624,12 +624,12 @@ void write_png(char *file_name /* , ... other image information ... */)
* PNG_COLOR_TYPE_GRAY_ALPHA, PNG_COLOR_TYPE_PALETTE, PNG_COLOR_TYPE_RGB, * PNG_COLOR_TYPE_GRAY_ALPHA, PNG_COLOR_TYPE_PALETTE, PNG_COLOR_TYPE_RGB,
* or PNG_COLOR_TYPE_RGB_ALPHA. interlace is either PNG_INTERLACE_NONE or * or PNG_COLOR_TYPE_RGB_ALPHA. interlace is either PNG_INTERLACE_NONE or
* PNG_INTERLACE_ADAM7, and the compression_type and filter_type MUST * PNG_INTERLACE_ADAM7, and the compression_type and filter_type MUST
* currently be PNG_COMPRESSION_TYPE_BASE and PNG_FILTER_TYPE_BASE. RETQUIRED * currently be PNG_COMPRESSION_TYPE_BASE and PNG_FILTER_TYPE_BASE. REQUIRED
*/ */
png_set_IHDR(png_ptr, info_ptr, width, height, bit_depth, PNG_COLOR_TYPE_???, png_set_IHDR(png_ptr, info_ptr, width, height, bit_depth, PNG_COLOR_TYPE_???,
PNG_INTERLACE_????, PNG_COMPRESSION_TYPE_BASE, PNG_FILTER_TYPE_BASE); PNG_INTERLACE_????, PNG_COMPRESSION_TYPE_BASE, PNG_FILTER_TYPE_BASE);
/* set the palette if there is one. RETQUIRED for indexed-color images */ /* set the palette if there is one. REQUIRED for indexed-color images */
palette = (png_colorp)png_malloc(png_ptr, PNG_MAX_PALETTE_LENGTH palette = (png_colorp)png_malloc(png_ptr, PNG_MAX_PALETTE_LENGTH
* sizeof (png_color)); * sizeof (png_color));
/* ... set palette colors ... */ /* ... set palette colors ... */
@ -676,7 +676,7 @@ void write_png(char *file_name /* , ... other image information ... */)
/* note that if sRGB is present the gAMA and cHRM chunks must be ignored /* note that if sRGB is present the gAMA and cHRM chunks must be ignored
* on read and must be written in accordance with the sRGB profile */ * on read and must be written in accordance with the sRGB profile */
/* Write the file header information. RETQUIRED */ /* Write the file header information. REQUIRED */
png_write_info(png_ptr, info_ptr); png_write_info(png_ptr, info_ptr);
/* If you want, you can write the info in two steps, in case you need to /* If you want, you can write the info in two steps, in case you need to
@ -744,7 +744,7 @@ void write_png(char *file_name /* , ... other image information ... */)
for (k = 0; k < height; k++) for (k = 0; k < height; k++)
row_pointers[k] = image + k*width*bytes_per_pixel; row_pointers[k] = image + k*width*bytes_per_pixel;
/* One of the following output methods is RETQUIRED */ /* One of the following output methods is REQUIRED */
#ifdef entire /* write out the entire image data in one call */ #ifdef entire /* write out the entire image data in one call */
png_write_image(png_ptr, row_pointers); png_write_image(png_ptr, row_pointers);
@ -773,7 +773,7 @@ void write_png(char *file_name /* , ... other image information ... */)
* register unknown chunks into the info structure to be written out. * register unknown chunks into the info structure to be written out.
*/ */
/* It is RETQUIRED to call this to finish writing the rest of the file */ /* It is REQUIRED to call this to finish writing the rest of the file */
png_write_end(png_ptr, info_ptr); png_write_end(png_ptr, info_ptr);
#endif hilevel #endif hilevel

@ -1381,7 +1381,7 @@ png_read_png(png_structp png_ptr, png_infop info_ptr,
/* We don't handle adding filler bytes */ /* We don't handle adding filler bytes */
/* Optional call to gamma correct and add the background to the palette /* Optional call to gamma correct and add the background to the palette
* and update info structure. RETQUIRED if you are expecting libpng to * and update info structure. REQUIRED if you are expecting libpng to
* update the palette for you (i.e., you selected such a transform above). * update the palette for you (i.e., you selected such a transform above).
*/ */
png_read_update_info(png_ptr, info_ptr); png_read_update_info(png_ptr, info_ptr);
@ -1408,7 +1408,7 @@ png_read_png(png_structp png_ptr, png_infop info_ptr,
png_read_image(png_ptr, info_ptr->row_pointers); png_read_image(png_ptr, info_ptr->row_pointers);
info_ptr->valid |= PNG_INFO_IDAT; info_ptr->valid |= PNG_INFO_IDAT;
/* read rest of file, and get additional chunks in info_ptr - RETQUIRED */ /* read rest of file, and get additional chunks in info_ptr - REQUIRED */
png_read_end(png_ptr, info_ptr); png_read_end(png_ptr, info_ptr);
if(transforms == 0 || params == NULL) if(transforms == 0 || params == NULL)

@ -1440,7 +1440,7 @@ png_write_png(png_structp png_ptr, png_infop info_ptr,
if (info_ptr->valid & PNG_INFO_IDAT) if (info_ptr->valid & PNG_INFO_IDAT)
png_write_image(png_ptr, info_ptr->row_pointers); png_write_image(png_ptr, info_ptr->row_pointers);
/* It is RETQUIRED to call this to finish writing the rest of the file */ /* It is REQUIRED to call this to finish writing the rest of the file */
png_write_end(png_ptr, info_ptr); png_write_end(png_ptr, info_ptr);
if(transforms == 0 || params == NULL) if(transforms == 0 || params == NULL)

@ -91,7 +91,7 @@ public:
}; };
// UPDATED COMMENT RETQUIRED -- 2004-07-08 YamaKen // UPDATED COMMENT REQUIRED -- 2004-07-08 YamaKen
/*! /*!
\class TQInputContext qinputcontext.h \class TQInputContext qinputcontext.h
\brief The TQInputContext class abstracts the input method dependent data and composing state. \brief The TQInputContext class abstracts the input method dependent data and composing state.

@ -4009,7 +4009,7 @@ void TQWidget::show()
TQApplication::postEvent( parentWidget(), TQApplication::postEvent( parentWidget(),
new TQEvent(TQEvent::LayoutHint) ); new TQEvent(TQEvent::LayoutHint) );
// Retquired for Mac, not sure whether we should always do that // Required for Mac, not sure whether we should always do that
if( isTopLevel() ) if( isTopLevel() )
TQApplication::sendPostedEvents(0, TQEvent::LayoutHint); TQApplication::sendPostedEvents(0, TQEvent::LayoutHint);

@ -623,7 +623,7 @@ void *TQGLContext::tryVisual( const TQGLFormat& f, int bufDepth )
useTranspExtChecked = TRUE; useTranspExtChecked = TRUE;
} }
if ( f.plane() && useTranspExt ) { if ( f.plane() && useTranspExt ) {
// Retquired to avoid non-transparent overlay visual(!) on some systems // Required to avoid non-transparent overlay visual(!) on some systems
spec[i++] = GLX_TRANSPARENT_TYPE_EXT; spec[i++] = GLX_TRANSPARENT_TYPE_EXT;
spec[i++] = f.rgba() ? GLX_TRANSPARENT_RGB_EXT : GLX_TRANSPARENT_INDEX_EXT; spec[i++] = f.rgba() ? GLX_TRANSPARENT_RGB_EXT : GLX_TRANSPARENT_INDEX_EXT;
} }

@ -316,7 +316,7 @@ struct TQSqlFieldInfoPrivate
stored in TQSqlField objects. stored in TQSqlField objects.
All values must be set in the constructor, and may be retrieved All values must be set in the constructor, and may be retrieved
using isRetquired(), type(), length(), precision(), defaultValue(), using isRequired(), type(), length(), precision(), defaultValue(),
name(), isGenerated() and typeID(). name(), isGenerated() and typeID().
*/ */
@ -453,7 +453,7 @@ TQSqlField TQSqlFieldInfo::toField() const
allowed) or less than 0 if it cannot be determined whether the allowed) or less than 0 if it cannot be determined whether the
field is retquired or not. field is retquired or not.
*/ */
int TQSqlFieldInfo::isRetquired() const int TQSqlFieldInfo::isRequired() const
{ return d->retquired; } { return d->retquired; }
/*! /*!

@ -130,7 +130,7 @@ public:
bool operator==( const TQSqlFieldInfo& f ) const; bool operator==( const TQSqlFieldInfo& f ) const;
TQSqlField toField() const; TQSqlField toField() const;
int isRetquired() const; int isRequired() const;
TQVariant::Type type() const; TQVariant::Type type() const;
int length() const; int length() const;
int precision() const; int precision() const;

@ -177,10 +177,10 @@
#endif #endif
#if defined(Q_OS_MACX) #if defined(Q_OS_MACX)
# ifdef MAC_OS_X_VERSION_MIN_RETQUIRED # ifdef MAC_OS_X_VERSION_MIN_REQUIRED
# undef MAC_OS_X_VERSION_MIN_RETQUIRED # undef MAC_OS_X_VERSION_MIN_REQUIRED
# endif # endif
# define MAC_OS_X_VERSION_MIN_RETQUIRED MAC_OS_X_VERSION_10_2 # define MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_10_2
# include <AvailabilityMacros.h> # include <AvailabilityMacros.h>
# if !defined(MAC_OS_X_VERSION_10_3) # if !defined(MAC_OS_X_VERSION_10_3)
# define MAC_OS_X_VERSION_10_3 MAC_OS_X_VERSION_10_2 + 1 # define MAC_OS_X_VERSION_10_3 MAC_OS_X_VERSION_10_2 + 1

@ -1838,7 +1838,7 @@ TQString TQXmlInputSource::fromRawData( const TQByteArray &data, bool beginning
and the name of the attribute in \a aName. It passes a string that and the name of the attribute in \a aName. It passes a string that
represents the attribute type in \a type and a string that represents the attribute type in \a type and a string that
represents the attribute default in \a valueDefault. This string represents the attribute default in \a valueDefault. This string
is one of "#IMPLIED", "#RETQUIRED", "#FIXED" or TQString::null (if is one of "#IMPLIED", "#REQUIRED", "#FIXED" or TQString::null (if
none of the others applies). The reader passes the attribute's none of the others applies). The reader passes the attribute's
default value in \a value. If no default value is specified in the default value in \a value. If no default value is specified in the
XML file, \a value is TQString::null. XML file, \a value is TQString::null.
@ -5068,7 +5068,7 @@ bool TQXmlSimpleReader::parseAttlistDecl()
const signed char Atttype = 7; // parse the AttType const signed char Atttype = 7; // parse the AttType
const signed char Ws3 = 8; // whitespace read const signed char Ws3 = 8; // whitespace read
const signed char DDecH = 9; // DefaultDecl with # const signed char DDecH = 9; // DefaultDecl with #
const signed char DefReq = 10; // parse the string "RETQUIRED" const signed char DefReq = 10; // parse the string "REQUIRED"
const signed char DefImp = 11; // parse the string "IMPLIED" const signed char DefImp = 11; // parse the string "IMPLIED"
const signed char DefFix = 12; // parse the string "FIXED" const signed char DefFix = 12; // parse the string "FIXED"
const signed char Attval = 13; // parse the AttValue const signed char Attval = 13; // parse the AttValue
@ -5207,7 +5207,7 @@ bool TQXmlSimpleReader::parseAttlistDecl()
next(); next();
break; break;
case DefReq: case DefReq:
d->parseString_s = "RETQUIRED"; d->parseString_s = "REQUIRED";
if ( !parseString() ) { if ( !parseString() ) {
parseFailed( &TQXmlSimpleReader::parseAttlistDecl, state ); parseFailed( &TQXmlSimpleReader::parseAttlistDecl, state );
return FALSE; return FALSE;

@ -647,7 +647,7 @@ void Main::showInfo(TQListViewItem* i)
} }
TQStringList rdeps = rdependencies[choice->id]; TQStringList rdeps = rdependencies[choice->id];
if ( !rdeps.isEmpty() ) { if ( !rdeps.isEmpty() ) {
i += "<h3>Retquired for:</h3><ul>"; i += "<h3>Required for:</h3><ul>";
for (TQStringList::ConstIterator it = rdeps.begin(); for (TQStringList::ConstIterator it = rdeps.begin();
it != rdeps.end(); ++it) it != rdeps.end(); ++it)
{ {

Loading…
Cancel
Save