Commit 4f4dde55 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

Rename variables that refer to document from editor to document



Change-Id: I82114ffb66e29e8ac2e1b41138f6ddadfc266d07
Reviewed-by: default avatarFawzi Mohamed <fawzi.mohamed@digia.com>
parent 2cd9a975
......@@ -298,9 +298,9 @@ private:
int indent;
};
QmlOutlineModel::QmlOutlineModel(QmlJSEditorDocument *editor) :
QStandardItemModel(editor),
m_editorDocument(editor)
QmlOutlineModel::QmlOutlineModel(QmlJSEditorDocument *document) :
QStandardItemModel(document),
m_editorDocument(document)
{
m_icons = Icons::instance();
const QString resourcePath = Core::ICore::resourcePath();
......
......@@ -81,7 +81,7 @@ public:
NonElementBindingType // can be filtered out
};
QmlOutlineModel(QmlJSEditorDocument *editor);
QmlOutlineModel(QmlJSEditorDocument *document);
// QStandardItemModel
QStringList mimeTypes() const;
......
......@@ -747,14 +747,14 @@ bool VcsBasePlugin::isSshPromptConfigured()
static const char SOURCE_PROPERTY[] = "qtcreator_source";
void VcsBasePlugin::setSource(Core::IDocument *editor, const QString &source)
void VcsBasePlugin::setSource(Core::IDocument *document, const QString &source)
{
editor->setProperty(SOURCE_PROPERTY, source);
document->setProperty(SOURCE_PROPERTY, source);
}
QString VcsBasePlugin::source(Core::IDocument *editor)
QString VcsBasePlugin::source(Core::IDocument *document)
{
return editor->property(SOURCE_PROPERTY).toString();
return document->property(SOURCE_PROPERTY).toString();
}
void VcsBasePlugin::setProcessEnvironment(QProcessEnvironment *e,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment