diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2011-01-17 04:07:33 (GMT) |
---|---|---|
committer | Alan Alpert <alan.alpert@nokia.com> | 2011-01-17 04:07:33 (GMT) |
commit | 8b6674e55118896dfecbcdc1960418dc2064f632 (patch) | |
tree | 243889d8c43b7a0bd294866e904b079e0a0b90c0 /src/declarative/graphicsitems/qdeclarativetextinput_p_p.h | |
parent | 62087b2ec0afad240d61a61c7a2972d021e01695 (diff) | |
download | Qt-8b6674e55118896dfecbcdc1960418dc2064f632.zip Qt-8b6674e55118896dfecbcdc1960418dc2064f632.tar.gz Qt-8b6674e55118896dfecbcdc1960418dc2064f632.tar.bz2 |
Add canPaste property to TextInput and TextEdit
Task-number: QTBUG-16190
Reviewed-by: Martin Jones
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativetextinput_p_p.h')
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativetextinput_p_p.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativetextinput_p_p.h b/src/declarative/graphicsitems/qdeclarativetextinput_p_p.h index 5ad6a3b..a3853c3 100644 --- a/src/declarative/graphicsitems/qdeclarativetextinput_p_p.h +++ b/src/declarative/graphicsitems/qdeclarativetextinput_p_p.h @@ -75,7 +75,7 @@ public: styleColor((QRgb)0), hAlign(QDeclarativeTextInput::AlignLeft), hscroll(0), oldScroll(0), focused(false), focusOnPress(true), showInputPanelOnFocus(true), clickCausedFocus(false), cursorVisible(false), - autoScroll(true), selectByMouse(false) + autoScroll(true), selectByMouse(false), canPaste(false) { #ifdef Q_OS_SYMBIAN if (QSysInfo::symbianVersion() == QSysInfo::SV_SF_1 || QSysInfo::symbianVersion() == QSysInfo::SV_SF_3) { @@ -130,6 +130,7 @@ public: bool cursorVisible; bool autoScroll; bool selectByMouse; + bool canPaste; }; QT_END_NAMESPACE |