summaryrefslogtreecommitdiffstats
path: root/printer.h
diff options
context:
space:
mode:
Diffstat (limited to 'printer.h')
-rw-r--r--printer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/printer.h b/printer.h
index 1974d46c1..75c256d91 100644
--- a/printer.h
+++ b/printer.h
@@ -3,6 +3,10 @@
#include <QPrinter>
#include <QWebView>
+#include <QRect>
+#include <QPainter>
+
+#include "profile/profilewidget2.h"
class Printer : public QObject {
Q_OBJECT
@@ -11,6 +15,7 @@ private:
QPrinter *printer;
QWebView *webView;
void render();
+ void putProfileImage(QRect box, QRect viewPort, QPainter *painter, struct dive *dive, QPointer<ProfileWidget2> profile);
int done;
private slots: