diff options
Diffstat (limited to 'src/quickcontrolsimpl/qquickplaceholdertext_p.h')
-rw-r--r-- | src/quickcontrolsimpl/qquickplaceholdertext_p.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/quickcontrolsimpl/qquickplaceholdertext_p.h b/src/quickcontrolsimpl/qquickplaceholdertext_p.h index 81434cc65c..53bd01756c 100644 --- a/src/quickcontrolsimpl/qquickplaceholdertext_p.h +++ b/src/quickcontrolsimpl/qquickplaceholdertext_p.h @@ -20,7 +20,7 @@ QT_BEGIN_NAMESPACE -class Q_QUICKCONTROLS2IMPL_PRIVATE_EXPORT QQuickPlaceholderText : public QQuickText +class Q_QUICKCONTROLS2IMPL_EXPORT QQuickPlaceholderText : public QQuickText { Q_OBJECT QML_NAMED_ELEMENT(PlaceholderText) @@ -32,12 +32,12 @@ public: protected: void componentComplete() override; + QQuickItem *textControl() const; + private Q_SLOTS: void updateAlignment(); }; QT_END_NAMESPACE -QML_DECLARE_TYPE(QQuickPlaceholderText) - #endif // QQUICKPLACEHOLDERTEXT_P_H |