forked from qt-creator/qt-creator
Conan: Rename RunData to ConanPluginPrivate
The *Private convention won. Change-Id: I21e9cc335d3da05e5530feb7a9394c3c281475bd Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -45,7 +45,7 @@ using namespace Utils;
|
||||
namespace ConanPackageManager {
|
||||
namespace Internal {
|
||||
|
||||
class ConanPluginRunData
|
||||
class ConanPluginPrivate
|
||||
{
|
||||
public:
|
||||
ConanInstallStepFactory installStepFactory;
|
||||
@@ -53,7 +53,7 @@ public:
|
||||
|
||||
ConanPlugin::~ConanPlugin()
|
||||
{
|
||||
delete m_runData;
|
||||
delete d;
|
||||
}
|
||||
|
||||
void ConanPlugin::extensionsInitialized()
|
||||
@@ -64,7 +64,7 @@ bool ConanPlugin::initialize(const QStringList &arguments, QString *errorString)
|
||||
Q_UNUSED(arguments)
|
||||
Q_UNUSED(errorString)
|
||||
|
||||
m_runData = new ConanPluginRunData;
|
||||
d = new ConanPluginPrivate;
|
||||
conanSettings()->readSettings(ICore::settings());
|
||||
|
||||
connect(SessionManager::instance(), &SessionManager::projectAdded,
|
||||
|
@@ -33,13 +33,13 @@ namespace ProjectExplorer { class Project; }
|
||||
namespace ConanPackageManager {
|
||||
namespace Internal {
|
||||
|
||||
class ConanPluginRunData;
|
||||
class ConanSettings;
|
||||
|
||||
class ConanPlugin final : public ExtensionSystem::IPlugin
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QtCreatorPlugin" FILE "Conan.json")
|
||||
|
||||
public:
|
||||
static ConanSettings *conanSettings();
|
||||
static Utils::FilePath conanFilePath(ProjectExplorer::Project *project,
|
||||
@@ -52,7 +52,7 @@ private:
|
||||
void extensionsInitialized() final;
|
||||
bool initialize(const QStringList &arguments, QString *errorString) final;
|
||||
|
||||
ConanPluginRunData *m_runData = nullptr;
|
||||
class ConanPluginPrivate *d = nullptr;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
|
Reference in New Issue
Block a user