summaryrefslogtreecommitdiff
path: root/src/editor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/editor.h')
-rw-r--r--src/editor.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/editor.h b/src/editor.h
index 3088d20..f39c067 100644
--- a/src/editor.h
+++ b/src/editor.h
@@ -18,12 +18,12 @@ 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:
+ void zoomIn();
+ void zoomOut();
void setLineWrapping(bool on) { if(on) setWordWrapMode(QTextOption::WrapAnywhere); }
void setContentModified(bool y) { document()->setModified(y); }
bool isContentModified() { return document()->isModified(); }
contact: Jan Huwald // Impressum