summaryrefslogtreecommitdiffstats
path: root/doc/html/canvas-example.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-10-15 13:05:33 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-10-22 10:05:58 +0900
commit397b7afa8e3f32268c4454bf4783ac2a5a799658 (patch)
tree0b41c33e457556bd2b9371788ddbce25263f00d6 /doc/html/canvas-example.html
parent755d46927cc6a5719e695aeb8133be6897de62d8 (diff)
downloadtqt3-397b7afa8e3f32268c4454bf4783ac2a5a799658.tar.gz
tqt3-397b7afa8e3f32268c4454bf4783ac2a5a799658.zip
Rename ntqapplication, ntqconfig and ntqmodules files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/canvas-example.html')
-rw-r--r--doc/html/canvas-example.html20
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/html/canvas-example.html b/doc/html/canvas-example.html
index 782592399..d0d4a990d 100644
--- a/doc/html/canvas-example.html
+++ b/doc/html/canvas-example.html
@@ -137,7 +137,7 @@ private:
#include &lt;<a href="tqstatusbar-h.html">tqstatusbar.h</a>&gt;
#include &lt;<a href="tqmessagebox-h.html">tqmessagebox.h</a>&gt;
#include &lt;<a href="tqmenubar-h.html">tqmenubar.h</a>&gt;
-#include &lt;<a href="qapplication-h.html">ntqapplication.h</a>&gt;
+#include &lt;<a href="tqapplication-h.html">tqapplication.h</a>&gt;
#include &lt;<a href="tqpainter-h.html">tqpainter.h</a>&gt;
#include &lt;<a href="tqprinter-h.html">tqprinter.h</a>&gt;
#include &lt;<a href="tqlabel-h.html">tqlabel.h</a>&gt;
@@ -445,7 +445,7 @@ static TQImage *logoimg;
file-&gt;<a href="tqmenudata.html#insertSeparator">insertSeparator</a>();
file-&gt;<a href="tqmenudata.html#insertItem">insertItem</a>("&amp;Print...", this, TQ_SLOT(print()), CTRL+Key_P);
file-&gt;<a href="tqmenudata.html#insertSeparator">insertSeparator</a>();
- file-&gt;<a href="tqmenudata.html#insertItem">insertItem</a>("E&amp;xit", tqApp, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>()), CTRL+Key_Q);
+ file-&gt;<a href="tqmenudata.html#insertItem">insertItem</a>("E&amp;xit", tqApp, TQ_SLOT(<a href="tqapplication.html#quit">quit</a>()), CTRL+Key_Q);
menu-&gt;<a href="tqmenudata.html#insertItem">insertItem</a>("&amp;File", file);
<a href="tqpopupmenu.html">TQPopupMenu</a>* edit = new <a href="tqpopupmenu.html">TQPopupMenu</a>( menu );
@@ -535,9 +535,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);
- tqApp-&gt;<a href="ntqapplication.html#setMainWidget">setMainWidget</a>(m);
+ tqApp-&gt;<a href="tqapplication.html#setMainWidget">setMainWidget</a>(m);
m-&gt;<a href="tqwidget.html#show">show</a>();
- tqApp-&gt;<a href="ntqapplication.html#setMainWidget">setMainWidget</a>(0);
+ tqApp-&gt;<a href="tqapplication.html#setMainWidget">setMainWidget</a>(0);
}
void <a name="f628"></a>Main::clear()
@@ -878,7 +878,7 @@ void <a name="f654"></a>Main::addRectangle()
<p> <pre>#include &lt;<a href="tqstatusbar-h.html">tqstatusbar.h</a>&gt;
#include &lt;<a href="tqmessagebox-h.html">tqmessagebox.h</a>&gt;
#include &lt;<a href="tqmenubar-h.html">tqmenubar.h</a>&gt;
-#include &lt;<a href="qapplication-h.html">ntqapplication.h</a>&gt;
+#include &lt;<a href="tqapplication-h.html">tqapplication.h</a>&gt;
#include &lt;<a href="tqimage-h.html">tqimage.h</a>&gt;
#include "canvas.h"
@@ -890,7 +890,7 @@ extern TQString logo_fn;
int main(int argc, char** argv)
{
- <a href="ntqapplication.html">TQApplication</a> app(argc,argv);
+ <a href="tqapplication.html">TQApplication</a> app(argc,argv);
if ( argc &gt; 1 )
butterfly_fn = argv[1];
@@ -907,15 +907,15 @@ int main(int argc, char** argv)
Main m(canvas);
<a name="x2969"></a> m.<a href="tqwidget.html#resize">resize</a>(m.<a href="tqwidget.html#sizeHint">sizeHint</a>());
m.<a href="tqwidget.html#setCaption">setCaption</a>("TQt Example - Canvas");
-<a name="x2970"></a><a name="x2958"></a> if ( TQApplication::<a href="ntqapplication.html#desktop">desktop</a>()-&gt;width() &gt; m.<a href="tqwidget.html#width">width</a>() + 10
-<a name="x2964"></a> &amp;&amp; TQApplication::<a href="ntqapplication.html#desktop">desktop</a>()-&gt;height() &gt; m.<a href="tqwidget.html#height">height</a>() +30 )
+<a name="x2970"></a><a name="x2958"></a> if ( TQApplication::<a href="tqapplication.html#desktop">desktop</a>()-&gt;width() &gt; m.<a href="tqwidget.html#width">width</a>() + 10
+<a name="x2964"></a> &amp;&amp; TQApplication::<a href="tqapplication.html#desktop">desktop</a>()-&gt;height() &gt; m.<a href="tqwidget.html#height">height</a>() +30 )
m.<a href="tqwidget.html#show">show</a>();
else
<a name="x2968"></a> m.<a href="tqwidget.html#showMaximized">showMaximized</a>();
- TQObject::<a href="tqobject.html#connect">connect</a>( tqApp, TQ_SIGNAL(<a href="ntqapplication.html#lastWindowClosed">lastWindowClosed</a>()), tqApp, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>()) );
+ TQObject::<a href="tqobject.html#connect">connect</a>( tqApp, TQ_SIGNAL(<a href="tqapplication.html#lastWindowClosed">lastWindowClosed</a>()), tqApp, TQ_SLOT(<a href="tqapplication.html#quit">quit</a>()) );
- return app.<a href="ntqapplication.html#exec">exec</a>();
+ return app.<a href="tqapplication.html#exec">exec</a>();
}
</pre>