Vcs: Rename VcsBasePluginPrivate to VersionControlBase

The classes derived from this had a dual role of implementing the
version control interface (IVersionControl) and as the plugin pimpls.
The name was focusing on the latter, but plugin pimpls are being phased
out in the new 'setupFoo()' world, so only the version control interface
part remains.

Change-Id: I60396f1729c736bc6c9e4fca250a5926e9d60f51
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
hjk
2024-02-06 16:05:34 +01:00
parent cf50a2d230
commit 48d47faa4b
16 changed files with 65 additions and 65 deletions

View File

@@ -152,7 +152,7 @@ public:
QLineEdit *revisionLineEdit;
};
class BazaarPluginPrivate final : public VcsBasePluginPrivate
class BazaarPluginPrivate final : public VersionControlBase
{
public:
BazaarPluginPrivate();
@@ -183,7 +183,7 @@ public:
// files changed signals according to the variant's type:
// String -> repository, StringList -> files
void changed(const QVariant &);
void updateActions(VcsBase::VcsBasePluginPrivate::ActionState) final;
void updateActions(VcsBase::VersionControlBase::ActionState) final;
bool activateCommit() final;
// File menu action slots
@@ -321,7 +321,7 @@ private:
};
BazaarPluginPrivate::BazaarPluginPrivate()
: VcsBasePluginPrivate(Context(Constants::BAZAAR_CONTEXT))
: VersionControlBase(Context(Constants::BAZAAR_CONTEXT))
{
Context context(Constants::BAZAAR_CONTEXT);
@@ -850,7 +850,7 @@ bool BazaarPluginPrivate::activateCommit()
return true;
}
void BazaarPluginPrivate::updateActions(VcsBasePluginPrivate::ActionState as)
void BazaarPluginPrivate::updateActions(VersionControlBase::ActionState as)
{
if (!enableMenuAction(as, m_menuAction)) {
m_commandLocator->setEnabled(false);