diff options
Diffstat (limited to 'doc/html/ntqapplication.html')
-rw-r--r-- | doc/html/ntqapplication.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/html/ntqapplication.html b/doc/html/ntqapplication.html index 1c1d7c3e6..c82746efa 100644 --- a/doc/html/ntqapplication.html +++ b/doc/html/ntqapplication.html @@ -646,15 +646,15 @@ and a few more options. // showargs.cpp - displays program arguments in a list box #include <<a href="qapplication-h.html">ntqapplication.h</a>> - #include <<a href="qlistbox-h.html">ntqlistbox.h</a>> + #include <<a href="tqlistbox-h.html">tqlistbox.h</a>> int main( int argc, char **argv ) { TQApplication a( argc, argv ); - <a href="ntqlistbox.html">TQListBox</a> b; + <a href="tqlistbox.html">TQListBox</a> b; a.<a href="#setMainWidget">setMainWidget</a>( &b ); for ( int i = 0; i < a.<a href="#argc">argc</a>(); i++ ) // a.<a href="#argc">argc</a>() == argc - b.<a href="ntqlistbox.html#insertItem">insertItem</a>( a.<a href="#argv">argv</a>()[i] ); // a.<a href="#argv">argv</a>()[i] == argv[i] + b.<a href="tqlistbox.html#insertItem">insertItem</a>( a.<a href="#argv">argv</a>()[i] ); // a.<a href="#argv">argv</a>()[i] == argv[i] b.<a href="tqwidget.html#show">show</a>(); return a.<a href="#exec">exec</a>(); } @@ -1112,12 +1112,12 @@ problems. Tells the application to exit with return code 0 (success). Equivalent to calling <a href="#exit">TQApplication::exit</a>( 0 ). <p> It's common to connect the <a href="#lastWindowClosed">lastWindowClosed</a>() signal to <a href="#quit">quit</a>(), and -you also often connect e.g. <a href="ntqbutton.html#clicked">TQButton::clicked</a>() or signals in +you also often connect e.g. <a href="tqbutton.html#clicked">TQButton::clicked</a>() or signals in <a href="tqaction.html">TQAction</a>, <a href="tqpopupmenu.html">TQPopupMenu</a> or <a href="tqmenubar.html">TQMenuBar</a> to it. <p> Example: <pre> <a href="tqpushbutton.html">TQPushButton</a> *quitButton = new <a href="tqpushbutton.html">TQPushButton</a>( "Quit" ); - <a href="tqobject.html#connect">connect</a>( quitButton, TQ_SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), tqApp, TQ_SLOT(<a href="#quit">quit</a>()) ); + <a href="tqobject.html#connect">connect</a>( quitButton, TQ_SIGNAL(<a href="tqbutton.html#clicked">clicked</a>()), tqApp, TQ_SLOT(<a href="#quit">quit</a>()) ); </pre> <p> <p>See also <a href="#exit">exit</a>(), <a href="#aboutToQuit">aboutToQuit</a>(), <a href="#lastWindowClosed">lastWindowClosed</a>(), and <a href="tqaction.html">TQAction</a>. |