diff options
author | Gehad elrobey <gehadelrobey@gmail.com> | 2015-07-10 16:20:14 +0200 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2015-07-20 15:27:39 +0300 |
commit | 4e1a5d954b3cceafce3fb2e4534d7e5c9bd5c770 (patch) | |
tree | 6b5c18e355421d74e997bdd509edac03e0d57679 /printer.h | |
parent | 51e36fa15805fdf64d68113ef66910f3f6c8eede (diff) | |
download | subsurface-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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: |