summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qmetaobject.h
diff options
context:
space:
mode:
authorSergio Ahumada <sergio.ahumada@nokia.com>2011-02-08 09:27:33 (GMT)
committerSergio Ahumada <sergio.ahumada@nokia.com>2011-02-08 09:27:33 (GMT)
commit4e5c366afd6d6f8ccb3fc44cd2f6c522a3192b2d (patch)
treeae92b9ecf30e6c663e5868d97e44cae4bf712031 /src/corelib/kernel/qmetaobject.h
parentf34259ed82da481f009830839ad4d421d9b80780 (diff)
parent74baf1887d6b0965e140ae4e22799c983309eea5 (diff)
downloadQt-4e5c366afd6d6f8ccb3fc44cd2f6c522a3192b2d.zip
Qt-4e5c366afd6d6f8ccb3fc44cd2f6c522a3192b2d.tar.gz
Qt-4e5c366afd6d6f8ccb3fc44cd2f6c522a3192b2d.tar.bz2
Merge branch '4.7-review' into 4.7
Diffstat (limited to 'src/corelib/kernel/qmetaobject.h')
-rw-r--r--src/corelib/kernel/qmetaobject.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/corelib/kernel/qmetaobject.h b/src/corelib/kernel/qmetaobject.h
index 382dae8..7b2e938 100644
--- a/src/corelib/kernel/qmetaobject.h
+++ b/src/corelib/kernel/qmetaobject.h
@@ -70,6 +70,7 @@ public:
enum Attributes { Compatibility = 0x1, Cloned = 0x2, Scriptable = 0x4 };
int attributes() const;
int methodIndex() const;
+ int revision() const;
inline const QMetaObject *enclosingMetaObject() const { return mobj; }
@@ -200,6 +201,8 @@ public:
QMetaMethod notifySignal() const;
int notifySignalIndex() const;
+ int revision() const;
+
QVariant read(const QObject *obj) const;
bool write(QObject *obj, const QVariant &value) const;
bool reset(QObject *obj) const;