SSH: Move private class into internal namespace.

This commit is contained in:
Christian Kandeler
2011-04-06 10:31:27 +02:00
parent 288b25bf40
commit 360b2addb3
2 changed files with 7 additions and 3 deletions

View 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();
}

View 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