forked from qt-creator/qt-creator
utils, qmljstools, vcsbase: s/\bm_d\b/d/g
Change-Id: I4678e9188b8f630aa3a3221be348984cdc7699dd Reviewed-on: http://codereview.qt-project.org/4992 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -70,29 +70,29 @@ BaseVCSEditorFactoryPrivate::BaseVCSEditorFactoryPrivate(const VCSBaseEditorPara
|
||||
}
|
||||
|
||||
BaseVCSEditorFactory::BaseVCSEditorFactory(const VCSBaseEditorParameters *t)
|
||||
: m_d(new BaseVCSEditorFactoryPrivate(t))
|
||||
: d(new BaseVCSEditorFactoryPrivate(t))
|
||||
{
|
||||
m_d->m_displayName = QCoreApplication::translate("VCS", t->displayName);
|
||||
d->m_displayName = QCoreApplication::translate("VCS", t->displayName);
|
||||
}
|
||||
|
||||
BaseVCSEditorFactory::~BaseVCSEditorFactory()
|
||||
{
|
||||
delete m_d;
|
||||
delete d;
|
||||
}
|
||||
|
||||
QStringList BaseVCSEditorFactory::mimeTypes() const
|
||||
{
|
||||
return m_d->m_mimeTypes;
|
||||
return d->m_mimeTypes;
|
||||
}
|
||||
|
||||
Core::Id BaseVCSEditorFactory::id() const
|
||||
{
|
||||
return m_d->m_id;
|
||||
return d->m_id;
|
||||
}
|
||||
|
||||
QString BaseVCSEditorFactory::displayName() const
|
||||
{
|
||||
return m_d->m_displayName;
|
||||
return d->m_displayName;
|
||||
}
|
||||
|
||||
Core::IFile *BaseVCSEditorFactory::open(const QString &fileName)
|
||||
@@ -103,10 +103,10 @@ Core::IFile *BaseVCSEditorFactory::open(const QString &fileName)
|
||||
|
||||
Core::IEditor *BaseVCSEditorFactory::createEditor(QWidget *parent)
|
||||
{
|
||||
VCSBaseEditorWidget *vcsEditor = createVCSBaseEditor(m_d->m_type, parent);
|
||||
VCSBaseEditorWidget *vcsEditor = createVCSBaseEditor(d->m_type, parent);
|
||||
|
||||
vcsEditor ->setMimeType(m_d->m_mimeTypes.front());
|
||||
m_d->m_editorHandler->setupActions(vcsEditor);
|
||||
vcsEditor ->setMimeType(d->m_mimeTypes.front());
|
||||
d->m_editorHandler->setupActions(vcsEditor);
|
||||
|
||||
// Wire font settings and set initial values
|
||||
TextEditor::TextEditorSettings *settings = TextEditor::TextEditorSettings::instance();
|
||||
|
||||
Reference in New Issue
Block a user