summaryrefslogtreecommitdiff
path: root/src/plugins/designer/formwindowfile.h
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2011-04-04 15:24:13 +0200
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2011-04-18 14:10:13 +0200
commitfae7dc9584b4e2f2192f8b7a71c428fcaa2ddb70 (patch)
tree8bef6eb1041468b8a5fafee29e5832bade62729b /src/plugins/designer/formwindowfile.h
parentf1f9904d3578fd6790f0598e58cf6e2b5628eb50 (diff)
downloadqt-creator-fae7dc9584b4e2f2192f8b7a71c428fcaa2ddb70.tar.gz
add errorString output argument to IFile::reload() & IEditor::open()
add/unify read error handling in all affected classes
Diffstat (limited to 'src/plugins/designer/formwindowfile.h')
-rw-r--r--src/plugins/designer/formwindowfile.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/designer/formwindowfile.h b/src/plugins/designer/formwindowfile.h
index b120701631..4bc1075927 100644
--- a/src/plugins/designer/formwindowfile.h
+++ b/src/plugins/designer/formwindowfile.h
@@ -59,7 +59,7 @@ public:
virtual bool isReadOnly() const;
virtual bool isSaveAsAllowed() const;
ReloadBehavior reloadBehavior(ChangeTrigger state, ChangeType type) const;
- void reload(ReloadFlag flag, ChangeType type);
+ bool reload(QString *errorString, ReloadFlag flag, ChangeType type);
virtual QString defaultPath() const;
virtual QString suggestedFileName() const;
virtual QString mimeType() const;
@@ -75,7 +75,7 @@ public:
signals:
// Internal
void saved();
- void reload(const QString &);
+ void reload(QString *errorString, const QString &);
void setDisplayName(const QString &);
public slots: