Changeset View
Changeset View
Standalone View
Standalone View
src/ExportManager.h
Context not available. | |||||
20 | #ifndef EXPORTMANAGER_H | 20 | #ifndef EXPORTMANAGER_H | ||
---|---|---|---|---|---|
21 | #define EXPORTMANAGER_H | 21 | #define EXPORTMANAGER_H | ||
22 | 22 | | |||
23 | #include <QDir> | ||||
23 | #include <QObject> | 24 | #include <QObject> | ||
24 | #include <QIODevice> | 25 | #include <QIODevice> | ||
25 | #include <QPrinter> | 26 | #include <QPrinter> | ||
Context not available. | |||||
81 | 82 | | |||
82 | QString makeAutosaveFilename(); | 83 | QString makeAutosaveFilename(); | ||
83 | using FileNameAlreadyUsedCheck = bool (ExportManager::*)(const QUrl&) const; | 84 | using FileNameAlreadyUsedCheck = bool (ExportManager::*)(const QUrl&) const; | ||
84 | QString autoIncrementFilename(const QString &baseName, const QString &extension, | 85 | QUrl autoIncrementFilename(const QDir &baseDir, const QString &fileName, | ||
85 | FileNameAlreadyUsedCheck isFileNameUsed); | 86 | const QString &extension, | ||
87 | FileNameAlreadyUsedCheck isFileNameUsed); | ||||
86 | QString makeSaveMimetype(const QUrl &url); | 88 | QString makeSaveMimetype(const QUrl &url); | ||
87 | bool writeImage(QIODevice *device, const QByteArray &format); | 89 | bool writeImage(QIODevice *device, const QByteArray &format); | ||
88 | bool save(const QUrl &url); | 90 | bool save(const QUrl &url); | ||
Context not available. |