summaryrefslogtreecommitdiff
path: root/src/editor.h
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2012-07-23 01:16:37 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2012-07-23 01:16:37 (GMT)
commit3c7a85af570e5609f4a6625e06410f31fa4d4f0f (patch)
tree6f2f97a520d356bba65bc4b66e824f3e5c05dd99 /src/editor.h
parent255190589527a6dbe4a6ef26f39abb126d348649 (diff)
debugging and rearranging to find issue
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