summaryrefslogtreecommitdiff
path: root/src/libs/utils/ssh/sshremoteprocess_p.h
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@nokia.com>2011-11-29 10:18:10 +0100
committerhjk <qthjk@ovi.com>2011-11-29 14:00:39 +0100
commit57c0979012c43f329e61547c638d7935a1444439 (patch)
tree9117913c39029c9a2602ccc58656d1ba4ed68bda /src/libs/utils/ssh/sshremoteprocess_p.h
parent59359905bf7820c91ae5b61aeeb46e9e5da52679 (diff)
downloadqt-creator-57c0979012c43f329e61547c638d7935a1444439.tar.gz
SSH: Support different read channels in SshRemoteProcess.
This is part of the effort to support more QProcess concepts. Change-Id: Idb888e733570a58d3810f371409b657b30bbd929 Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'src/libs/utils/ssh/sshremoteprocess_p.h')
-rw-r--r--src/libs/utils/ssh/sshremoteprocess_p.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libs/utils/ssh/sshremoteprocess_p.h b/src/libs/utils/ssh/sshremoteprocess_p.h
index 32564ef9cb..300050d5eb 100644
--- a/src/libs/utils/ssh/sshremoteprocess_p.h
+++ b/src/libs/utils/ssh/sshremoteprocess_p.h
@@ -39,6 +39,7 @@
#include <QtCore/QList>
#include <QtCore/QPair>
+#include <QtCore/QProcess>
namespace Utils {
class SshRemoteProcess;
@@ -60,8 +61,11 @@ public:
virtual void closeHook();
+ QByteArray &data();
+
signals:
void started();
+ void readyRead();
void readyReadStandardOutput();
void readyReadStandardError();
void closed(int exitStatus);
@@ -83,6 +87,8 @@ private:
void init();
void setProcState(ProcessState newState);
+ QProcess::ProcessChannel m_readChannel;
+
ProcessState m_procState;
bool m_wasRunning;
QByteArray m_signal;