\since uses the QML import, not the Qt version.
When adding a new property, it needs a REVISION argument and the type
needs to be registered again for the new version.
Change-Id: I2e636e9d26c8e989729eadad2ef73a836c35caa1
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
This method sets focus on the item and ensures that all ancestor
FocusScope objects in the object hierarchy are also given \l focus.
- \since 5.1
+ \since QtQuick 2.1
\sa activeFocus, Qt::FocusReason
*/
#endif
qmlRegisterType<QQuickGrid, 1>(uri, 2, 1, "Grid");
+ qmlRegisterType<QQuickTextEdit, 1>(uri, 2, 1, "TextEdit");
}
void QQuickItemsModule::defineModule()
By default this property is not set.
\sa columnSpacing
- \since QtQuick2.0
+ \since QtQuick 2.0
*/
void QQuickGrid::setRowSpacing(const qreal rowSpacing)
{
By default this property is not set.
\sa rowSpacing
- \since QtQuick2.0
+ \since QtQuick 2.0
*/
void QQuickGrid::setColumnSpacing(const qreal columnSpacing)
{
/*!
\qmlproperty TextDocument QtQuick2::TextEdit::textDocument
- \since 5.1
+ \since QtQuick 2.1
Returns the QQuickTextDocument of this TextEdit.
It can be used to implement syntax highlighting using
#endif
Q_PROPERTY(QUrl baseUrl READ baseUrl WRITE setBaseUrl RESET resetBaseUrl NOTIFY baseUrlChanged)
Q_PROPERTY(RenderType renderType READ renderType WRITE setRenderType NOTIFY renderTypeChanged)
- Q_PROPERTY(QQuickTextDocument *textDocument READ textDocument FINAL)
+ Q_PROPERTY(QQuickTextDocument *textDocument READ textDocument FINAL REVISION 1)
public:
QQuickTextEdit(QQuickItem *parent=0);