summaryrefslogtreecommitdiffstats
path: root/objects/editor.h
diff options
context:
space:
mode:
authorJesper K. Pedersen <jesper.pedersen@kdab.com>2013-04-17 12:09:57 +0200
committerJesper K. Pedersen <jesper.pedersen@kdab.com>2013-04-17 20:50:24 +0200
commit487770e422e4c55e128c210bb82b30ed99f3f401 (patch)
tree2827f7ec704ea06cc4de858eaf56f4ce68a8b35c /objects/editor.h
parente793225595a8010d35506011ac2a915df8e21119 (diff)
Introduced the class TextEditor
This is to make it similar in heirarchy as the IEditor subclasses. This commit also wraps QPoint and QRect so they are usable from the scripts Change-Id: I214a7323cf6cc20cb9df509d0ea0515358248714 Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com>
Diffstat (limited to 'objects/editor.h')
-rw-r--r--objects/editor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/objects/editor.h b/objects/editor.h
index eb6dc6b..91ae144 100644
--- a/objects/editor.h
+++ b/objects/editor.h
@@ -63,7 +63,7 @@ public slots:
QString fileName() const;
protected:
- Core::IEditor *editor();
+ virtual Core::IEditor *editor() const;
friend class Editors;
virtual void waitForInitialized() {};