From: Christian Kandeler Date: Wed, 6 Apr 2011 08:31:27 +0000 (+0200) Subject: SSH: Move private class into internal namespace. X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=360b2addb3ac9337cf4c2692dc4d1779815d2723;p=qt-creator-jp%2Fqt-creator-jp.git SSH: Move private class into internal namespace. --- diff --git a/src/libs/utils/ssh/sshremoteprocessrunner.cpp b/src/libs/utils/ssh/sshremoteprocessrunner.cpp index 0e19ff0a7e..360334348c 100644 --- a/src/libs/utils/ssh/sshremoteprocessrunner.cpp +++ b/src/libs/utils/ssh/sshremoteprocessrunner.cpp @@ -45,6 +45,7 @@ */ namespace Utils { +namespace Internal { class SshRemoteProcessRunnerPrivate : public QObject { @@ -231,6 +232,7 @@ void SshRemoteProcessRunnerPrivate::assertState(State allowedState, assertState(QList() << allowedState, func); } +} // namespace Internal SshRemoteProcessRunner::Ptr SshRemoteProcessRunner::create(const SshConnectionParameters ¶ms) { @@ -243,13 +245,13 @@ SshRemoteProcessRunner::Ptr SshRemoteProcessRunner::create(const SshConnection:: } SshRemoteProcessRunner::SshRemoteProcessRunner(const SshConnectionParameters ¶ms) - : d(new SshRemoteProcessRunnerPrivate(params, this)) + : d(new Internal::SshRemoteProcessRunnerPrivate(params, this)) { init(); } SshRemoteProcessRunner::SshRemoteProcessRunner(const SshConnection::Ptr &connection) - : d(new SshRemoteProcessRunnerPrivate(connection, this)) + : d(new Internal::SshRemoteProcessRunnerPrivate(connection, this)) { init(); } diff --git a/src/libs/utils/ssh/sshremoteprocessrunner.h b/src/libs/utils/ssh/sshremoteprocessrunner.h index 53737c67d9..b61dcc73a8 100644 --- a/src/libs/utils/ssh/sshremoteprocessrunner.h +++ b/src/libs/utils/ssh/sshremoteprocessrunner.h @@ -38,7 +38,9 @@ #include "sshremoteprocess.h" namespace Utils { +namespace Internal { class SshRemoteProcessRunnerPrivate; +} // namespace Internal class QTCREATOR_UTILS_EXPORT SshRemoteProcessRunner : public QObject { @@ -70,7 +72,7 @@ private: SshRemoteProcessRunner(const SshConnection::Ptr &connection); void init(); - SshRemoteProcessRunnerPrivate *d; + Internal::SshRemoteProcessRunnerPrivate *d; }; } // namespace Utils