diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-26 23:32:43 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-26 23:32:43 -0600 |
commit | ea318d1431c89e647598c510c4245c6571aa5f46 (patch) | |
tree | 996d29b80c30d453dda86d1a23162d441628f169 /doc/html/trivial-nsplugin-example.html | |
parent | aaf89d4b48f69c9293feb187db26362e550b5561 (diff) | |
download | tqt3-ea318d1431c89e647598c510c4245c6571aa5f46.tar.gz tqt3-ea318d1431c89e647598c510c4245c6571aa5f46.zip |
Update to latest tqt3 automated conversion
Diffstat (limited to 'doc/html/trivial-nsplugin-example.html')
-rw-r--r-- | doc/html/trivial-nsplugin-example.html | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/html/trivial-nsplugin-example.html b/doc/html/trivial-nsplugin-example.html index fb7998729..0e4f7ba82 100644 --- a/doc/html/trivial-nsplugin-example.html +++ b/doc/html/trivial-nsplugin-example.html @@ -45,25 +45,25 @@ to the Plugins directory of your WWW browser. <p> <hr> Implementation: <p> <pre>// TQt stuff -#include "qnp.h" -#include <<a href="qpainter-h.html">qpainter.h</a>> -#include <<a href="qmessagebox-h.html">qmessagebox.h</a>> +#include "ntqnp.h" +#include <<a href="qpainter-h.html">ntqpainter.h</a>> +#include <<a href="qmessagebox-h.html">ntqmessagebox.h</a>> class Trivial : public <a href="qnpwidget.html">TQNPWidget</a> { <a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a> public: void mouseReleaseEvent(TQMouseEvent* event) { -<a name="x2736"></a> TQMessageBox::<a href="qmessagebox.html#aboutTQt">aboutTQt</a>(this); +<a name="x2736"></a> TQMessageBox::<a href="ntqmessagebox.html#aboutTQt">aboutTQt</a>(this); } void paintEvent(TQPaintEvent* event) { - <a href="qpainter.html">TQPainter</a> p(this); -<a name="x2739"></a> p.<a href="qpainter.html#setClipRect">setClipRect</a>(event->rect()); + <a href="ntqpainter.html">TQPainter</a> p(this); +<a name="x2739"></a> p.<a href="ntqpainter.html#setClipRect">setClipRect</a>(event->rect()); int w = width(); -<a name="x2737"></a> p.<a href="qpainter.html#drawRect">drawRect</a>(rect()); -<a name="x2738"></a> p.<a href="qpainter.html#drawText">drawText</a>(w/8, 0, w-w/4, height(), AlignCenter|WordBreak, "Trivial!"); +<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!"); } }; @@ -77,7 +77,7 @@ public: void print(TQPainter* p) { - p-><a href="qpainter.html#drawText">drawText</a>(0,0,"Hello"); + p-><a href="ntqpainter.html#drawText">drawText</a>(0,0,"Hello"); } }; |