Diffstat (limited to 'libopie2/opiecore/oprocess.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opiecore/oprocess.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libopie2/opiecore/oprocess.h b/libopie2/opiecore/oprocess.h index eb56b03..e23f98c 100644 --- a/libopie2/opiecore/oprocess.h +++ b/libopie2/opiecore/oprocess.h | |||
@@ -98,14 +98,14 @@ class OProcessPrivate; | |||
98 | *A small usage example: | 98 | *A small usage example: |
99 | *<pre> | 99 | *<pre> |
100 | *OProcess *proc = new OProcess; | 100 | *OProcess *proc = new OProcess; |
101 | * | 101 | * |
102 | **proc << "my_executable"; | 102 | **proc << "my_executable"; |
103 | **proc << "These" << "are" << "the" << "command" << "line" << "args"; | 103 | **proc << "These" << "are" << "the" << "command" << "line" << "args"; |
104 | *QApplication::connect(proc, SIGNAL(processExited(OProcess *)), | 104 | *QApplication::connect(proc, SIGNAL(processExited(Opie::Core::OProcess *)), |
105 | * pointer_to_my_object, SLOT(my_objects_slot(OProcess *))); | 105 | * pointer_to_my_object, SLOT(my_objects_slot(Opie::Core::OProcess *))); |
106 | *proc->start(); | 106 | *proc->start(); |
107 | *</pre> | 107 | *</pre> |
108 | * | 108 | * |
109 | *This will start "my_executable" with the commandline arguments "These"... | 109 | *This will start "my_executable" with the commandline arguments "These"... |
110 | * | 110 | * |
111 | *When the child process exits, the respective Qt signal will be emitted. | 111 | *When the child process exits, the respective Qt signal will be emitted. |
@@ -477,13 +477,13 @@ signals: | |||
477 | 477 | ||
478 | /** | 478 | /** |
479 | * Emitted after the process has terminated when | 479 | * Emitted after the process has terminated when |
480 | * the process was run in the @p NotifyOnExit (==default option to | 480 | * the process was run in the @p NotifyOnExit (==default option to |
481 | * @ref start()) or the @ref Block mode. | 481 | * @ref start()) or the @ref Block mode. |
482 | **/ | 482 | **/ |
483 | void processExited( OProcess *proc ); | 483 | void processExited( Opie::Core::OProcess *proc ); |
484 | 484 | ||
485 | 485 | ||
486 | /** | 486 | /** |
487 | * Emitted, when output from the child process has | 487 | * Emitted, when output from the child process has |
488 | * been received on stdout. | 488 | * been received on stdout. |
489 | * | 489 | * |
@@ -494,13 +494,13 @@ signals: | |||
494 | * @param buffer The data received. | 494 | * @param buffer The data received. |
495 | * @param buflen The number of bytes that are available. | 495 | * @param buflen The number of bytes that are available. |
496 | * | 496 | * |
497 | * You should copy the information contained in @p buffer to your private | 497 | * You should copy the information contained in @p buffer to your private |
498 | * data structures before returning from this slot. | 498 | * data structures before returning from this slot. |
499 | **/ | 499 | **/ |
500 | void receivedStdout( OProcess *proc, char *buffer, int buflen ); | 500 | void receivedStdout( Opie::Core::OProcess *proc, char *buffer, int buflen ); |
501 | 501 | ||
502 | /** | 502 | /** |
503 | * Emitted when output from the child process has | 503 | * Emitted when output from the child process has |
504 | * been received on stdout. | 504 | * been received on stdout. |
505 | * | 505 | * |
506 | * To actually get these signals, the respective communications link | 506 | * To actually get these signals, the respective communications link |
@@ -527,20 +527,20 @@ signals: | |||
527 | * @param buffer The data received. | 527 | * @param buffer The data received. |
528 | * @param buflen The number of bytes that are available. | 528 | * @param buflen The number of bytes that are available. |
529 | * | 529 | * |
530 | * You should copy the information contained in @p buffer to your private | 530 | * You should copy the information contained in @p buffer to your private |
531 | * data structures before returning from this slot. | 531 | * data structures before returning from this slot. |
532 | */ | 532 | */ |
533 | void receivedStderr( OProcess *proc, char *buffer, int buflen ); | 533 | void receivedStderr( Opie::Core::OProcess *proc, char *buffer, int buflen ); |
534 | 534 | ||
535 | /** | 535 | /** |
536 | * Emitted after all the data that has been | 536 | * Emitted after all the data that has been |
537 | * specified by a prior call to @ref writeStdin() has actually been | 537 | * specified by a prior call to @ref writeStdin() has actually been |
538 | * written to the child process. | 538 | * written to the child process. |
539 | **/ | 539 | **/ |
540 | void wroteStdin( OProcess *proc ); | 540 | void wroteStdin( Opie::Core::OProcess *proc ); |
541 | 541 | ||
542 | protected slots: | 542 | protected slots: |
543 | 543 | ||
544 | /** | 544 | /** |
545 | * This slot gets activated when data from the child's stdout arrives. | 545 | * This slot gets activated when data from the child's stdout arrives. |
546 | * It usually calls "childOutput" | 546 | * It usually calls "childOutput" |