diff options
| author | Fabian Schillinger | 2010-11-01 16:53:24 +0100 |
|---|---|---|
| committer | Fabian Schillinger | 2010-11-01 16:53:24 +0100 |
| commit | 0d97a7378ffe5f6be408201cd1f5595607ed5f87 (patch) | |
| tree | 78ccd691a67c2f63f8fa4d1032d4cabfae0e80fa /src/core/pvsClient.cpp | |
| parent | [PVSGUI] parsing cmdargs fixed (diff) | |
| download | pvs-0d97a7378ffe5f6be408201cd1f5595607ed5f87.tar.gz pvs-0d97a7378ffe5f6be408201cd1f5595607ed5f87.tar.xz pvs-0d97a7378ffe5f6be408201cd1f5595607ed5f87.zip | |
Process start/stop/view functionality
processWidget - shows a list of processes on one client, allows to start ans stop processes
processesDialog - shows every processWidget as a tab
processesStartDialog - starts process entered in messageEdit
added handling of new pvscommands
Diffstat (limited to 'src/core/pvsClient.cpp')
| -rw-r--r-- | src/core/pvsClient.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/core/pvsClient.cpp b/src/core/pvsClient.cpp index 0d08b1d..f048b54 100644 --- a/src/core/pvsClient.cpp +++ b/src/core/pvsClient.cpp @@ -299,3 +299,23 @@ void PVSClient::vncFinished() _vncPasswordReceived = false; } +QVector<QString> PVSClient::getProcessesVector() +{ + return processesVector; +} + +void PVSClient::clearProcessesVector() +{ + processesVector.clear(); +} + +void PVSClient::processesVectorAdd(QString msg) +{ + if (msg.indexOf("<#>") > 0) + processesVector.append(msg); + else if (msg.indexOf("vector ready") == 0) + { + emit processVectorReady(true); + ConsoleLog writeError("processVectorReady(true)!"); + } +} |
