diff options
Diffstat (limited to 'printer.h')
-rw-r--r-- | printer.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/printer.h b/printer.h new file mode 100644 index 000000000..3b574d126 --- /dev/null +++ b/printer.h @@ -0,0 +1,20 @@ +#ifndef PRINTER_H +#define PRINTER_H + +#include <QPrinter> +#include <QWebView> + +class Printer : public QObject { + Q_OBJECT + +private: + QPrinter *printer; + QWebView *webView; + void render(); + +public: + Printer(QPrinter *printer); + void print(); +}; + +#endif //PRINTER_H |