forked from qt-creator/qt-creator
use Core::Id for IEditorFactory::id
Change-Id: Iefd67a0461d9016b8ba0f3371df7ec6d42e188c5 Reviewed-on: http://codereview.qt-project.org/4321 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -38,8 +38,6 @@
|
||||
#include <coreplugin/editormanager/ieditor.h>
|
||||
#include <coreplugin/ifile.h>
|
||||
|
||||
#include <QtCore/QScopedPointer>
|
||||
|
||||
namespace ImageViewer {
|
||||
namespace Internal {
|
||||
|
||||
@@ -53,16 +51,14 @@ public:
|
||||
Core::IEditor *createEditor(QWidget *parent);
|
||||
|
||||
QStringList mimeTypes() const;
|
||||
|
||||
QString id() const;
|
||||
Core::Id id() const;
|
||||
QString displayName() const;
|
||||
|
||||
Core::IFile *open(const QString &fileName);
|
||||
|
||||
void extensionsInitialized();
|
||||
|
||||
private:
|
||||
QScopedPointer<struct ImageViewerFactoryPrivate> d;
|
||||
struct ImageViewerFactoryPrivate *d;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
|
||||
Reference in New Issue
Block a user