summaryrefslogtreecommitdiffstats
path: root/doc/html/trivial-nsplugin-example.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-07-15 19:08:22 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-07-18 09:31:41 +0900
commita30f5359f03c3017fa19a6770fab32d25d22cb87 (patch)
treecb365dd7a1c3666e3f972c6cad04be7b8e846cba /doc/html/trivial-nsplugin-example.html
parent25ad1267da6916e738a126ff5a9b41cd686adfc6 (diff)
downloadtqt3-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.html12
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 &lt;<a href="qpainter-h.html">ntqpainter.h</a>&gt;
+#include &lt;<a href="tqpainter-h.html">tqpainter.h</a>&gt;
#include &lt;<a href="qmessagebox-h.html">ntqmessagebox.h</a>&gt;
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-&gt;rect());
+ <a href="tqpainter.html">TQPainter</a> p(this);
+<a name="x2739"></a> p.<a href="tqpainter.html#setClipRect">setClipRect</a>(event-&gt;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-&gt;<a href="ntqpainter.html#drawText">drawText</a>(0,0,"Hello");
+ p-&gt;<a href="tqpainter.html#drawText">drawText</a>(0,0,"Hello");
}
};