forked from qt-creator/qt-creator
Rename IFile->IDocument and FileManager->DocumentManager
And adapt the other API respectively. Change-Id: I1e04e555409be09242db6890f9e013396f83aeed Reviewed-by: Bill King <bill.king@nokia.com> Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
#define IMAGEVIEWER_H
|
||||
|
||||
#include <coreplugin/editormanager/ieditor.h>
|
||||
#include <coreplugin/ifile.h>
|
||||
#include <coreplugin/idocument.h>
|
||||
|
||||
#include <QScopedPointer>
|
||||
#include <QStringList>
|
||||
@@ -59,7 +59,7 @@ public:
|
||||
|
||||
bool createNew(const QString &contents = QString());
|
||||
bool open(QString *errorString, const QString &fileName, const QString &realFileName);
|
||||
Core::IFile *file();
|
||||
Core::IDocument *document();
|
||||
Core::Id id() const;
|
||||
QString displayName() const;
|
||||
void setDisplayName(const QString &title);
|
||||
|
||||
Reference in New Issue
Block a user