diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-12-06 04:23:47 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2011-01-05 03:15:43 (GMT) |
commit | 3f80a24c5d375dd173d18c2a4227301f1afba2e3 (patch) | |
tree | 1d1a8ae2fb54082fa4e79a04263b44c6929d5f2a /src/declarative | |
parent | 086f33dd4c70be03adcbc1703997afa27add920b (diff) | |
download | Qt-3f80a24c5d375dd173d18c2a4227301f1afba2e3.zip Qt-3f80a24c5d375dd173d18c2a4227301f1afba2e3.tar.gz Qt-3f80a24c5d375dd173d18c2a4227301f1afba2e3.tar.bz2 |
Allow a revision to be associated with properties and methods.
Allows a revision to be associated with properties via:
Q_PROPERTY(int prop READ prop1 REVISION 1)
Allows a revision to be associated with methods via either:
public slots Q_REVISION(1):
void method1();
or:
public slots:
Q_REVISION void method1();
Private revision() methods are added to QMetaProperty and QMetaMethod
to access the revision info. This is private API for use by QML for
now.
Task-number: QTBUG-13451
Reviewed-by: Kent Hansen
Diffstat (limited to 'src/declarative')
0 files changed, 0 insertions, 0 deletions