diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2011-03-30 15:15:15 +0200 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2011-04-18 14:10:14 +0200 |
commit | 45c9cf7a1298feed925d18596c30ac9c6cd1dac5 (patch) | |
tree | 6f484122011b76a5f3a2f1915b7b308b1f5058ea /src/plugins/perforce/perforceplugin.h | |
parent | fae7dc9584b4e2f2192f8b7a71c428fcaa2ddb70 (diff) |
add/unify i/o error handling
lots of use of Utils::FileSaver and Utils::FileReader
Task-number: QTCREATORBUG-1619
Diffstat (limited to 'src/plugins/perforce/perforceplugin.h')
-rw-r--r-- | src/plugins/perforce/perforceplugin.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/perforce/perforceplugin.h b/src/plugins/perforce/perforceplugin.h index 0e1ba0dbda2..69bb1f66bdc 100644 --- a/src/plugins/perforce/perforceplugin.h +++ b/src/plugins/perforce/perforceplugin.h @@ -54,6 +54,7 @@ QT_END_NAMESPACE namespace Utils { class ParameterAction; + class TempFileSaver; } namespace Locator { @@ -190,7 +191,8 @@ private: bool enableAnnotationContextMenu = false); void cleanCommitMessageFile(); bool isCommitEditorOpen() const; - QSharedPointer<QTemporaryFile> createTemporaryArgumentFile(const QStringList &extraArgs) const; + QSharedPointer<Utils::TempFileSaver> createTemporaryArgumentFile(const QStringList &extraArgs, + QString *errorString) const; void getTopLevel(); QString pendingChangesData(); |