summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets/qwidgettextcontrol_p_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/widgets/qwidgettextcontrol_p_p.h')
-rw-r--r--src/widgets/widgets/qwidgettextcontrol_p_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/widgets/widgets/qwidgettextcontrol_p_p.h b/src/widgets/widgets/qwidgettextcontrol_p_p.h
index 16a3a153cc..e9b3589c5c 100644
--- a/src/widgets/widgets/qwidgettextcontrol_p_p.h
+++ b/src/widgets/widgets/qwidgettextcontrol_p_p.h
@@ -111,6 +111,7 @@ public:
void _q_emitCursorPosChanged(const QTextCursor &someCursor);
void _q_contentsChanged(int from, int charsRemoved, int charsAdded);
+ void setCursorVisible(bool visible);
void setBlinkingCursorEnabled(bool enable);
void updateCursorBlinking();
@@ -177,6 +178,7 @@ public:
QTextDocument *doc;
bool cursorOn;
bool blinkingEnabled;
+ bool cursorVisible;
QTextCursor cursor;
bool cursorIsFocusIndicator;
QTextCharFormat lastCharFormat;