summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/qplaintextedit.h
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>2010-02-17 15:58:53 (GMT)
committerThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>2010-02-17 16:02:23 (GMT)
commit4dc56aa381d72335f8759da0bb8ca29897fce3a1 (patch)
treee45587f8ee3073f5bfd5345e229131cb7e662671 /src/gui/widgets/qplaintextedit.h
parent27f8dc149efa49bdea809df130b0c14d15359964 (diff)
downloadQt-4dc56aa381d72335f8759da0bb8ca29897fce3a1.zip
Qt-4dc56aa381d72335f8759da0bb8ca29897fce3a1.tar.gz
Qt-4dc56aa381d72335f8759da0bb8ca29897fce3a1.tar.bz2
Added QPlainTextEditor::anchorAt(const QPoint &pos)
The equivalent of QTextEdit::anchorAt. Done-with: mae
Diffstat (limited to 'src/gui/widgets/qplaintextedit.h')
-rw-r--r--src/gui/widgets/qplaintextedit.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/qplaintextedit.h b/src/gui/widgets/qplaintextedit.h
index 15cf0967..106ae6d 100644
--- a/src/gui/widgets/qplaintextedit.h
+++ b/src/gui/widgets/qplaintextedit.h
@@ -159,6 +159,8 @@ public:
QRect cursorRect(const QTextCursor &cursor) const;
QRect cursorRect() const;
+ QString anchorAt(const QPoint &pos) const;
+
bool overwriteMode() const;
void setOverwriteMode(bool overwrite);