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, 3 insertions, 1 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index 6c1a094..7a77b8e 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -57,7 +57,7 @@ public slots:
void exportDocument();
void print();
void printPreview();
- void paintOnPrinter(QPrinter *);
+ void printPreview(QPrinter *);
void setViewScale(const QString &scale);
void about();
@@ -96,6 +96,8 @@ private:
class MainWindowPrivate;
MainWindowPrivate *const d;
+ void initPrinter();
+
DiagramView *m_view;
DiagramDocument *m_model;