diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-15 19:08:22 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-18 09:31:41 +0900 |
commit | a30f5359f03c3017fa19a6770fab32d25d22cb87 (patch) | |
tree | cb365dd7a1c3666e3f972c6cad04be7b8e846cba /doc/html/trivial-nsplugin-example.html | |
parent | 25ad1267da6916e738a126ff5a9b41cd686adfc6 (diff) | |
download | tqt3-a30f5359f03c3017fa19a6770fab32d25d22cb87.tar.gz tqt3-a30f5359f03c3017fa19a6770fab32d25d22cb87.zip |
Rename graphics class nt* related files to equivalent tq* (part 1)
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/trivial-nsplugin-example.html')
-rw-r--r-- | doc/html/trivial-nsplugin-example.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/html/trivial-nsplugin-example.html b/doc/html/trivial-nsplugin-example.html index 6b974096d..88904540a 100644 --- a/doc/html/trivial-nsplugin-example.html +++ b/doc/html/trivial-nsplugin-example.html @@ -46,7 +46,7 @@ to the Plugins directory of your WWW browser. Implementation: <p> <pre>// TQt stuff #include "ntqnp.h" -#include <<a href="qpainter-h.html">ntqpainter.h</a>> +#include <<a href="tqpainter-h.html">tqpainter.h</a>> #include <<a href="qmessagebox-h.html">ntqmessagebox.h</a>> class Trivial : public <a href="qnpwidget.html">TQNPWidget</a> { @@ -59,11 +59,11 @@ public: void paintEvent(TQPaintEvent* event) { - <a href="ntqpainter.html">TQPainter</a> p(this); -<a name="x2739"></a> p.<a href="ntqpainter.html#setClipRect">setClipRect</a>(event->rect()); + <a href="tqpainter.html">TQPainter</a> p(this); +<a name="x2739"></a> p.<a href="tqpainter.html#setClipRect">setClipRect</a>(event->rect()); int w = width(); -<a name="x2737"></a> p.<a href="ntqpainter.html#drawRect">drawRect</a>(rect()); -<a name="x2738"></a> p.<a href="ntqpainter.html#drawText">drawText</a>(w/8, 0, w-w/4, height(), AlignCenter|WordBreak, "Trivial!"); +<a name="x2737"></a> p.<a href="tqpainter.html#drawRect">drawRect</a>(rect()); +<a name="x2738"></a> p.<a href="tqpainter.html#drawText">drawText</a>(w/8, 0, w-w/4, height(), AlignCenter|WordBreak, "Trivial!"); } }; @@ -77,7 +77,7 @@ public: void print(TQPainter* p) { - p-><a href="ntqpainter.html#drawText">drawText</a>(0,0,"Hello"); + p-><a href="tqpainter.html#drawText">drawText</a>(0,0,"Hello"); } }; |