Changeset View
Changeset View
Standalone View
Standalone View
src/ExportManager.h
Show First 20 Lines • Show All 67 Lines • ▼ Show 20 Line(s) | 32 | { | |||
---|---|---|---|---|---|
68 | void forceNotify(const QUrl &savedAt); | 68 | void forceNotify(const QUrl &savedAt); | ||
69 | 69 | | |||
70 | public slots: | 70 | public slots: | ||
71 | 71 | | |||
72 | QUrl getAutosaveFilename(); | 72 | QUrl getAutosaveFilename(); | ||
73 | QUrl tempSave(const QString &mimetype = QStringLiteral("png")); | 73 | QUrl tempSave(const QString &mimetype = QStringLiteral("png")); | ||
74 | 74 | | |||
75 | void doSave(const QUrl &url = QUrl(), bool notify = false); | 75 | void doSave(const QUrl &url = QUrl(), bool notify = false); | ||
76 | void doSaveAs(QWidget *parentWindow = 0); | 76 | bool doSaveAs(QWidget *parentWindow = 0, bool notify = false); | ||
77 | void doCopyToClipboard(); | 77 | void doCopyToClipboard(); | ||
78 | void doPrint(QPrinter *printer); | 78 | void doPrint(QPrinter *printer); | ||
79 | 79 | | |||
80 | private: | 80 | private: | ||
81 | 81 | | |||
82 | QString makeAutosaveFilename(); | 82 | QString makeAutosaveFilename(); | ||
83 | using FileNameAlreadyUsedCheck = bool (ExportManager::*)(const QUrl&) const; | 83 | using FileNameAlreadyUsedCheck = bool (ExportManager::*)(const QUrl&) const; | ||
84 | QString autoIncrementFilename(const QString &baseName, const QString &extension, | 84 | QString autoIncrementFilename(const QString &baseName, const QString &extension, | ||
Show All 16 Lines |