diff options
Diffstat (limited to 'doc/html/helpviewer-example.html')
-rw-r--r-- | doc/html/helpviewer-example.html | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/html/helpviewer-example.html b/doc/html/helpviewer-example.html index 210654ae4..895524ec5 100644 --- a/doc/html/helpviewer-example.html +++ b/doc/html/helpviewer-example.html @@ -127,7 +127,7 @@ private: #include <<a href="tqstylesheet-h.html">tqstylesheet.h</a>> #include <<a href="tqmessagebox-h.html">tqmessagebox.h</a>> #include <<a href="tqfiledialog-h.html">tqfiledialog.h</a>> -#include <<a href="qapplication-h.html">ntqapplication.h</a>> +#include <<a href="tqapplication-h.html">tqapplication.h</a>> #include <<a href="tqcombobox-h.html">tqcombobox.h</a>> #include <<a href="tqevent-h.html">tqevent.h</a>> #include <<a href="tqlineedit-h.html">tqlineedit.h</a>> @@ -173,7 +173,7 @@ private: file-><a href="tqmenudata.html#insertItem">insertItem</a>( <a href="tqobject.html#tr">tr</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>( <a href="tqobject.html#tr">tr</a>("&Close"), this, TQ_SLOT( <a href="tqwidget.html#close">close</a>() ), CTRL+Key_Q ); -<a name="x980"></a> file-><a href="tqmenudata.html#insertItem">insertItem</a>( <a href="tqobject.html#tr">tr</a>("E&xit"), tqApp, TQ_SLOT( <a href="ntqapplication.html#closeAllWindows">closeAllWindows</a>() ), CTRL+Key_X ); +<a name="x980"></a> file-><a href="tqmenudata.html#insertItem">insertItem</a>( <a href="tqobject.html#tr">tr</a>("E&xit"), tqApp, TQ_SLOT( <a href="tqapplication.html#closeAllWindows">closeAllWindows</a>() ), CTRL+Key_X ); // The same three icons are used twice each. <a href="tqiconset.html">TQIconSet</a> icon_back( TQPixmap("back.xpm") ); @@ -435,15 +435,15 @@ void <a name="f364"></a>HelpWindow::addBookmark() *****************************************************************************/ #include "helpwindow.h" -#include <<a href="qapplication-h.html">ntqapplication.h</a>> +#include <<a href="tqapplication-h.html">tqapplication.h</a>> #include <<a href="tqdir-h.html">tqdir.h</a>> #include <stdlib.h> int main( int argc, char ** argv ) { -<a name="x1041"></a> TQApplication::<a href="ntqapplication.html#setColorSpec">setColorSpec</a>( TQApplication::ManyColor ); - <a href="ntqapplication.html">TQApplication</a> a(argc, argv); +<a name="x1041"></a> TQApplication::<a href="tqapplication.html#setColorSpec">setColorSpec</a>( TQApplication::ManyColor ); + <a href="tqapplication.html">TQApplication</a> a(argc, argv); <a href="tqstring.html">TQString</a> home; if (argc > 1) { @@ -455,16 +455,16 @@ int main( int argc, char ** argv ) HelpWindow *help = new HelpWindow(home, ".", 0, "help viewer"); help-><a href="tqwidget.html#setCaption">setCaption</a>("TQt Example - Helpviewer"); -<a name="x1037"></a> if ( TQApplication::<a href="ntqapplication.html#desktop">desktop</a>()->width() > 400 - && TQApplication::<a href="ntqapplication.html#desktop">desktop</a>()->height() > 500 ) +<a name="x1037"></a> if ( TQApplication::<a href="tqapplication.html#desktop">desktop</a>()->width() > 400 + && TQApplication::<a href="tqapplication.html#desktop">desktop</a>()->height() > 500 ) help-><a href="tqwidget.html#show">show</a>(); else <a name="x1045"></a> help-><a href="tqwidget.html#showMaximized">showMaximized</a>(); -<a name="x1039"></a> TQObject::<a href="tqobject.html#connect">connect</a>( &a, TQ_SIGNAL(<a href="ntqapplication.html#lastWindowClosed">lastWindowClosed</a>()), - &a, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); +<a name="x1039"></a> TQObject::<a href="tqobject.html#connect">connect</a>( &a, TQ_SIGNAL(<a href="tqapplication.html#lastWindowClosed">lastWindowClosed</a>()), + &a, TQ_SLOT(<a href="tqapplication.html#quit">quit</a>()) ); - return a.<a href="ntqapplication.html#exec">exec</a>(); + return a.<a href="tqapplication.html#exec">exec</a>(); } </pre> |