diff options
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"); } }; |