summaryrefslogtreecommitdiff
path: root/src/plugins/pythoneditor/pythoneditorplugin.h
diff options
context:
space:
mode:
authorhjk <hjk@theqtcompany.com>2016-08-03 00:07:44 +0200
committerhjk <hjk@qt.io>2016-08-26 08:20:22 +0000
commit56a098598f04133ee51d7599c57f4da83e3460ef (patch)
treef0e3769dab4587a71dceda12678f158cef526a56 /src/plugins/pythoneditor/pythoneditorplugin.h
parentedb0da7552055ca50bdc0ea4441e253dcb2fd007 (diff)
downloadqt-creator-56a098598f04133ee51d7599c57f4da83e3460ef.tar.gz
PythonEditor: Modernize/Streamline
Remove virtual, add override, add = delete, remove QLatin1*, flatten filesystem hierarchy, remove unneeded 'inline', use initializer list, etc. Change-Id: I0a95d806d73ca1a33cfd1ba85c2664d9ebc32690 Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/pythoneditor/pythoneditorplugin.h')
-rw-r--r--src/plugins/pythoneditor/pythoneditorplugin.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/plugins/pythoneditor/pythoneditorplugin.h b/src/plugins/pythoneditor/pythoneditorplugin.h
index ae2634c188..db733f7bd2 100644
--- a/src/plugins/pythoneditor/pythoneditorplugin.h
+++ b/src/plugins/pythoneditor/pythoneditorplugin.h
@@ -41,14 +41,10 @@ class PythonEditorPlugin : public ExtensionSystem::IPlugin
public:
PythonEditorPlugin();
- virtual ~PythonEditorPlugin();
+ ~PythonEditorPlugin() override;
- virtual bool initialize(const QStringList &arguments, QString *errorMessage);
- virtual void extensionsInitialized() {}
-
- static QSet<QString> keywords();
- static QSet<QString> magics();
- static QSet<QString> builtins();
+ bool initialize(const QStringList &arguments, QString *errorMessage) override;
+ void extensionsInitialized() override {}
private:
QSet<QString> m_keywords;