summaryrefslogtreecommitdiffstats
path: root/doc/html/grapher-nsplugin-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/grapher-nsplugin-example.html')
-rw-r--r--doc/html/grapher-nsplugin-example.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/html/grapher-nsplugin-example.html b/doc/html/grapher-nsplugin-example.html
index 3058528f4..28b3ebc6b 100644
--- a/doc/html/grapher-nsplugin-example.html
+++ b/doc/html/grapher-nsplugin-example.html
@@ -186,7 +186,7 @@ private slots:
//
menubar = new <a href="ntqmenubar.html">TQMenuBar</a>( this );
stylemenu = new <a href="ntqpopupmenu.html">TQPopupMenu</a>;
-<a name="x2768"></a> stylemenu-&gt;<a href="ntqpopupmenu.html#setCheckable">setCheckable</a>(TRUE);
+<a name="x2768"></a> stylemenu-&gt;<a href="ntqpopupmenu.html#setCheckable">setCheckable</a>(true);
for ( Style s = Pie; styleName[s]; s = Style(s+1)) {
stylemenu-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>(styleName[s], s+100);
}
@@ -213,20 +213,20 @@ Graph::~Graph()
if (style != s) {
if (pieRotationTimer)
<a href="ntqobject.html#killTimer">killTimer</a>(pieRotationTimer);
-<a name="x2749"></a> stylemenu-&gt;<a href="ntqmenudata.html#setItemChecked">setItemChecked</a>(100+style, FALSE);
+<a name="x2749"></a> stylemenu-&gt;<a href="ntqmenudata.html#setItemChecked">setItemChecked</a>(100+style, false);
style = s;
if ( style == Pie )
pieRotationTimer = <a href="ntqobject.html#startTimer">startTimer</a>( 80 );
else
pieRotationTimer = 0;
- stylemenu-&gt;<a href="ntqmenudata.html#setItemChecked">setItemChecked</a>(100+style, TRUE);
+ stylemenu-&gt;<a href="ntqmenudata.html#setItemChecked">setItemChecked</a>(100+style, true);
<a href="ntqwidget.html#update">update</a>();
}
}
<a name="x2755"></a>void Graph::<a href="ntqobject.html#timerEvent">timerEvent</a>(TQTimerEvent*)
{
- pieRotation = ( pieRotation + 6 ) % 360; repaint(FALSE);
+ pieRotation = ( pieRotation + 6 ) % 360; repaint(false);
}
void Graph::<a href="ntqwidget.html#setStyle">setStyle</a>(const char* stext)
@@ -490,7 +490,7 @@ private slots:
<a name="f570"></a>Grapher::Grapher()
{
-<a name="x2769"></a> data.<a href="ntqptrcollection.html#setAutoDelete">setAutoDelete</a>(TRUE);
+<a name="x2769"></a> data.<a href="ntqptrcollection.html#setAutoDelete">setAutoDelete</a>(true);
ncols = 0;
<a name="x2743"></a> line.<a href="ntqiodevice.html#open">open</a>(IO_WriteOnly|IO_Truncate);
}
@@ -548,7 +548,7 @@ void <a name="f574"></a>Grapher::consumeLine()
if (ncols == 0 ) {
ncols=0;
<a href="ntqptrlist.html">TQPtrList</a>&lt;ColType&gt; typelist;
- typelist.<a href="ntqptrcollection.html#setAutoDelete">setAutoDelete</a>(TRUE);
+ typelist.<a href="ntqptrcollection.html#setAutoDelete">setAutoDelete</a>(true);
do {
<a href="ntqstring.html">TQString</a> typestr;
ts &gt;&gt; typestr &gt;&gt; ws;