summaryrefslogtreecommitdiff
path: root/src/plugins/texteditor/itextmark.h
diff options
context:
space:
mode:
authorhjk <qthjk@ovi.com>2012-10-09 22:32:44 +0200
committerhjk <qthjk@ovi.com>2012-10-11 17:41:21 +0200
commit381a60b7db2e31ad68e970b42065b7540d467d11 (patch)
treee60214a9be0acbe403e428f1045131233ee65dc3 /src/plugins/texteditor/itextmark.h
parent03ec0b179ceee7f2a60056411d6954e8d273ff20 (diff)
downloadqt-creator-381a60b7db2e31ad68e970b42065b7540d467d11.tar.gz
BaseTextEditor: make ITextMarks draggable
Change-Id: I36fd6d49ec99975d059f201aa23db11dd80e4ad6 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Diffstat (limited to 'src/plugins/texteditor/itextmark.h')
-rw-r--r--src/plugins/texteditor/itextmark.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/texteditor/itextmark.h b/src/plugins/texteditor/itextmark.h
index 0013c6f2ee..95dafedbba 100644
--- a/src/plugins/texteditor/itextmark.h
+++ b/src/plugins/texteditor/itextmark.h
@@ -76,6 +76,8 @@ public:
virtual void removedFromEditor();
virtual bool isClickable() const;
virtual void clicked();
+ virtual bool isDraggable() const;
+ virtual void dragToLine(int lineNumber);
void setIcon(const QIcon &icon);
// call this if the icon has changed.