|
Eneboo - Documentación para desarrolladores
|
Manejador de procesos de sistema. Más...
#include <FLObjectFactory.h>
Slots públicos | |
| bool | start () |
| void | setWorkingDirectory (const QString &path) |
| void | setArguments (const QStringList &args) |
| void | addArgument (const QString &arg) |
| bool | isRunning () |
| QByteArray | readStdout () |
| void | emitExited () |
Señales | |
| void | exited () |
Métodos públicos | |
| FLProcessInterface () | |
| FLProcessInterface (const QString &arg0) | |
| ~FLProcessInterface () | |
Manejador de procesos de sistema.
Permite arrancar y gestionar procesos de consola.
| FLProcessInterface::FLProcessInterface | ( | ) | [inline] |
Constructor
| FLProcessInterface::FLProcessInterface | ( | const QString & | arg0 | ) | [inline] |
Constructor
| FLProcessInterface::~FLProcessInterface | ( | ) | [inline] |
Destructor
| void FLProcessInterface::addArgument | ( | const QString & | arg | ) | [inline, virtual, slot] |
Aade un argumento al proceso
| arg | Argumento a aadir el proceso |
Reimplementado de QProcess.
| void FLProcessInterface::emitExited | ( | ) | [inline, slot] |
| void FLProcessInterface::exited | ( | ) | [signal] |
Seal emitida cuando ha terminado el proceso
| bool FLProcessInterface::isRunning | ( | ) | [inline, slot] |
Indica si el proceso est en ejecucin
| QByteArray FLProcessInterface::readStdout | ( | ) | [inline, virtual, slot] |
Devuelve la salida estndar del proceso
Reimplementado de QProcess.
| void FLProcessInterface::setArguments | ( | const QStringList & | args | ) | [inline, virtual, slot] |
Establece los argumentos para el proceso
| args | Argumentos del proceso: comando + argumentos |
Reimplementado de QProcess.
| void FLProcessInterface::setWorkingDirectory | ( | const QString & | path | ) | [inline, slot] |
Establece el directorio donde se ejecuta el proceso
| bool FLProcessInterface::start | ( | ) | [inline, slot] |
Arranca el comando definido en el parmetro arg0 del constructor
1.7.4