summaryrefslogtreecommitdiff
path: root/src/plugins/designer/formwindoweditor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/designer/formwindoweditor.h')
-rw-r--r--src/plugins/designer/formwindoweditor.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/designer/formwindoweditor.h b/src/plugins/designer/formwindoweditor.h
index 831f72b12c..bea7b25cd0 100644
--- a/src/plugins/designer/formwindoweditor.h
+++ b/src/plugins/designer/formwindoweditor.h
@@ -53,7 +53,7 @@ namespace Internal {
struct FormWindowEditorPrivate;
// The actual Core::IEditor belonging to Qt Designer. Uses FormWindowFile
-// as the Core::IFile to do the isModified() handling,
+// as the Core::IDocument to do the isModified() handling,
// which needs to be done by Qt Designer.
// However, to make the read-only XML text editor work,
// a TextEditor::PlainTextEditorEditable (IEditor) is also required.
@@ -72,7 +72,7 @@ public:
// IEditor
virtual bool createNew(const QString &contents = QString());
virtual bool open(QString *errorString, const QString &fileName, const QString &realFileName);
- virtual Core::IFile *file();
+ virtual Core::IDocument *document();
virtual Core::Id id() const;
virtual QString displayName() const;
virtual void setDisplayName(const QString &title);