aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates2/qquicktextfield_p_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/quicktemplates2/qquicktextfield_p_p.h')
-rw-r--r--src/quicktemplates2/qquicktextfield_p_p.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/quicktemplates2/qquicktextfield_p_p.h b/src/quicktemplates2/qquicktextfield_p_p.h
index 99e1c48c..fb973ad4 100644
--- a/src/quicktemplates2/qquicktextfield_p_p.h
+++ b/src/quicktemplates2/qquicktextfield_p_p.h
@@ -79,6 +79,8 @@ public:
void resolveFont();
void inheritFont(const QFont &f);
+ void updateHoverEnabled(bool h, bool e);
+
qreal getImplicitWidth() const override;
qreal getImplicitHeight() const override;
@@ -96,6 +98,7 @@ public:
void deleteDelegate(QObject *object);
bool hovered;
+ bool explicitHoverEnabled;
QFont font;
QQuickItem *background;
QString placeholder;