summaryrefslogtreecommitdiffstats
path: root/src/declarative/fx/qfxtextinput_p.h
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2009-09-10 00:59:22 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2009-09-10 00:59:22 (GMT)
commitc5369f7168a9e9309514aee9c39e9bfc6813694d (patch)
tree087ba765eef4db2654adae65aadff90ca6413aea /src/declarative/fx/qfxtextinput_p.h
parent7d2e43ec550cce29553cad3f82d309c6990b070a (diff)
downloadQt-c5369f7168a9e9309514aee9c39e9bfc6813694d.zip
Qt-c5369f7168a9e9309514aee9c39e9bfc6813694d.tar.gz
Qt-c5369f7168a9e9309514aee9c39e9bfc6813694d.tar.bz2
API Changes
Renaming stuff in TextEdit/Input
Diffstat (limited to 'src/declarative/fx/qfxtextinput_p.h')
-rw-r--r--src/declarative/fx/qfxtextinput_p.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/declarative/fx/qfxtextinput_p.h b/src/declarative/fx/qfxtextinput_p.h
index b533854..a2b45bb 100644
--- a/src/declarative/fx/qfxtextinput_p.h
+++ b/src/declarative/fx/qfxtextinput_p.h
@@ -66,7 +66,8 @@ public:
QFxTextInputPrivate() : control(new QLineControl(QString())),
color((QRgb)0), style(QFxText::Normal),
styleColor((QRgb)0), hAlign(QFxTextInput::AlignLeft),
- hscroll(0), oldScroll(0), focused(false), cursorVisible(false)
+ hscroll(0), oldScroll(0), focused(false), focusOnPress(true),
+ cursorVisible(false)
{
}
@@ -82,8 +83,8 @@ public:
QFont font;
QColor color;
- QColor highlightColor;
- QColor highlightedTextColor;
+ QColor selectionColor;
+ QColor selectedTextColor;
QFxText::TextStyle style;
QColor styleColor;
QFxTextInput::HAlignment hAlign;
@@ -98,6 +99,7 @@ public:
int hscroll;
int oldScroll;
bool focused;
+ bool focusOnPress;
bool cursorVisible;
};