Changeset View
Changeset View
Standalone View
Standalone View
src/ExportManager.h
Show All 16 Lines | |||||
17 | * Boston, MA 02110-1301, USA. | 17 | * Boston, MA 02110-1301, USA. | ||
18 | */ | 18 | */ | ||
19 | 19 | | |||
20 | #ifndef EXPORTMANAGER_H | 20 | #ifndef EXPORTMANAGER_H | ||
21 | #define EXPORTMANAGER_H | 21 | #define EXPORTMANAGER_H | ||
22 | 22 | | |||
23 | #include <QObject> | 23 | #include <QObject> | ||
24 | #include <QIODevice> | 24 | #include <QIODevice> | ||
25 | #include <QMap> | ||||
25 | #include <QPrinter> | 26 | #include <QPrinter> | ||
26 | #include <QPixmap> | 27 | #include <QPixmap> | ||
27 | #include <QDateTime> | 28 | #include <QDateTime> | ||
28 | #include <QUrl> | 29 | #include <QUrl> | ||
29 | 30 | | |||
30 | #include "PlatformBackends/ImageGrabber.h" | 31 | #include "PlatformBackends/ImageGrabber.h" | ||
31 | 32 | | |||
32 | class QTemporaryDir; | 33 | class QTemporaryDir; | ||
Show All 29 Lines | 36 | { | |||
62 | void setPixmap(const QPixmap &pixmap); | 63 | void setPixmap(const QPixmap &pixmap); | ||
63 | QPixmap pixmap() const; | 64 | QPixmap pixmap() const; | ||
64 | void updatePixmapTimestamp(); | 65 | void updatePixmapTimestamp(); | ||
65 | void setWindowTitle(const QString &windowTitle); | 66 | void setWindowTitle(const QString &windowTitle); | ||
66 | QString windowTitle() const; | 67 | QString windowTitle() const; | ||
67 | ImageGrabber::GrabMode grabMode() const; | 68 | ImageGrabber::GrabMode grabMode() const; | ||
68 | void setGrabMode(const ImageGrabber::GrabMode &grabMode); | 69 | void setGrabMode(const ImageGrabber::GrabMode &grabMode); | ||
69 | 70 | | |||
71 | static const QMap<QString, QString> filenamePlaceholders; | ||||
72 | | ||||
70 | Q_SIGNALS: | 73 | Q_SIGNALS: | ||
71 | 74 | | |||
72 | void errorMessage(const QString &str); | 75 | void errorMessage(const QString &str); | ||
73 | void pixmapChanged(const QPixmap &pixmap); | 76 | void pixmapChanged(const QPixmap &pixmap); | ||
74 | void imageSaved(const QUrl &savedAt); | 77 | void imageSaved(const QUrl &savedAt); | ||
75 | void forceNotify(const QUrl &savedAt); | 78 | void forceNotify(const QUrl &savedAt); | ||
76 | 79 | | |||
77 | public Q_SLOTS: | 80 | public Q_SLOTS: | ||
Show All 33 Lines |