summaryrefslogtreecommitdiff
path: root/src/editor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/editor.h')
-rw-r--r--src/editor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/editor.h b/src/editor.h
index f39c067..509cf24 100644
--- a/src/editor.h
+++ b/src/editor.h
@@ -18,7 +18,9 @@ public:
void setPlainText(const QString& text) { setText(text); }
public slots:
//void zoomIn() { zoom(1); }
+ void zoomIn(int n = 1) { zoom(n); }
//void zoomOut() { zoom(-1); }
+ void zoomOut(int n = 1) { zoom(-n); }
#else
Editor(QWidget *parent) : QTextEdit(parent) { setAcceptRichText(false); }
public slots:
contact: Jan Huwald // Impressum