diff options
author | hjk <hjk@theqtcompany.com> | 2015-08-26 14:39:15 +0200 |
---|---|---|
committer | hjk <hjk@theqtcompany.com> | 2015-11-04 17:52:20 +0000 |
commit | e6a98f368e54fbd067083635b511f333341ef9b6 (patch) | |
tree | 952881963a03512f7b98ab9ee056f442fb7cb583 /src/plugins/vcsbase/vcsbase.pro | |
parent | ed25b429f684e4a1cebb3df4252160ffe98e75ed (diff) | |
download | qt-creator-e6a98f368e54fbd067083635b511f333341ef9b6.tar.gz |
Core: Replace ICoreListener by std::functions
ICoreListener::coreAboutToClose() remains in the core,
ICoreListener::editorAboutToClose() is handled by a new
EditorManager::addCloseEditorListener() function.
This removes the need for some boiler plate code resulting
from the need to implement the interface in custom classes
(DesignModeCoreListener, EditorClosingCoreListener,
PojectEplorer::CoreListener and VcsBase::CoreListener).
EditorManager::addCloseEditorListener
Change-Id: Ie554c987b5455b555be6d77b77e4013639201d22
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Diffstat (limited to 'src/plugins/vcsbase/vcsbase.pro')
-rw-r--r-- | src/plugins/vcsbase/vcsbase.pro | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/vcsbase/vcsbase.pro b/src/plugins/vcsbase/vcsbase.pro index b433f81743..a6364aa22f 100644 --- a/src/plugins/vcsbase/vcsbase.pro +++ b/src/plugins/vcsbase/vcsbase.pro @@ -7,7 +7,6 @@ HEADERS += vcsbase_global.h \ wizard/vcscommandpage.h \ wizard/vcsjsextension.h \ vcsplugin.h \ - corelistener.h \ vcsbaseplugin.h \ baseannotationhighlighter.h \ diffandloghighlighter.h \ @@ -36,7 +35,6 @@ SOURCES += vcsplugin.cpp \ wizard/vcsconfigurationpage.cpp \ wizard/vcscommandpage.cpp \ wizard/vcsjsextension.cpp \ - corelistener.cpp \ baseannotationhighlighter.cpp \ diffandloghighlighter.cpp \ vcsbaseeditor.cpp \ |