diff options
Diffstat (limited to 'doc/html/ntqvariant.html')
-rw-r--r-- | doc/html/ntqvariant.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/html/ntqvariant.html b/doc/html/ntqvariant.html index 820b3ea8e..90e4f86d0 100644 --- a/doc/html/ntqvariant.html +++ b/doc/html/ntqvariant.html @@ -202,7 +202,7 @@ toT() methods, set the variant to hold the converted value, and return a reference to the new contents of the variant. <p> Here is some example code to demonstrate the use of TQVariant: <p> <pre> - <a href="ntqdatastream.html">TQDataStream</a> out(...); + <a href="tqdatastream.html">TQDataStream</a> out(...); TQVariant v(123); // The variant now contains an int int x = v.<a href="#toInt">toInt</a>(); // x = 123 out << v; // Writes a type tag and an int to out @@ -212,7 +212,7 @@ return a reference to the new contents of the variant. <a href="tqstring.html">TQString</a> s = v.<a href="#toString">toString</a>(); // s = tr("hello") (see TQObject::tr()) out << v; // Writes a type tag and a TQString to out ... - <a href="ntqdatastream.html">TQDataStream</a> in(...); // (opening the previously written stream) + <a href="tqdatastream.html">TQDataStream</a> in(...); // (opening the previously written stream) in >> v; // Reads an Int variant int z = v.<a href="#toInt">toInt</a>(); // z = 123 <a href="ntqapplication.html#qDebug">tqDebug</a>("Type is %s", // prints "Type is int" @@ -308,7 +308,7 @@ this constructor. Usually this is a <a href="shclass.html#deep-copy">deep copy</ is made if the stored data type is <a href="shclass.html#explicitly-shared">explicitly shared</a>, as e.g. <a href="tqimage.html">TQImage</a> is. -<h3 class=fn><a name="TQVariant-3"></a>TQVariant::TQVariant ( <a href="ntqdatastream.html">TQDataStream</a> & s ) +<h3 class=fn><a name="TQVariant-3"></a>TQVariant::TQVariant ( <a href="tqdatastream.html">TQDataStream</a> & s ) </h3> Reads the variant from the data stream, <em>s</em>. |