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 Utils {
|
||||||
|
namespace Internal {
|
||||||
|
|
||||||
class SshRemoteProcessRunnerPrivate : public QObject
|
class SshRemoteProcessRunnerPrivate : public QObject
|
||||||
{
|
{
|
||||||
@@ -231,6 +232,7 @@ void SshRemoteProcessRunnerPrivate::assertState(State allowedState,
|
|||||||
assertState(QList<State>() << allowedState, func);
|
assertState(QList<State>() << allowedState, func);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
} // namespace Internal
|
||||||
|
|
||||||
SshRemoteProcessRunner::Ptr SshRemoteProcessRunner::create(const SshConnectionParameters ¶ms)
|
SshRemoteProcessRunner::Ptr SshRemoteProcessRunner::create(const SshConnectionParameters ¶ms)
|
||||||
{
|
{
|
||||||
@@ -243,13 +245,13 @@ SshRemoteProcessRunner::Ptr SshRemoteProcessRunner::create(const SshConnection::
|
|||||||
}
|
}
|
||||||
|
|
||||||
SshRemoteProcessRunner::SshRemoteProcessRunner(const SshConnectionParameters ¶ms)
|
SshRemoteProcessRunner::SshRemoteProcessRunner(const SshConnectionParameters ¶ms)
|
||||||
: d(new SshRemoteProcessRunnerPrivate(params, this))
|
: d(new Internal::SshRemoteProcessRunnerPrivate(params, this))
|
||||||
{
|
{
|
||||||
init();
|
init();
|
||||||
}
|
}
|
||||||
|
|
||||||
SshRemoteProcessRunner::SshRemoteProcessRunner(const SshConnection::Ptr &connection)
|
SshRemoteProcessRunner::SshRemoteProcessRunner(const SshConnection::Ptr &connection)
|
||||||
: d(new SshRemoteProcessRunnerPrivate(connection, this))
|
: d(new Internal::SshRemoteProcessRunnerPrivate(connection, this))
|
||||||
{
|
{
|
||||||
init();
|
init();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -38,7 +38,9 @@
|
|||||||
#include "sshremoteprocess.h"
|
#include "sshremoteprocess.h"
|
||||||
|
|
||||||
namespace Utils {
|
namespace Utils {
|
||||||
|
namespace Internal {
|
||||||
class SshRemoteProcessRunnerPrivate;
|
class SshRemoteProcessRunnerPrivate;
|
||||||
|
} // namespace Internal
|
||||||
|
|
||||||
class QTCREATOR_UTILS_EXPORT SshRemoteProcessRunner : public QObject
|
class QTCREATOR_UTILS_EXPORT SshRemoteProcessRunner : public QObject
|
||||||
{
|
{
|
||||||
@@ -70,7 +72,7 @@ private:
|
|||||||
SshRemoteProcessRunner(const SshConnection::Ptr &connection);
|
SshRemoteProcessRunner(const SshConnection::Ptr &connection);
|
||||||
void init();
|
void init();
|
||||||
|
|
||||||
SshRemoteProcessRunnerPrivate *d;
|
Internal::SshRemoteProcessRunnerPrivate *d;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace Utils
|
} // namespace Utils
|
||||||
|
|||||||
Reference in New Issue
Block a user