diff options
Diffstat (limited to 'doc/html/progress-example.html')
-rw-r--r-- | doc/html/progress-example.html | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/html/progress-example.html b/doc/html/progress-example.html index c74912a4c..0f4c11248 100644 --- a/doc/html/progress-example.html +++ b/doc/html/progress-example.html @@ -48,7 +48,7 @@ demonstrates simple use of menus. *****************************************************************************/ #include <<a href="tqprogressdialog-h.html">tqprogressdialog.h</a>> -#include <<a href="qapplication-h.html">ntqapplication.h</a>> +#include <<a href="tqapplication-h.html">tqapplication.h</a>> #include <<a href="tqmenubar-h.html">tqmenubar.h</a>> #include <<a href="tqpopupmenu-h.html">tqpopupmenu.h</a>> #include <<a href="tqpainter-h.html">tqpainter.h</a>> @@ -182,19 +182,19 @@ public: pb(0) { menubar = new <a href="tqmenubar.html">TQMenuBar</a>( this, "menu" ); - <a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( menubar ); + <a href="tqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( menubar ); <a href="tqpopupmenu.html">TQPopupMenu</a>* file = new <a href="tqpopupmenu.html">TQPopupMenu</a>(); - <a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( file ); + <a href="tqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( file ); menubar-><a href="tqmenudata.html#insertItem">insertItem</a>( "&File", file ); for (int i=first_draw_item; i<=last_draw_item; i++) file-><a href="tqmenudata.html#insertItem">insertItem</a>( drawItemText(i), i ); <a name="x67"></a> connect( menubar, TQ_SIGNAL(<a href="tqmenubar.html#activated">activated</a>(int)), this, TQ_SLOT(doMenuItem(int)) ); <a name="x69"></a> file-><a href="tqmenudata.html#insertSeparator">insertSeparator</a>(); - file-><a href="tqmenudata.html#insertItem">insertItem</a>( "Quit", tqApp, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); + file-><a href="tqmenudata.html#insertItem">insertItem</a>( "Quit", tqApp, TQ_SLOT(<a href="tqapplication.html#quit">quit</a>()) ); options = new <a href="tqpopupmenu.html">TQPopupMenu</a>(); - <a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( options ); + <a href="tqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( options ); menubar-><a href="tqmenudata.html#insertItem">insertItem</a>( "&Options", options ); td_id = options-><a href="tqmenudata.html#insertItem">insertItem</a>( "Timer driven", this, TQ_SLOT(timerDriven()) ); ld_id = options-><a href="tqmenudata.html#insertItem">insertItem</a>( "Loop driven", this, TQ_SLOT(loopDriven()) ); @@ -312,7 +312,7 @@ private: { if ( timer_driven ) { if ( pb ) { - <a href="ntqapplication.html#qWarning">tqWarning</a>("This cannot happen!"); + <a href="tqapplication.html#qWarning">tqWarning</a>("This cannot happen!"); return; } rects = n; @@ -362,16 +362,16 @@ private: int main( int argc, char **argv ) { - <a href="ntqapplication.html">TQApplication</a> a( argc, argv ); + <a href="tqapplication.html">TQApplication</a> a( argc, argv ); int wincount = argc > 1 ? atoi(argv[1]) : 1; for ( int i=0; i<wincount; i++ ) { CPUWaster* cpuw = new CPUWaster; - if ( i == 0 ) a.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>(cpuw); + if ( i == 0 ) a.<a href="tqapplication.html#setMainWidget">setMainWidget</a>(cpuw); cpuw-><a href="tqwidget.html#show">show</a>(); } - return a.<a href="ntqapplication.html#exec">exec</a>(); + return a.<a href="tqapplication.html#exec">exec</a>(); } #include "progress.moc" |