summaryrefslogtreecommitdiff
path: root/src/editor.h
diff options
context:
space:
mode:
authorkintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c>2010-04-03 03:05:40 (GMT)
committerkintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c>2010-04-03 03:05:40 (GMT)
commita9b509095ceff507de21de523c8f294ff97507e9 (patch)
tree0b14f3e1324579f82f2111aec13dd2338cbc9d03 /src/editor.h
parentf2d193c25ade8bcd21e514e8aa16b95afd3aa7c1 (diff)
editor bugfix: slots weren't tagged as slots
git-svn-id: http://svn.clifford.at/openscad/trunk@508 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'src/editor.h')
-rw-r--r--src/editor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/editor.h b/src/editor.h
index 6cc7913..c2f3333 100644
--- a/src/editor.h
+++ b/src/editor.h
@@ -23,6 +23,7 @@ public slots:
void zoomOut(int n = 1) { zoom(-n); }
#else
Editor(QWidget *parent) : QTextEdit(parent) {}
+public slots:
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