diff options
Diffstat (limited to 'doc/html/process-example.html')
-rw-r--r-- | doc/html/process-example.html | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/html/process-example.html b/doc/html/process-example.html index 9629f2950..1829895dd 100644 --- a/doc/html/process-example.html +++ b/doc/html/process-example.html @@ -50,7 +50,7 @@ output of the command. *****************************************************************************/ #include <<a href="tqobject-h.html">tqobject.h</a>> -#include <<a href="qprocess-h.html">ntqprocess.h</a>> +#include <<a href="tqprocess-h.html">tqprocess.h</a>> #include <<a href="qvbox-h.html">ntqvbox.h</a>> #include <<a href="tqtextview-h.html">tqtextview.h</a>> #include <<a href="qpushbutton-h.html">ntqpushbutton.h</a>> @@ -72,7 +72,7 @@ public slots: void scrollToTop(); private: - <a href="ntqprocess.html">TQProcess</a> *proc; + <a href="tqprocess.html">TQProcess</a> *proc; <a href="tqtextview.html">TQTextView</a> *output; <a href="ntqpushbutton.html">TQPushButton</a> *quitButton; }; @@ -87,22 +87,22 @@ private: <a href="tqwidget.html#resize">resize</a>( 500, 500 ); // TQProcess related code - proc = new <a href="ntqprocess.html">TQProcess</a>( this ); + proc = new <a href="tqprocess.html">TQProcess</a>( this ); // Set up the command and arguments. // On the command line you would do: // uic -tr <a href="i18n.html#i18n">i18n</a> "small_dialog.ui" -<a name="x97"></a> proc-><a href="ntqprocess.html#addArgument">addArgument</a>( "uic" ); - proc-><a href="ntqprocess.html#addArgument">addArgument</a>( "-tr" ); - proc-><a href="ntqprocess.html#addArgument">addArgument</a>( "i18n" ); - proc-><a href="ntqprocess.html#addArgument">addArgument</a>( "small_dialog.ui" ); +<a name="x97"></a> proc-><a href="tqprocess.html#addArgument">addArgument</a>( "uic" ); + proc-><a href="tqprocess.html#addArgument">addArgument</a>( "-tr" ); + proc-><a href="tqprocess.html#addArgument">addArgument</a>( "i18n" ); + proc-><a href="tqprocess.html#addArgument">addArgument</a>( "small_dialog.ui" ); -<a name="x100"></a> <a href="tqobject.html#connect">connect</a>( proc, TQ_SIGNAL(<a href="ntqprocess.html#readyReadStdout">readyReadStdout</a>()), +<a name="x100"></a> <a href="tqobject.html#connect">connect</a>( proc, TQ_SIGNAL(<a href="tqprocess.html#readyReadStdout">readyReadStdout</a>()), this, TQ_SLOT(readFromStdout()) ); -<a name="x98"></a> <a href="tqobject.html#connect">connect</a>( proc, TQ_SIGNAL(<a href="ntqprocess.html#processExited">processExited</a>()), +<a name="x98"></a> <a href="tqobject.html#connect">connect</a>( proc, TQ_SIGNAL(<a href="tqprocess.html#processExited">processExited</a>()), this, TQ_SLOT(scrollToTop()) ); -<a name="x101"></a> if ( !proc-><a href="ntqprocess.html#start">start</a>() ) { +<a name="x101"></a> if ( !proc-><a href="tqprocess.html#start">start</a>() ) { // error handling <a name="x96"></a> TQMessageBox::<a href="ntqmessagebox.html#critical">critical</a>( 0, <a href="tqobject.html#tr">tr</a>("Fatal error"), @@ -116,7 +116,7 @@ void <a name="f205"></a>UicManager::readFromStdout() { // Read and process the data. // Bear in mind that the data might be output in chunks. -<a name="x99"></a><a name="x103"></a> output-><a href="tqtextedit.html#append">append</a>( proc-><a href="ntqprocess.html#readStdout">readStdout</a>() ); +<a name="x99"></a><a name="x103"></a> output-><a href="tqtextedit.html#append">append</a>( proc-><a href="tqprocess.html#readStdout">readStdout</a>() ); } void <a name="f206"></a>UicManager::scrollToTop() @@ -136,7 +136,7 @@ int main( int argc, char **argv ) #include "process.moc" </pre> -<p>See also <a href="qprocess-examples.html">TQProcess Examples</a>. +<p>See also <a href="tqprocess-examples.html">TQProcess Examples</a>. <!-- eof --> <p><address><hr><div align=center> |