summaryrefslogtreecommitdiff
path: root/src/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h4
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();