diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-06 13:44:12 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-06 13:52:29 +0900 |
commit | e6077c30d14e9d662e8843c554db86c0d366d0b6 (patch) | |
tree | 672319afee32f0316bad258c0e9a1e0dd737bd61 /doc/html/activeqt-dotnet.html | |
parent | 8c029298d9d3f1f84b65ac4a3a16cd1fa28d9cde (diff) | |
download | tqt3-e6077c30d14e9d662e8843c554db86c0d366d0b6.tar.gz tqt3-e6077c30d14e9d662e8843c554db86c0d366d0b6.zip |
Rename str nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/activeqt-dotnet.html')
-rw-r--r-- | doc/html/activeqt-dotnet.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/html/activeqt-dotnet.html b/doc/html/activeqt-dotnet.html index 348c07944..e61772f87 100644 --- a/doc/html/activeqt-dotnet.html +++ b/doc/html/activeqt-dotnet.html @@ -137,16 +137,16 @@ managed programming language. public: Worker(); - <a href="ntqstring.html">TQString</a> statusString() const; + <a href="tqstring.html">TQString</a> statusString() const; public slots: - void setStatusString(const <a href="ntqstring.html">TQString</a> &string); + void setStatusString(const <a href="tqstring.html">TQString</a> &string); signals: - void statusStringChanged(const <a href="ntqstring.html">TQString</a> &string); + void statusStringChanged(const <a href="tqstring.html">TQString</a> &string); private: - <a href="ntqstring.html">TQString</a> status; + <a href="tqstring.html">TQString</a> status; }; </pre> <p> The TQt class has nothing unusual for TQt users, and as even the TQt @@ -180,7 +180,7 @@ function <tt>statusStringChanged(String*)</tt> (<tt>__event</tt>), the equivalent of the respective signal in the TQt class. <p> Before we can start implementing the wrapper class we need a way to convert TQt's datatypes (and potentionally your own) into .NET -datatypes, e.g. <a href="ntqstring.html">TQString</a> objects need to be converted into objects +datatypes, e.g. <a href="tqstring.html">TQString</a> objects need to be converted into objects of type <tt>String*</tt>. <p> When operating on managed objects in normal C++ code, a little extra care must be taken because of the CLR's garbage collection. A normal @@ -201,16 +201,16 @@ to the String object, even if it has been moved by the garbage collector, and it can be used just like a normal pointer. <p> -<pre> #include <<a href="qstring-h.html">ntqstring.h</a>> +<pre> #include <<a href="tqstring-h.html">tqstring.h</a>> #using <mscorlib.dll> #include <vcclr.h> using namespace System; - String *TQStringToString(const <a href="ntqstring.html">TQString</a> &qstring) + String *TQStringToString(const <a href="tqstring.html">TQString</a> &tqstring) { - <a name="x2467"></a> return new String(qstring.<a href="ntqstring.html#ucs2">ucs2</a>()); + <a name="x2467"></a> return new String(tqstring.<a href="tqstring.html#ucs2">ucs2</a>()); } </pre> <p> <pre> TQString StringToTQString(String *string) |