diff options
Diffstat (limited to 'doc/html/canvas-example.html')
-rw-r--r-- | doc/html/canvas-example.html | 20 |
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 <<a href="tqstatusbar-h.html">tqstatusbar.h</a>> #include <<a href="tqmessagebox-h.html">tqmessagebox.h</a>> #include <<a href="tqmenubar-h.html">tqmenubar.h</a>> -#include <<a href="qapplication-h.html">ntqapplication.h</a>> +#include <<a href="tqapplication-h.html">tqapplication.h</a>> #include <<a href="tqpainter-h.html">tqpainter.h</a>> #include <<a href="tqprinter-h.html">tqprinter.h</a>> #include <<a href="tqlabel-h.html">tqlabel.h</a>> @@ -445,7 +445,7 @@ static TQImage *logoimg; file-><a href="tqmenudata.html#insertSeparator">insertSeparator</a>(); file-><a href="tqmenudata.html#insertItem">insertItem</a>("&Print...", this, TQ_SLOT(print()), CTRL+Key_P); file-><a href="tqmenudata.html#insertSeparator">insertSeparator</a>(); - file-><a href="tqmenudata.html#insertItem">insertItem</a>("E&xit", tqApp, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>()), CTRL+Key_Q); + file-><a href="tqmenudata.html#insertItem">insertItem</a>("E&xit", tqApp, TQ_SLOT(<a href="tqapplication.html#quit">quit</a>()), CTRL+Key_Q); menu-><a href="tqmenudata.html#insertItem">insertItem</a>("&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-><a href="ntqapplication.html#setMainWidget">setMainWidget</a>(m); + tqApp-><a href="tqapplication.html#setMainWidget">setMainWidget</a>(m); m-><a href="tqwidget.html#show">show</a>(); - tqApp-><a href="ntqapplication.html#setMainWidget">setMainWidget</a>(0); + tqApp-><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 <<a href="tqstatusbar-h.html">tqstatusbar.h</a>> #include <<a href="tqmessagebox-h.html">tqmessagebox.h</a>> #include <<a href="tqmenubar-h.html">tqmenubar.h</a>> -#include <<a href="qapplication-h.html">ntqapplication.h</a>> +#include <<a href="tqapplication-h.html">tqapplication.h</a>> #include <<a href="tqimage-h.html">tqimage.h</a>> #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 > 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>()->width() > m.<a href="tqwidget.html#width">width</a>() + 10 -<a name="x2964"></a> && TQApplication::<a href="ntqapplication.html#desktop">desktop</a>()->height() > 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>()->width() > m.<a href="tqwidget.html#width">width</a>() + 10 +<a name="x2964"></a> && TQApplication::<a href="tqapplication.html#desktop">desktop</a>()->height() > 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> |