summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qdeclarativetextinput_p_p.h
diff options
context:
space:
mode:
authorJoona Petrell <joona.t.petrell@nokia.com>2010-05-26 02:42:36 (GMT)
committerJoona Petrell <joona.t.petrell@nokia.com>2010-05-26 02:46:28 (GMT)
commit4fe568ffb7a59909b0c72bed7da959fd36702f19 (patch)
tree077e668095160ad187fb202a7dfa57fe3b43d750 /src/declarative/graphicsitems/qdeclarativetextinput_p_p.h
parent5a6a5b1b83e2196b4cad11fbb0f175682b6f7e8e (diff)
downloadQt-4fe568ffb7a59909b0c72bed7da959fd36702f19.zip
Qt-4fe568ffb7a59909b0c72bed7da959fd36702f19.tar.gz
Qt-4fe568ffb7a59909b0c72bed7da959fd36702f19.tar.bz2
Add a way to control when software input panels are shown in TextInput and TextEdit elements
Task-number: QTBUG-10841 Reviewed-by: Warwick Allison
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativetextinput_p_p.h')
-rw-r--r--src/declarative/graphicsitems/qdeclarativetextinput_p_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativetextinput_p_p.h b/src/declarative/graphicsitems/qdeclarativetextinput_p_p.h
index 1d8e0f7..f44d014 100644
--- a/src/declarative/graphicsitems/qdeclarativetextinput_p_p.h
+++ b/src/declarative/graphicsitems/qdeclarativetextinput_p_p.h
@@ -72,7 +72,7 @@ public:
color((QRgb)0), style(QDeclarativeText::Normal),
styleColor((QRgb)0), hAlign(QDeclarativeTextInput::AlignLeft),
hscroll(0), oldScroll(0), focused(false), focusOnPress(true),
- cursorVisible(false), autoScroll(true), clickCausedFocus(false),
+ showInputPanelOnFocus(true), cursorVisible(false), autoScroll(true),
selectByMouse(false)
{
}
@@ -115,9 +115,9 @@ public:
int oldScroll;
bool focused;
bool focusOnPress;
+ bool showInputPanelOnFocus;
bool cursorVisible;
bool autoScroll;
- bool clickCausedFocus;
bool selectByMouse;
};