summaryrefslogtreecommitdiffstats
path: root/doc/html/drawlines-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/drawlines-example.html')
-rw-r--r--doc/html/drawlines-example.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/html/drawlines-example.html b/doc/html/drawlines-example.html
index c41b5349c..9bd59687e 100644
--- a/doc/html/drawlines-example.html
+++ b/doc/html/drawlines-example.html
@@ -77,7 +77,7 @@ private:
<a href="ntqpoint.html">TQPoint</a> *points; // point array
<a href="ntqcolor.html">TQColor</a> *colors; // color array
int count; // count = number of points
- bool down; // TRUE if mouse down
+ bool down; // true if mouse down
};
@@ -90,7 +90,7 @@ private:
{
<a href="ntqwidget.html#setBackgroundColor">setBackgroundColor</a>( white ); // white background
count = 0;
- down = FALSE;
+ down = false;
points = new <a href="ntqpoint.html">TQPoint</a>[MAXPOINTS];
colors = new <a href="ntqcolor.html">TQColor</a>[MAXCOLORS];
for ( int i=0; i&lt;MAXCOLORS; i++ ) // init color array
@@ -126,7 +126,7 @@ ConnectWidget::~ConnectWidget()
<a name="x1659"></a>void ConnectWidget::<a href="ntqwidget.html#mousePressEvent">mousePressEvent</a>( <a href="qmouseevent.html">TQMouseEvent</a> * )
{
- down = TRUE;
+ down = true;
count = 0; // start recording points
<a href="ntqwidget.html#erase">erase</a>(); // erase widget contents
}
@@ -138,7 +138,7 @@ ConnectWidget::~ConnectWidget()
<a name="x1660"></a>void ConnectWidget::<a href="ntqwidget.html#mouseReleaseEvent">mouseReleaseEvent</a>( <a href="qmouseevent.html">TQMouseEvent</a> * )
{
- down = FALSE; // done recording points
+ down = false; // done recording points
<a href="ntqwidget.html#update">update</a>(); // draw the lines
}