diff options
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r-- | src/mainwindow.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h index 4f059cc..6c1a094 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -26,6 +26,8 @@ #include "diagramview.h" #include "diagramdocument.h" +class QPrinter; + class MainWindow: public QMainWindow { Q_OBJECT @@ -54,6 +56,8 @@ public slots: bool saveAs(); void exportDocument(); void print(); + void printPreview(); + void paintOnPrinter(QPrinter *); void setViewScale(const QString &scale); void about(); |