diff options
author | Christian Kandeler <christian.kandeler@nokia.com> | 2011-09-26 16:03:07 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@nokia.com> | 2011-09-26 16:40:18 +0200 |
commit | eb6cee45e17c4ed69d7671860c353b44213b21a0 (patch) | |
tree | 40dfbfc643e2a43936d190e79066ccb129f918d8 /src/plugins/remotelinux/remotelinuxcustomcommanddeployservice.cpp | |
parent | 5c746546f5c8fa0b1605afe034afcd2d619cf06e (diff) | |
download | qt-creator-eb6cee45e17c4ed69d7671860c353b44213b21a0.tar.gz |
RemoteLinux: Make custom command deployment step extensible.
Also fix typo in service class name.
Change-Id: Icd664d77b43fc63a59a94575529b1a1c272b500c
Reviewed-on: http://codereview.qt-project.org/5549
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
Diffstat (limited to 'src/plugins/remotelinux/remotelinuxcustomcommanddeployservice.cpp')
-rw-r--r-- | src/plugins/remotelinux/remotelinuxcustomcommanddeployservice.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/plugins/remotelinux/remotelinuxcustomcommanddeployservice.cpp b/src/plugins/remotelinux/remotelinuxcustomcommanddeployservice.cpp index 0bee7249fb..18c7ba8cdf 100644 --- a/src/plugins/remotelinux/remotelinuxcustomcommanddeployservice.cpp +++ b/src/plugins/remotelinux/remotelinuxcustomcommanddeployservice.cpp @@ -59,24 +59,24 @@ public: using namespace Internal; -RemoteLinuxCustomCommandDeployservice::RemoteLinuxCustomCommandDeployservice(QObject *parent) +RemoteLinuxCustomCommandDeployService::RemoteLinuxCustomCommandDeployService(QObject *parent) : AbstractRemoteLinuxDeployService(parent), d(new RemoteLinuxCustomCommandDeployservicePrivate) { } -RemoteLinuxCustomCommandDeployservice::~RemoteLinuxCustomCommandDeployservice() +RemoteLinuxCustomCommandDeployService::~RemoteLinuxCustomCommandDeployService() { delete d; } -void RemoteLinuxCustomCommandDeployservice::setCommandLine(const QString &commandLine) +void RemoteLinuxCustomCommandDeployService::setCommandLine(const QString &commandLine) { QTC_ASSERT(d->state == Inactive, return); d->commandLine = commandLine; } -bool RemoteLinuxCustomCommandDeployservice::isDeploymentPossible(QString *whyNot) const +bool RemoteLinuxCustomCommandDeployService::isDeploymentPossible(QString *whyNot) const { QTC_ASSERT(d->state == Inactive, return false); @@ -91,7 +91,7 @@ bool RemoteLinuxCustomCommandDeployservice::isDeploymentPossible(QString *whyNot return true; } -void RemoteLinuxCustomCommandDeployservice::doDeploy() +void RemoteLinuxCustomCommandDeployService::doDeploy() { QTC_ASSERT(d->state == Inactive, handleDeploymentDone()); @@ -107,7 +107,7 @@ void RemoteLinuxCustomCommandDeployservice::doDeploy() d->runner->run(d->commandLine.toUtf8()); } -void RemoteLinuxCustomCommandDeployservice::stopDeployment() +void RemoteLinuxCustomCommandDeployService::stopDeployment() { QTC_ASSERT(d->state == Running, return); @@ -118,17 +118,17 @@ void RemoteLinuxCustomCommandDeployservice::stopDeployment() handleDeploymentDone(); } -void RemoteLinuxCustomCommandDeployservice::handleStdout(const QByteArray &output) +void RemoteLinuxCustomCommandDeployService::handleStdout(const QByteArray &output) { emit stdOutData(QString::fromUtf8(output)); } -void RemoteLinuxCustomCommandDeployservice::handleStderr(const QByteArray &output) +void RemoteLinuxCustomCommandDeployService::handleStderr(const QByteArray &output) { emit stdErrData(QString::fromUtf8(output)); } -void RemoteLinuxCustomCommandDeployservice::handleProcessClosed(int exitStatus) +void RemoteLinuxCustomCommandDeployService::handleProcessClosed(int exitStatus) { QTC_ASSERT(d->state == Running, return); |