forked from qt-creator/qt-creator
EmacsKeys: Modernize
modernize-use-auto modernize-use-nullptr modernize-use-override modernize-use-equals-default Change-Id: Icdd470c27bfaef1ff4d8af20103c8d2a22043bbe Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -52,11 +52,11 @@ class EmacsKeysPlugin : public ExtensionSystem::IPlugin
|
||||
|
||||
public:
|
||||
EmacsKeysPlugin();
|
||||
~EmacsKeysPlugin();
|
||||
~EmacsKeysPlugin() override;
|
||||
|
||||
bool initialize(const QStringList &arguments, QString *errorString);
|
||||
void extensionsInitialized();
|
||||
ShutdownFlag aboutToShutdown();
|
||||
bool initialize(const QStringList &arguments, QString *errorString) override;
|
||||
void extensionsInitialized() override;
|
||||
ShutdownFlag aboutToShutdown() override;
|
||||
|
||||
private:
|
||||
void editorAboutToClose(Core::IEditor *editor);
|
||||
@@ -93,9 +93,9 @@ private:
|
||||
void genericVScroll(int direction);
|
||||
|
||||
QHash<QPlainTextEdit*, EmacsKeysState*> m_stateMap;
|
||||
QPlainTextEdit *m_currentEditorWidget;
|
||||
EmacsKeysState *m_currentState;
|
||||
TextEditor::TextEditorWidget *m_currentBaseTextEditorWidget;
|
||||
QPlainTextEdit *m_currentEditorWidget = nullptr;
|
||||
EmacsKeysState *m_currentState = nullptr;
|
||||
TextEditor::TextEditorWidget *m_currentBaseTextEditorWidget = nullptr;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
|
||||
Reference in New Issue
Block a user