diff options
Diffstat (limited to 'doc/html/qtranslatormessage.html')
-rw-r--r-- | doc/html/qtranslatormessage.html | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/doc/html/qtranslatormessage.html b/doc/html/qtranslatormessage.html index e1d0191f6..3a45733f4 100644 --- a/doc/html/qtranslatormessage.html +++ b/doc/html/qtranslatormessage.html @@ -34,7 +34,7 @@ body { background: #ffffff; color: black; } <p>The TQTranslatorMessage class contains a translator message and its properties. <a href="#details">More...</a> -<p><tt>#include <<a href="qtranslator-h.html">qtranslator.h</a>></tt> +<p><tt>#include <<a href="qtranslator-h.html">ntqtranslator.h</a>></tt> <p><a href="qtranslatormessage-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> @@ -70,13 +70,13 @@ properties. for translation tools such as <a href="linguist-manual.html">TQt Linguist</a>. It is provided simply to make the API complete and regular. -<p> For a <a href="qtranslator.html">TQTranslator</a> object, a lookup key is a triple (<em>context</em>, <em>source text</em>, <em>comment</em>) that uniquely identifies a message. An +<p> For a <a href="ntqtranslator.html">TQTranslator</a> object, a lookup key is a triple (<em>context</em>, <em>source text</em>, <em>comment</em>) that uniquely identifies a message. An extended key is a quadruple (<em>hash</em>, <em>context</em>, <em>source text</em>, <em>comment</em>), where <em>hash</em> is computed from the source text and the comment. Unless you plan to read and write messages yourself, you need not worry about the hash value. <p> TQTranslatorMessage stores this triple or quadruple and the relevant translation if there is any. -<p> <p>See also <a href="qtranslator.html">TQTranslator</a>, <a href="environment.html">Environment Classes</a>, and <a href="i18n.html">Internationalization with TQt</a>. +<p> <p>See also <a href="ntqtranslator.html">TQTranslator</a>, <a href="environment.html">Environment Classes</a>, and <a href="i18n.html">Internationalization with TQt</a>. <hr><h2>Member Type Documentation</h2> <h3 class=fn><a name="Prefix-enum"></a>TQTranslatorMessage::Prefix</h3> @@ -95,18 +95,18 @@ prefixes are <h3 class=fn><a name="TQTranslatorMessage"></a>TQTranslatorMessage::TQTranslatorMessage () </h3> Constructs a translator message with the extended key (0, 0, 0, 0) -and <a href="qstring.html#TQString-null">TQString::null</a> as translation. +and <a href="ntqstring.html#TQString-null">TQString::null</a> as translation. -<h3 class=fn><a name="TQTranslatorMessage-2"></a>TQTranslatorMessage::TQTranslatorMessage ( const char * context, const char * sourceText, const char * comment, const <a href="qstring.html">TQString</a> & translation = TQString::null ) +<h3 class=fn><a name="TQTranslatorMessage-2"></a>TQTranslatorMessage::TQTranslatorMessage ( const char * context, const char * sourceText, const char * comment, const <a href="ntqstring.html">TQString</a> & translation = TQString::null ) </h3> Constructs an translator message with the extended key (<em>h</em>, <em>context</em>, <em>sourceText</em>, <em>comment</em>), where <em>h</em> is computed from <em>sourceText</em> and <em>comment</em>, and possibly with a <em>translation</em>. -<h3 class=fn><a name="TQTranslatorMessage-3"></a>TQTranslatorMessage::TQTranslatorMessage ( <a href="qdatastream.html">TQDataStream</a> & stream ) +<h3 class=fn><a name="TQTranslatorMessage-3"></a>TQTranslatorMessage::TQTranslatorMessage ( <a href="ntqdatastream.html">TQDataStream</a> & stream ) </h3> Constructs a translator message read from the <em>stream</em>. The resulting message may have any combination of content. -<p> <p>See also <a href="qtranslator.html#save">TQTranslator::save</a>(). +<p> <p>See also <a href="ntqtranslator.html#save">TQTranslator::save</a>(). <h3 class=fn><a name="TQTranslatorMessage-4"></a>TQTranslatorMessage::TQTranslatorMessage ( const <a href="qtranslatormessage.html">TQTranslatorMessage</a> & m ) </h3> @@ -116,7 +116,7 @@ Constructs a copy of translator message <em>m</em>. </h3> <p> Returns the comment for this message (e.g. "File|Save"). -<p> <b>Warning:</b> This may return 0 if the <a href="qtranslator.html">TQTranslator</a> object is stripped +<p> <b>Warning:</b> This may return 0 if the <a href="ntqtranslator.html">TQTranslator</a> object is stripped (compressed). <h3 class=fn><a href="qtranslatormessage.html#Prefix-enum">Prefix</a> <a name="commonPrefix"></a>TQTranslatorMessage::commonPrefix ( const <a href="qtranslatormessage.html">TQTranslatorMessage</a> & m ) const @@ -132,7 +132,7 @@ message and to message <em>m</em>. </h3> <p> Returns the context for this message (e.g. "MyDialog"). -<p> <b>Warning:</b> This may return 0 if the <a href="qtranslator.html">TQTranslator</a> object is stripped +<p> <b>Warning:</b> This may return 0 if the <a href="ntqtranslator.html">TQTranslator</a> object is stripped (compressed). <h3 class=fn>uint <a name="hash"></a>TQTranslatorMessage::hash () const @@ -186,7 +186,7 @@ lexicographically after that of <em>m</em>; otherwise returns FALSE. lexicographically after that of <em>m</em> or if they are equal; otherwise returns FALSE. -<h3 class=fn>void <a name="setTranslation"></a>TQTranslatorMessage::setTranslation ( const <a href="qstring.html">TQString</a> & translation ) +<h3 class=fn>void <a name="setTranslation"></a>TQTranslatorMessage::setTranslation ( const <a href="ntqstring.html">TQString</a> & translation ) </h3> <p> Sets the translation of the source text to <em>translation</em>. @@ -196,16 +196,16 @@ otherwise returns FALSE. </h3> <p> Returns the source text of this message (e.g. "&Save"). -<p> <b>Warning:</b> This may return 0 if the <a href="qtranslator.html">TQTranslator</a> object is stripped +<p> <b>Warning:</b> This may return 0 if the <a href="ntqtranslator.html">TQTranslator</a> object is stripped (compressed). -<h3 class=fn><a href="qstring.html">TQString</a> <a name="translation"></a>TQTranslatorMessage::translation () const +<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="translation"></a>TQTranslatorMessage::translation () const </h3> <p> Returns the translation of the source text (e.g., "&Sauvegarder"). <p> <p>See also <a href="#setTranslation">setTranslation</a>(). -<h3 class=fn>void <a name="write"></a>TQTranslatorMessage::write ( <a href="qdatastream.html">TQDataStream</a> & stream, bool strip = FALSE, <a href="qtranslatormessage.html#Prefix-enum">Prefix</a> prefix = HashContextSourceTextComment ) const +<h3 class=fn>void <a name="write"></a>TQTranslatorMessage::write ( <a href="ntqdatastream.html">TQDataStream</a> & stream, bool strip = FALSE, <a href="qtranslatormessage.html#Prefix-enum">Prefix</a> prefix = HashContextSourceTextComment ) const </h3> Writes this translator message to the <em>stream</em>. If <em>strip</em> is FALSE (the default), all the information in the message is |