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:
hjk
2013-05-25 00:12:23 +02:00
committed by David Schulz
parent 569d29dc3e
commit dfc0ee6456
4 changed files with 0 additions and 12 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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)

View File

@@ -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