Changeset View
Changeset View
Standalone View
Standalone View
src/ExportManager.h
Context not available. | |||||
26 | #include <QPixmap> | 26 | #include <QPixmap> | ||
---|---|---|---|---|---|
27 | #include <QDateTime> | 27 | #include <QDateTime> | ||
28 | #include <QUrl> | 28 | #include <QUrl> | ||
29 | #include <QDir> | ||||
29 | 30 | | |||
30 | #include "PlatformBackends/ImageGrabber.h" | 31 | #include "PlatformBackends/ImageGrabber.h" | ||
31 | 32 | | |||
Context not available. | |||||
93 | QString truncatedFilename(const QString &filename); | 94 | QString truncatedFilename(const QString &filename); | ||
94 | QString makeAutosaveFilename(); | 95 | QString makeAutosaveFilename(); | ||
95 | using FileNameAlreadyUsedCheck = bool (ExportManager::*)(const QUrl&) const; | 96 | using FileNameAlreadyUsedCheck = bool (ExportManager::*)(const QUrl&) const; | ||
96 | QString autoIncrementFilename(const QString &baseName, const QString &extension, | 97 | QUrl autoIncrementFilename(const QDir &baseDir, | ||
97 | FileNameAlreadyUsedCheck isFileNameUsed); | 98 | const QString &fileName, | ||
99 | const QString &extension, | ||||
100 | FileNameAlreadyUsedCheck isFileNameUsed); | ||||
98 | QString makeSaveMimetype(const QUrl &url); | 101 | QString makeSaveMimetype(const QUrl &url); | ||
99 | bool writeImage(QIODevice *device, const QByteArray &format); | 102 | bool writeImage(QIODevice *device, const QByteArray &format); | ||
100 | bool save(const QUrl &url); | 103 | bool save(const QUrl &url); | ||
Context not available. |