summaryrefslogtreecommitdiffstats
path: root/printer.h
diff options
context:
space:
mode:
authorGravatar Gehad elrobey <gehadelrobey@gmail.com>2015-07-10 16:20:14 +0200
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2015-07-20 15:27:39 +0300
commit4e1a5d954b3cceafce3fb2e4534d7e5c9bd5c770 (patch)
tree6b5c18e355421d74e997bdd509edac03e0d57679 /printer.h
parent51e36fa15805fdf64d68113ef66910f3f6c8eede (diff)
downloadsubsurface-4e1a5d954b3cceafce3fb2e4534d7e5c9bd5c770.tar.gz
Printing: refactoring printer class
- Render specific number of pages only. - Move printer related code to print(). Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com> Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'printer.h')
-rw-r--r--printer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/printer.h b/printer.h
index 73368a669..6c826aa0a 100644
--- a/printer.h
+++ b/printer.h
@@ -21,7 +21,7 @@ private:
QSize pageSize;
int done;
int dpi;
- void render();
+ void render(int Pages);
void putProfileImage(QRect box, QRect viewPort, QPainter *painter, struct dive *dive, QPointer<ProfileWidget2> profile);
private slots: