OSDN Git Service

SSH: Move private class into internal namespace.
authorChristian Kandeler <christian.kandeler@nokia.com>
Wed, 6 Apr 2011 08:31:27 +0000 (10:31 +0200)
committerChristian Kandeler <christian.kandeler@nokia.com>
Wed, 6 Apr 2011 08:31:42 +0000 (10:31 +0200)
src/libs/utils/ssh/sshremoteprocessrunner.cpp
src/libs/utils/ssh/sshremoteprocessrunner.h

index 0e19ff0..3603343 100644 (file)
@@ -45,6 +45,7 @@
 */
 
 namespace Utils {
+namespace Internal {
 
 class SshRemoteProcessRunnerPrivate : public QObject
 {
@@ -231,6 +232,7 @@ void SshRemoteProcessRunnerPrivate::assertState(State allowedState,
     assertState(QList<State>() << allowedState, func);
 }
 
+} // namespace Internal
 
 SshRemoteProcessRunner::Ptr SshRemoteProcessRunner::create(const SshConnectionParameters &params)
 {
@@ -243,13 +245,13 @@ SshRemoteProcessRunner::Ptr SshRemoteProcessRunner::create(const SshConnection::
 }
 
 SshRemoteProcessRunner::SshRemoteProcessRunner(const SshConnectionParameters &params)
-    : 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();
 }
index 53737c6..b61dcc7 100644 (file)
@@ -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