diff options
author | Gehad elrobey <gehadelrobey@gmail.com> | 2015-05-30 15:20:01 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-06-04 10:08:04 -0700 |
commit | 231f90bd268b0b4e930772d295368180d118339d (patch) | |
tree | edf7ae20fd85220b88c066e3ce684010a9de5dd2 /qt-ui/printdialog.h | |
parent | b4e1563d10ff1d610fdcd622871620e50b0c5bd5 (diff) | |
download | subsurface-231f90bd268b0b4e930772d295368180d118339d.tar.gz |
Printing: call print from printer class
This is the main function that prints dive lists.
Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/printdialog.h')
-rw-r--r-- | qt-ui/printdialog.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qt-ui/printdialog.h b/qt-ui/printdialog.h index bdcfbf733..1c6d30dfd 100644 --- a/qt-ui/printdialog.h +++ b/qt-ui/printdialog.h @@ -4,6 +4,7 @@ #include <QDialog> #include <QPrinter> #include "printoptions.h" +#include "printer.h" class QProgressBar; class PrintOptions; @@ -19,7 +20,8 @@ public: private: PrintOptions *optionsWidget; QProgressBar *progressBar; - QPrinter printer; + Printer *printer; + QPrinter qprinter; struct print_options printOptions; private |