diff options
Diffstat (limited to 'doc/html/helpviewer-example.html')
-rw-r--r-- | doc/html/helpviewer-example.html | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/doc/html/helpviewer-example.html b/doc/html/helpviewer-example.html index 78fa6cf84..ba097e294 100644 --- a/doc/html/helpviewer-example.html +++ b/doc/html/helpviewer-example.html @@ -54,7 +54,7 @@ TQt's richtext capabilities. #include <<a href="tqtextbrowser-h.html">tqtextbrowser.h</a>> #include <<a href="tqstringlist-h.html">tqstringlist.h</a>> #include <<a href="tqmap-h.html">tqmap.h</a>> -#include <<a href="qdir-h.html">ntqdir.h</a>> +#include <<a href="tqdir-h.html">tqdir.h</a>> class TQComboBox; class TQPopupMenu; @@ -123,19 +123,19 @@ private: #include <<a href="tqtoolbar-h.html">tqtoolbar.h</a>> #include <<a href="tqtoolbutton-h.html">tqtoolbutton.h</a>> #include <<a href="tqiconset-h.html">tqiconset.h</a>> -#include <<a href="qfile-h.html">ntqfile.h</a>> +#include <<a href="tqfile-h.html">tqfile.h</a>> #include <<a href="tqtextstream-h.html">tqtextstream.h</a>> #include <<a href="tqstylesheet-h.html">tqstylesheet.h</a>> #include <<a href="qmessagebox-h.html">ntqmessagebox.h</a>> -#include <<a href="qfiledialog-h.html">ntqfiledialog.h</a>> +#include <<a href="tqfiledialog-h.html">tqfiledialog.h</a>> #include <<a href="qapplication-h.html">ntqapplication.h</a>> #include <<a href="qcombobox-h.html">ntqcombobox.h</a>> #include <<a href="qevent-h.html">ntqevent.h</a>> #include <<a href="qlineedit-h.html">ntqlineedit.h</a>> #include <<a href="tqobjectlist-h.html">tqobjectlist.h</a>> -#include <<a href="qfileinfo-h.html">ntqfileinfo.h</a>> -#include <<a href="qfile-h.html">ntqfile.h</a>> -#include <<a href="qdatastream-h.html">ntqdatastream.h</a>> +#include <<a href="tqfileinfo-h.html">tqfileinfo.h</a>> +#include <<a href="tqfile-h.html">tqfile.h</a>> +#include <<a href="tqdatastream-h.html">tqdatastream.h</a>> #include <<a href="qprinter-h.html">ntqprinter.h</a>> #include <<a href="qsimplerichtext-h.html">ntqsimplerichtext.h</a>> #include <<a href="qpainter-h.html">ntqpainter.h</a>> @@ -294,19 +294,19 @@ HelpWindow::~HelpWindow() { history = mHistory.values(); -<a name="x986"></a> <a href="ntqfile.html">TQFile</a> f( TQDir::<a href="ntqdir.html#currentDirPath">currentDirPath</a>() + "/.history" ); -<a name="x989"></a> f.<a href="ntqfile.html#open">open</a>( <a href="ntqfile.html#open">IO_WriteOnly</a> ); - <a href="ntqdatastream.html">TQDataStream</a> s( &f ); +<a name="x986"></a> <a href="tqfile.html">TQFile</a> f( TQDir::<a href="tqdir.html#currentDirPath">currentDirPath</a>() + "/.history" ); +<a name="x989"></a> f.<a href="tqfile.html#open">open</a>( <a href="tqfile.html#open">IO_WriteOnly</a> ); + <a href="tqdatastream.html">TQDataStream</a> s( &f ); s << history; -<a name="x987"></a> f.<a href="ntqfile.html#close">close</a>(); +<a name="x987"></a> f.<a href="tqfile.html#close">close</a>(); bookmarks = mBookmarks.values(); - <a href="ntqfile.html">TQFile</a> f2( TQDir::<a href="ntqdir.html#currentDirPath">currentDirPath</a>() + "/.bookmarks" ); - f2.<a href="ntqfile.html#open">open</a>( IO_WriteOnly ); - <a href="ntqdatastream.html">TQDataStream</a> s2( &f2 ); + <a href="tqfile.html">TQFile</a> f2( TQDir::<a href="tqdir.html#currentDirPath">currentDirPath</a>() + "/.bookmarks" ); + f2.<a href="tqfile.html#open">open</a>( IO_WriteOnly ); + <a href="tqdatastream.html">TQDataStream</a> s2( &f2 ); s2 << bookmarks; - f2.<a href="ntqfile.html#close">close</a>(); + f2.<a href="tqfile.html#close">close</a>(); } void <a name="f354"></a>HelpWindow::about() @@ -327,7 +327,7 @@ void <a name="f355"></a>HelpWindow::aboutTQt() void <a name="f356"></a>HelpWindow::openFile() { #ifndef TQT_NO_FILEDIALOG - <a href="tqstring.html">TQString</a> fn = TQFileDialog::<a href="ntqfiledialog.html#getOpenFileName">getOpenFileName</a>( <a href="tqstring.html#TQString-null">TQString::null</a>, TQString::null, this ); + <a href="tqstring.html">TQString</a> fn = TQFileDialog::<a href="tqfiledialog.html#getOpenFileName">getOpenFileName</a>( <a href="tqstring.html#TQString-null">TQString::null</a>, TQString::null, this ); if ( !fn.<a href="tqstring.html#isEmpty">isEmpty</a>() ) browser-><a href="tqtextbrowser.html#setSource">setSource</a>( fn ); #endif @@ -383,12 +383,12 @@ void <a name="f359"></a>HelpWindow::pathSelected( const <a href="tqstring.html"> void <a name="f360"></a>HelpWindow::readHistory() { -<a name="x988"></a> if ( TQFile::<a href="ntqfile.html#exists">exists</a>( TQDir::<a href="ntqdir.html#currentDirPath">currentDirPath</a>() + "/.history" ) ) { - <a href="ntqfile.html">TQFile</a> f( TQDir::<a href="ntqdir.html#currentDirPath">currentDirPath</a>() + "/.history" ); - f.<a href="ntqfile.html#open">open</a>( <a href="ntqfile.html#open">IO_ReadOnly</a> ); - <a href="ntqdatastream.html">TQDataStream</a> s( &f ); +<a name="x988"></a> if ( TQFile::<a href="tqfile.html#exists">exists</a>( TQDir::<a href="tqdir.html#currentDirPath">currentDirPath</a>() + "/.history" ) ) { + <a href="tqfile.html">TQFile</a> f( TQDir::<a href="tqdir.html#currentDirPath">currentDirPath</a>() + "/.history" ); + f.<a href="tqfile.html#open">open</a>( <a href="tqfile.html#open">IO_ReadOnly</a> ); + <a href="tqdatastream.html">TQDataStream</a> s( &f ); s >> history; - f.<a href="ntqfile.html#close">close</a>(); + f.<a href="tqfile.html#close">close</a>(); while ( history.count() > 20 ) history.remove( history.begin() ); } @@ -396,12 +396,12 @@ void <a name="f360"></a>HelpWindow::readHistory() void <a name="f361"></a>HelpWindow::readBookmarks() { - if ( TQFile::<a href="ntqfile.html#exists">exists</a>( TQDir::<a href="ntqdir.html#currentDirPath">currentDirPath</a>() + "/.bookmarks" ) ) { - <a href="ntqfile.html">TQFile</a> f( TQDir::<a href="ntqdir.html#currentDirPath">currentDirPath</a>() + "/.bookmarks" ); - f.<a href="ntqfile.html#open">open</a>( IO_ReadOnly ); - <a href="ntqdatastream.html">TQDataStream</a> s( &f ); + if ( TQFile::<a href="tqfile.html#exists">exists</a>( TQDir::<a href="tqdir.html#currentDirPath">currentDirPath</a>() + "/.bookmarks" ) ) { + <a href="tqfile.html">TQFile</a> f( TQDir::<a href="tqdir.html#currentDirPath">currentDirPath</a>() + "/.bookmarks" ); + f.<a href="tqfile.html#open">open</a>( IO_ReadOnly ); + <a href="tqdatastream.html">TQDataStream</a> s( &f ); s >> bookmarks; - f.<a href="ntqfile.html#close">close</a>(); + f.<a href="tqfile.html#close">close</a>(); } } @@ -437,7 +437,7 @@ void <a name="f364"></a>HelpWindow::addBookmark() #include "helpwindow.h" #include <<a href="qapplication-h.html">ntqapplication.h</a>> -#include <<a href="qdir-h.html">ntqdir.h</a>> +#include <<a href="tqdir-h.html">tqdir.h</a>> #include <stdlib.h> |