Remove Core::ShellCommand

Move the implementation into VcsCommand.
Use Utils::ShellCommand inside coreplugin API.

Change-Id: I74a34057b33832a138b05f1dfa6937565027edb4
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Jarek Kobus
2022-07-11 11:45:54 +02:00
parent 9891a879aa
commit e793841b4f
17 changed files with 91 additions and 199 deletions

View File

@@ -27,13 +27,16 @@
#include "vcsbase_global.h"
#include <coreplugin/shellcommand.h>
#include <coreplugin/progressmanager/futureprogress.h>
#include <utils/shellcommand.h>
#include <QPointer>
namespace VcsBase {
class VcsOutputWindow;
class VCSBASE_EXPORT VcsCommand : public Core::ShellCommand
class VCSBASE_EXPORT VcsCommand : public Utils::ShellCommand
{
Q_OBJECT
@@ -57,8 +60,7 @@ protected:
private:
void emitRepositoryChanged(const Utils::FilePath &workingDirectory);
void coreAboutToClose() override;
QPointer<Core::FutureProgress> m_progress;
QString m_sshPrompt;
bool m_preventRepositoryChanged;
};