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