summaryrefslogtreecommitdiffstats
path: root/doc/html/progress-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/progress-example.html')
-rw-r--r--doc/html/progress-example.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/html/progress-example.html b/doc/html/progress-example.html
index a86c0cae8..e4a239128 100644
--- a/doc/html/progress-example.html
+++ b/doc/html/progress-example.html
@@ -95,9 +95,9 @@ protected:
void timerEvent(TQTimerEvent*)
{
<a href="tqpainter.html">TQPainter</a> p(this);
-<a name="x76"></a> <a href="ntqpen.html">TQPen</a> pn=p.<a href="tqpainter.html#pen">pen</a>();
-<a name="x80"></a> pn.<a href="ntqpen.html#setWidth">setWidth</a>(2);
-<a name="x79"></a> pn.<a href="ntqpen.html#setColor">setColor</a>(backgroundColor());
+<a name="x76"></a> <a href="tqpen.html">TQPen</a> pn=p.<a href="tqpainter.html#pen">pen</a>();
+<a name="x80"></a> pn.<a href="tqpen.html#setWidth">setWidth</a>(2);
+<a name="x79"></a> pn.<a href="tqpen.html#setColor">setColor</a>(backgroundColor());
<a name="x78"></a> p.<a href="tqpainter.html#setPen">setPen</a>(pn);
step = (step + 1) % nqix;
@@ -115,7 +115,7 @@ protected:
<a href="tqcolor.html">TQColor</a> c;
<a name="x66"></a> c.<a href="tqcolor.html#setHsv">setHsv</a>( (step*255)/nqix, 255, 255 ); // rainbow effect
- pn.<a href="ntqpen.html#setColor">setColor</a>(c);
+ pn.<a href="tqpen.html#setColor">setColor</a>(c);
p.<a href="tqpainter.html#setPen">setPen</a>(pn);
p.<a href="tqpainter.html#drawLine">drawLine</a>(ox[0][step], oy[0][step], ox[1][step], oy[1][step]);
p.<a href="tqpainter.html#setPen">setPen</a>(colorGroup().text());
@@ -125,14 +125,14 @@ protected:
void paintEvent(TQPaintEvent* event)
{
<a href="tqpainter.html">TQPainter</a> p(this);
- <a href="ntqpen.html">TQPen</a> pn=p.<a href="tqpainter.html#pen">pen</a>();
- pn.<a href="ntqpen.html#setWidth">setWidth</a>(2);
+ <a href="tqpen.html">TQPen</a> pn=p.<a href="tqpainter.html#pen">pen</a>();
+ pn.<a href="tqpen.html#setWidth">setWidth</a>(2);
p.<a href="tqpainter.html#setPen">setPen</a>(pn);
<a name="x77"></a> p.<a href="tqpainter.html#setClipRect">setClipRect</a>(event-&gt;rect());
for (int i=0; i&lt;nqix; i++) {
<a href="tqcolor.html">TQColor</a> c;
c.<a href="tqcolor.html#setHsv">setHsv</a>( (i*255)/nqix, 255, 255 ); // rainbow effect
- pn.<a href="ntqpen.html#setColor">setColor</a>(c);
+ pn.<a href="tqpen.html#setColor">setColor</a>(c);
p.<a href="tqpainter.html#setPen">setPen</a>(pn);
p.<a href="tqpainter.html#drawLine">drawLine</a>(ox[0][i], oy[0][i], ox[1][i], oy[1][i]);
}