diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-10-15 13:05:33 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-10-22 10:05:58 +0900 |
| commit | 397b7afa8e3f32268c4454bf4783ac2a5a799658 (patch) | |
| tree | 0b41c33e457556bd2b9371788ddbce25263f00d6 /doc/html/distributor-example.html | |
| parent | 755d46927cc6a5719e695aeb8133be6897de62d8 (diff) | |
| download | tqt-397b7afa.tar.gz tqt-397b7afa.zip | |
Rename ntqapplication, ntqconfig and ntqmodules files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/distributor-example.html')
| -rw-r--r-- | doc/html/distributor-example.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/html/distributor-example.html b/doc/html/distributor-example.html index 090dec2fb..09b89cd1e 100644 --- a/doc/html/distributor-example.html +++ b/doc/html/distributor-example.html @@ -61,7 +61,7 @@ distributed with TQt. ** place of a destructor. *****************************************************************************/ -#include <<a href="qapplication-h.html">ntqapplication.h</a>> +#include <<a href="tqapplication-h.html">tqapplication.h</a>> #include <<a href="tqcursor-h.html">tqcursor.h</a>> #include <<a href="tqeventloop-h.html">tqeventloop.h</a>> #include <<a href="tqfile-h.html">tqfile.h</a>> @@ -213,14 +213,14 @@ void Distributor::checkLibData() <a href="tqfile.html">TQFile</a> file( libFilename->text() ); <a name="x2659"></a> if ( file.<a href="tqfile.html#open">open</a>( <a href="tqfile.html#open">IO_ReadOnly</a> ) ) { -<a name="x2653"></a> TQApplication::<a href="ntqapplication.html#setOverrideCursor">setOverrideCursor</a>( WaitCursor ); +<a name="x2653"></a> TQApplication::<a href="tqapplication.html#setOverrideCursor">setOverrideCursor</a>( WaitCursor ); // instead of reading in the entire file, do the search in chunks char data[60000]; ulong offset = 0; <a name="x2655"></a> while ( ! file.<a href="tqfile.html#atEnd">atEnd</a>() && completed < total_steps ) { -<a name="x2651"></a> TQApplication::<a href="ntqapplication.html#eventLoop">eventLoop</a>()->processEvents( TQEventLoop::ExcludeUserInput ); +<a name="x2651"></a> TQApplication::<a href="tqapplication.html#eventLoop">eventLoop</a>()->processEvents( TQEventLoop::ExcludeUserInput ); <a name="x2667"></a> ulong len = file.<a href="tqiodevice.html#readBlock">readBlock</a>( data, sizeof(data) ); if ( len < 267 ) { @@ -259,7 +259,7 @@ void Distributor::checkLibData() <a name="x2656"></a> file.<a href="tqfile.html#close">close</a>(); -<a name="x2652"></a> TQApplication::<a href="ntqapplication.html#restoreOverrideCursor">restoreOverrideCursor</a>(); +<a name="x2652"></a> TQApplication::<a href="tqapplication.html#restoreOverrideCursor">restoreOverrideCursor</a>(); } if ( completed == total_steps ) { @@ -366,14 +366,14 @@ void Distributor::accept() <a href="tqfile.html">TQFile</a> file( libFilename->text() ); if ( file.<a href="tqfile.html#open">open</a>( <a href="tqfile.html#open">IO_ReadWrite</a> ) ) { - TQApplication::<a href="ntqapplication.html#setOverrideCursor">setOverrideCursor</a>( WaitCursor ); + TQApplication::<a href="tqapplication.html#setOverrideCursor">setOverrideCursor</a>( WaitCursor ); // instead of reading in the entire file, do the search in chunks char data[60000]; ulong offset = 0; while ( ! file.<a href="tqfile.html#atEnd">atEnd</a>() && completed < total_steps ) { - TQApplication::<a href="ntqapplication.html#eventLoop">eventLoop</a>()->processEvents( TQEventLoop::ExcludeUserInput ); + TQApplication::<a href="tqapplication.html#eventLoop">eventLoop</a>()->processEvents( TQEventLoop::ExcludeUserInput ); ulong len = file.<a href="tqiodevice.html#readBlock">readBlock</a>( data, sizeof(data) ); if ( len < 267 ) { @@ -420,7 +420,7 @@ void Distributor::accept() file.<a href="tqfile.html#close">close</a>(); - TQApplication::<a href="ntqapplication.html#restoreOverrideCursor">restoreOverrideCursor</a>(); + TQApplication::<a href="tqapplication.html#restoreOverrideCursor">restoreOverrideCursor</a>(); } if ( completed != total_steps ) { |
