forked from qt-creator/qt-creator
ImageViewer: Remove class ImageViewerActionHandler.
Create the actions in ImageViewerPlugin and use lambdas instead of a QSignalMapper. Change-Id: Ic74622ca5e9daf6f0d367d00b709d732153dc62e Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
This commit is contained in:
@@ -27,8 +27,6 @@
|
||||
#ifndef IMAGEVIEWERFACTORY_H
|
||||
#define IMAGEVIEWERFACTORY_H
|
||||
|
||||
#include "imagevieweractionhandler.h"
|
||||
|
||||
#include <coreplugin/editormanager/ieditorfactory.h>
|
||||
#include <coreplugin/editormanager/ieditor.h>
|
||||
#include <coreplugin/idocument.h>
|
||||
@@ -36,8 +34,6 @@
|
||||
namespace ImageViewer {
|
||||
namespace Internal {
|
||||
|
||||
class ImageViewerActionHandler;
|
||||
|
||||
class ImageViewerFactory : public Core::IEditorFactory
|
||||
{
|
||||
Q_OBJECT
|
||||
@@ -45,11 +41,6 @@ public:
|
||||
explicit ImageViewerFactory(QObject *parent = 0);
|
||||
|
||||
Core::IEditor *createEditor();
|
||||
|
||||
void extensionsInitialized();
|
||||
|
||||
private:
|
||||
ImageViewerActionHandler m_actionHandler;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
|
||||
Reference in New Issue
Block a user