diff options
author | Eike Ziller <eike.ziller@digia.com> | 2013-07-04 22:25:15 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@digia.com> | 2013-07-10 17:26:15 +0200 |
commit | 113c5600c909791ddfea3d424a41d982dcdda6b7 (patch) | |
tree | 33638a66c8cd6f6f9c376d1aba52e8fca862a887 /src/plugins/designer/formwindowfile.h | |
parent | 81eba6f9843179804ed2e53d490e718b12c04044 (diff) | |
download | qt-creator-113c5600c909791ddfea3d424a41d982dcdda6b7.tar.gz |
Move displayName from IEditor to IDocument
The display name is not editor instance specific, but belongs to the
document.
Change-Id: I3c936f04a86e10e6ca30063d85036d85b4b5880e
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Diffstat (limited to 'src/plugins/designer/formwindowfile.h')
-rw-r--r-- | src/plugins/designer/formwindowfile.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/designer/formwindowfile.h b/src/plugins/designer/formwindowfile.h index 2daf6cfdf3..6fdca217b1 100644 --- a/src/plugins/designer/formwindowfile.h +++ b/src/plugins/designer/formwindowfile.h @@ -68,13 +68,13 @@ public: signals: // Internal - void saved(); void reload(QString *errorString, const QString &); void setDisplayName(const QString &); public slots: void setFilePath(const QString &); void setShouldAutoSave(bool sad = true) { m_shouldAutoSave = sad; } + void updateIsModified(); private slots: void slotFormWindowRemoved(QDesignerFormWindowInterface *w); @@ -87,6 +87,7 @@ private: // Might actually go out of scope before the IEditor due // to deleting the WidgetHost which owns it. QPointer<QDesignerFormWindowInterface> m_formWindow; + bool m_isModified; }; } // namespace Internal |