printing: move #includes from headers to source files

To decrease include-file interdependencies.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2020-12-13 13:32:40 +01:00 committed by Dirk Hohndel
parent 2239ffe13c
commit fa6eb6144b
10 changed files with 39 additions and 21 deletions

View file

@ -2,14 +2,15 @@
#ifndef PRINTER_H
#define PRINTER_H
#include <QPrinter>
#include <QWebView>
#include <QRect>
#include <QPainter>
#include "printoptions.h"
#include "templateedit.h"
class ProfileWidget2;
class QPainter;
class QPaintDevice;
class QRect;
class QWebView;
class Printer : public QObject {
Q_OBJECT
@ -30,7 +31,8 @@ private:
int dpi;
void render(int Pages);
void flowRender();
void putProfileImage(QRect box, QRect viewPort, QPainter *painter, struct dive *dive, QPointer<ProfileWidget2> profile);
void putProfileImage(const QRect &box, const QRect &viewPort, QPainter *painter,
struct dive *dive, QPointer<ProfileWidget2> profile);
private slots:
void templateProgessUpdated(int value);