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

@@ -29,7 +29,6 @@
#include "resultparser.h"
#include <coreplugin/documentmanager.h>
#include <coreplugin/shellcommand.h>
#include <coreplugin/vcsmanager.h>
#include <git/gitclient.h>
#include <projectexplorer/projectexplorer.h>
@@ -44,6 +43,7 @@
#include <utils/pathchooser.h>
#include <utils/qtcassert.h>
#include <utils/qtcprocess.h>
#include <utils/shellcommand.h>
#include <QApplication>
#include <QCheckBox>

View File

@@ -35,12 +35,11 @@ class QPlainTextEdit;
class QPushButton;
QT_END_NAMESPACE
namespace Core { class ShellCommand; }
namespace Utils {
class FancyLineEdit;
class InfoLabel;
class PathChooser;
class ShellCommand;
}
namespace GitLab {
@@ -67,7 +66,7 @@ private:
Utils::PathChooser *m_pathChooser = nullptr;
Utils::FancyLineEdit *m_directoryLE = nullptr;
Utils::InfoLabel *m_infoLabel = nullptr;
Core::ShellCommand *m_command = nullptr;
Utils::ShellCommand *m_command = nullptr;
bool m_commandRunning = false;
};