forked from qt-creator/qt-creator
SSH: Move private class into internal namespace.
This commit is contained in:
@@ -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 ¶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();
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user