mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
2239ffe13c
commit
fa6eb6144b
10 changed files with 39 additions and 21 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue