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:
@@ -65,7 +65,7 @@ SettingsPageWidget::SettingsPageWidget()
|
||||
m_ui.commandPathChooser->setExpectedKind(PathChooser::ExistingCommand);
|
||||
m_ui.commandPathChooser->setHistoryCompleter(QLatin1String("ClearCase.Command.History"));
|
||||
|
||||
ClearCaseSettings s = ClearCasePlugin::instance()->settings();
|
||||
ClearCaseSettings s = ClearCasePluginPrivate::instance()->settings();
|
||||
|
||||
m_ui.commandPathChooser->setPath(s.ccCommand);
|
||||
m_ui.timeOutSpinBox->setValue(s.timeOutS);
|
||||
@@ -117,7 +117,7 @@ void SettingsPageWidget::apply()
|
||||
rc.indexOnlyVOBs = m_ui.indexOnlyVOBsEdit->text();
|
||||
rc.extDiffAvailable = m_ui.externalDiffRadioButton->isEnabled();
|
||||
|
||||
ClearCasePlugin::instance()->setSettings(rc);
|
||||
ClearCasePluginPrivate::instance()->setSettings(rc);
|
||||
}
|
||||
|
||||
ClearCaseSettingsPage::ClearCaseSettingsPage(QObject *parent)
|
||||
|
||||
Reference in New Issue
Block a user