summaryrefslogtreecommitdiffstats
path: root/doc/html/trivial-nsplugin-example.html
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-26 23:32:43 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-26 23:32:43 -0600
commitea318d1431c89e647598c510c4245c6571aa5f46 (patch)
tree996d29b80c30d453dda86d1a23162d441628f169 /doc/html/trivial-nsplugin-example.html
parentaaf89d4b48f69c9293feb187db26362e550b5561 (diff)
downloadtqt3-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.html18
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 &lt;<a href="qpainter-h.html">qpainter.h</a>&gt;
-#include &lt;<a href="qmessagebox-h.html">qmessagebox.h</a>&gt;
+#include "ntqnp.h"
+#include &lt;<a href="qpainter-h.html">ntqpainter.h</a>&gt;
+#include &lt;<a href="qmessagebox-h.html">ntqmessagebox.h</a>&gt;
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-&gt;rect());
+ <a href="ntqpainter.html">TQPainter</a> p(this);
+<a name="x2739"></a> p.<a href="ntqpainter.html#setClipRect">setClipRect</a>(event-&gt;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-&gt;<a href="qpainter.html#drawText">drawText</a>(0,0,"Hello");
+ p-&gt;<a href="ntqpainter.html#drawText">drawText</a>(0,0,"Hello");
}
};