forked from qt-creator/qt-creator
Editors: No need to re-implement functions identical to base
Change-Id: Ibdd3147cc2a64407802fa237b7943d2e96c9003b Reviewed-by: David Schulz <david.schulz@digia.com>
This commit is contained in:
@@ -50,10 +50,5 @@ GLSLEditorEditable::GLSLEditorEditable(GLSLTextEditorWidget *editor)
|
|||||||
TextEditor::Constants::C_TEXTEDITOR));
|
TextEditor::Constants::C_TEXTEDITOR));
|
||||||
}
|
}
|
||||||
|
|
||||||
Core::Id GLSLEditorEditable::preferredModeType() const
|
|
||||||
{
|
|
||||||
return Core::Id();
|
|
||||||
}
|
|
||||||
|
|
||||||
} // namespace Internal
|
} // namespace Internal
|
||||||
} // namespace GLSLEditor
|
} // namespace GLSLEditor
|
||||||
|
|||||||
@@ -49,7 +49,6 @@ public:
|
|||||||
Core::Id id() const;
|
Core::Id id() const;
|
||||||
bool isTemporary() const { return false; }
|
bool isTemporary() const { return false; }
|
||||||
bool open(QString *errorString, const QString &fileName, const QString &realFileName);
|
bool open(QString *errorString, const QString &fileName, const QString &realFileName);
|
||||||
Core::Id preferredModeType() const;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace Internal
|
} // namespace Internal
|
||||||
|
|||||||
@@ -74,11 +74,6 @@ Core::Id PythonEditor::id() const
|
|||||||
return Core::Id(Constants::C_PYTHONEDITOR_ID);
|
return Core::Id(Constants::C_PYTHONEDITOR_ID);
|
||||||
}
|
}
|
||||||
|
|
||||||
Core::Id PythonEditor::preferredModeType() const
|
|
||||||
{
|
|
||||||
return Core::Id();
|
|
||||||
}
|
|
||||||
|
|
||||||
bool PythonEditor::open(QString *errorString,
|
bool PythonEditor::open(QString *errorString,
|
||||||
const QString &fileName,
|
const QString &fileName,
|
||||||
const QString &realFileName)
|
const QString &realFileName)
|
||||||
|
|||||||
@@ -50,7 +50,6 @@ public:
|
|||||||
|
|
||||||
Core::Id id() const;
|
Core::Id id() const;
|
||||||
bool isTemporary() const { return false; }
|
bool isTemporary() const { return false; }
|
||||||
Core::Id preferredModeType() const;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Opens file for editing, actual work performed by base class
|
Opens file for editing, actual work performed by base class
|
||||||
|
|||||||
Reference in New Issue
Block a user