forked from qt-creator/qt-creator
Vcs: Pimpl plugins
Essentially rename all *Plugin into *PluginPrivate, and pull out the actual IPlugin related pieces into new *Plugin classes. Shift the construction of the PluginPrivate to initialize(), following the general pattern. I tried to keep the patch as mechanical as possible, giving room to some obvious but less mechanical cleanup needs, that are intentionally left out of this here. Change-Id: Iac662bf73338f9f7669064ed67b960246875c23c Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -240,7 +240,7 @@ QStringList GerritServer::curlArguments() const
|
||||
|
||||
int GerritServer::testConnection()
|
||||
{
|
||||
static GitClient *const client = GitPlugin::client();
|
||||
static GitClient *const client = GitPluginPrivate::client();
|
||||
const QStringList arguments = curlArguments() << (url(RestUrl) + accountUrlC);
|
||||
const SynchronousProcessResponse resp = client->vcsFullySynchronousExec(
|
||||
QString(), {curlBinary, arguments},
|
||||
@@ -332,7 +332,7 @@ bool GerritServer::resolveRoot()
|
||||
|
||||
void GerritServer::resolveVersion(const GerritParameters &p, bool forceReload)
|
||||
{
|
||||
static GitClient *const client = GitPlugin::client();
|
||||
static GitClient *const client = GitPluginPrivate::client();
|
||||
QSettings *settings = Core::ICore::settings();
|
||||
const QString fullVersionKey = "Gerrit/" + host + '/' + versionKey;
|
||||
version = settings->value(fullVersionKey).toString();
|
||||
|
||||
Reference in New Issue
Block a user