summaryrefslogtreecommitdiffstats
path: root/doc/html/canvas-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/canvas-example.html')
-rw-r--r--doc/html/canvas-example.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/html/canvas-example.html b/doc/html/canvas-example.html
index 40f6d9c8d..c9a0b0c0d 100644
--- a/doc/html/canvas-example.html
+++ b/doc/html/canvas-example.html
@@ -214,7 +214,7 @@ bool <a name="f624"></a>ImageItem::hit( const <a href="ntqpoint.html">TQPoint</a
<a name="x2934"></a> if ( !image.<a href="ntqimage.html#valid">valid</a>( ix , iy ) )
return FALSE;
<a name="x2933"></a> TQRgb pixel = image.<a href="ntqimage.html#pixel">pixel</a>( ix, iy );
- return qAlpha( pixel ) != 0;
+ return tqAlpha( pixel ) != 0;
}
class NodeItem: public <a href="qcanvasellipse.html">TQCanvasEllipse</a>
@@ -454,7 +454,7 @@ static TQImage *logoimg;
file-&gt;<a href="ntqmenudata.html#insertSeparator">insertSeparator</a>();
file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>("&amp;Print...", this, SLOT(print()), CTRL+Key_P);
file-&gt;<a href="ntqmenudata.html#insertSeparator">insertSeparator</a>();
- file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>("E&amp;xit", qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()), CTRL+Key_Q);
+ file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>("E&amp;xit", tqApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()), CTRL+Key_Q);
menu-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>("&amp;File", file);
<a href="ntqpopupmenu.html">TQPopupMenu</a>* edit = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( menu );
@@ -544,9 +544,9 @@ void <a name="f627"></a>Main::newView()
{
// Open a new view... have it delete when closed.
Main *m = new Main(canvas, 0, 0, WDestructiveClose);
- qApp-&gt;<a href="ntqapplication.html#setMainWidget">setMainWidget</a>(m);
+ tqApp-&gt;<a href="ntqapplication.html#setMainWidget">setMainWidget</a>(m);
m-&gt;<a href="ntqwidget.html#show">show</a>();
- qApp-&gt;<a href="ntqapplication.html#setMainWidget">setMainWidget</a>(0);
+ tqApp-&gt;<a href="ntqapplication.html#setMainWidget">setMainWidget</a>(0);
}
void <a name="f628"></a>Main::clear()
@@ -922,7 +922,7 @@ int main(int argc, char** argv)
else
<a name="x2968"></a> m.<a href="ntqwidget.html#showMaximized">showMaximized</a>();
- TQObject::<a href="ntqobject.html#connect">connect</a>( qApp, SIGNAL(<a href="ntqapplication.html#lastWindowClosed">lastWindowClosed</a>()), qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) );
+ TQObject::<a href="ntqobject.html#connect">connect</a>( tqApp, SIGNAL(<a href="ntqapplication.html#lastWindowClosed">lastWindowClosed</a>()), tqApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) );
return app.<a href="ntqapplication.html#exec">exec</a>();
}