desktop/qt-mobility/QTMOBILITY-790_subdirs_for_serviceframework-b90cee3.patch

892 lines
26 KiB
Diff

commit b90cee3d3502c20f9dda5d90c305afd5a046552c
Author: Peter Yard <peter.yard@nokia.com>
Date: Mon May 16 16:45:20 2011 +1000
Docs: QTMOBILITY-790 subdirs for serviceframework and organizer.
---
src/serviceframework/ipc/qmetaobjectbuilder.cpp | 111 ++++++++++++++++++++++++
1 file changed, 111 insertions(+)
--- a/src/serviceframework/ipc/qmetaobjectbuilder.cpp
+++ b/src/serviceframework/ipc/qmetaobjectbuilder.cpp
@@ -277,6 +277,7 @@ public:
/*!
Constructs a new QMetaObjectBuilder.
+ \since 1.1
*/
QMetaObjectBuilder::QMetaObjectBuilder()
{
@@ -293,6 +294,7 @@ QMetaObjectBuilder::QMetaObjectBuilder()
should be added. The default is AllMembers.
\sa addMetaObject()
+ \since 1.1
*/
QMetaObjectBuilder::QMetaObjectBuilder
(const QMetaObject *prototype, QMetaObjectBuilder::AddMembers members)
@@ -303,6 +305,7 @@ QMetaObjectBuilder::QMetaObjectBuilder
/*!
Destroys this meta object builder.
+ \since 1.1
*/
QMetaObjectBuilder::~QMetaObjectBuilder()
{
@@ -314,6 +317,7 @@ QMetaObjectBuilder::~QMetaObjectBuilder(
meta object builder. The default value is an empty QByteArray.
\sa setClassName(), superClass()
+ \since 1.1
*/
QByteArray QMetaObjectBuilder::className() const
{
@@ -325,6 +329,7 @@ QByteArray QMetaObjectBuilder::className
meta object builder.
\sa className(), setSuperClass()
+ \since 1.1
*/
void QMetaObjectBuilder::setClassName(const QByteArray& name)
{
@@ -337,6 +342,7 @@ void QMetaObjectBuilder::setClassName(co
for QObject.
\sa setSuperClass(), className()
+ \since 1.1
*/
const QMetaObject *QMetaObjectBuilder::superClass() const
{
@@ -349,6 +355,7 @@ const QMetaObject *QMetaObjectBuilder::s
must not be null.
\sa superClass(), setClassName()
+ \since 1.1
*/
void QMetaObjectBuilder::setSuperClass(const QMetaObject *meta)
{
@@ -361,6 +368,7 @@ void QMetaObjectBuilder::setSuperClass(c
builder.
\sa setFlags()
+ \since 1.1
*/
QMetaObjectBuilder::MetaObjectFlags QMetaObjectBuilder::flags() const
{
@@ -372,6 +380,7 @@ QMetaObjectBuilder::MetaObjectFlags QMet
builder.
\sa flags()
+ \since 1.1
*/
void QMetaObjectBuilder::setFlags(MetaObjectFlags flags)
{
@@ -384,6 +393,7 @@ void QMetaObjectBuilder::setFlags(MetaOb
as well as normal member functions.
\sa addMethod(), method(), removeMethod(), indexOfMethod()
+ \since 1.1
*/
int QMetaObjectBuilder::methodCount() const
{
@@ -394,6 +404,7 @@ int QMetaObjectBuilder::methodCount() co
Returns the number of constructors in this class.
\sa addConstructor(), constructor(), removeConstructor(), indexOfConstructor()
+ \since 1.1
*/
int QMetaObjectBuilder::constructorCount() const
{
@@ -405,6 +416,7 @@ int QMetaObjectBuilder::constructorCount
of properties in the base class.
\sa addProperty(), property(), removeProperty(), indexOfProperty()
+ \since 1.1
*/
int QMetaObjectBuilder::propertyCount() const
{
@@ -417,6 +429,7 @@ int QMetaObjectBuilder::propertyCount()
\sa addEnumerator(), enumerator(), removeEnumerator()
\sa indexOfEnumerator()
+ \since 1.1
*/
int QMetaObjectBuilder::enumeratorCount() const
{
@@ -429,6 +442,7 @@ int QMetaObjectBuilder::enumeratorCount(
\sa addClassInfo(), classInfoName(), classInfoValue(), removeClassInfo()
\sa indexOfClassInfo()
+ \since 1.1
*/
int QMetaObjectBuilder::classInfoCount() const
{
@@ -445,6 +459,7 @@ int QMetaObjectBuilder::classInfoCount()
\sa addRelatedMetaObject(), relatedMetaObject()
\sa removeRelatedMetaObject()
+ \since 1.1
*/
int QMetaObjectBuilder::relatedMetaObjectCount() const
{
@@ -458,6 +473,7 @@ int QMetaObjectBuilder::relatedMetaObjec
added to the class.
\sa method(), methodCount(), removeMethod(), indexOfMethod()
+ \since 1.1
*/
QMetaMethodBuilder QMetaObjectBuilder::addMethod(const QByteArray& signature)
{
@@ -475,6 +491,7 @@ QMetaMethodBuilder QMetaObjectBuilder::a
the method has \c{void} as its return type.
\sa method(), methodCount(), removeMethod(), indexOfMethod()
+ \since 1.1
*/
QMetaMethodBuilder QMetaObjectBuilder::addMethod
(const QByteArray& signature, const QByteArray& returnType)
@@ -495,6 +512,7 @@ QMetaMethodBuilder QMetaObjectBuilder::a
signal, slot, or constructor and act accordingly.
\sa method(), methodCount(), removeMethod(), indexOfMethod()
+ \since 1.1
*/
QMetaMethodBuilder QMetaObjectBuilder::addMethod(const QMetaMethod& prototype)
{
@@ -522,6 +540,7 @@ QMetaMethodBuilder QMetaObjectBuilder::a
added to the class.
\sa addMethod(), addSignal(), indexOfSlot()
+ \since 1.1
*/
QMetaMethodBuilder QMetaObjectBuilder::addSlot(const QByteArray& signature)
{
@@ -537,6 +556,7 @@ QMetaMethodBuilder QMetaObjectBuilder::a
added to the class.
\sa addMethod(), addSlot(), indexOfSignal()
+ \since 1.1
*/
QMetaMethodBuilder QMetaObjectBuilder::addSignal(const QByteArray& signature)
{
@@ -554,6 +574,7 @@ QMetaMethodBuilder QMetaObjectBuilder::a
\sa constructor(), constructorCount(), removeConstructor()
\sa indexOfConstructor()
+ \since 1.1
*/
QMetaMethodBuilder QMetaObjectBuilder::addConstructor(const QByteArray& signature)
{
@@ -572,6 +593,7 @@ QMetaMethodBuilder QMetaObjectBuilder::a
\sa constructor(), constructorCount(), removeConstructor()
\sa indexOfConstructor()
+ \since 1.1
*/
QMetaMethodBuilder QMetaObjectBuilder::addConstructor(const QMetaMethod& prototype)
{
@@ -593,6 +615,7 @@ QMetaMethodBuilder QMetaObjectBuilder::a
be registered as the property's \e notify signal.
\sa property(), propertyCount(), removeProperty(), indexOfProperty()
+ \since 1.1
*/
QMetaPropertyBuilder QMetaObjectBuilder::addProperty
(const QByteArray& name, const QByteArray& type, int notifierId)
@@ -609,6 +632,7 @@ QMetaPropertyBuilder QMetaObjectBuilder:
attributes of the property.
\sa property(), propertyCount(), removeProperty(), indexOfProperty()
+ \since 1.1
*/
QMetaPropertyBuilder QMetaObjectBuilder::addProperty(const QMetaProperty& prototype)
{
@@ -642,6 +666,7 @@ QMetaPropertyBuilder QMetaObjectBuilder:
\sa enumerator(), enumeratorCount(), removeEnumerator(),
\sa indexOfEnumerator()
+ \since 1.1
*/
QMetaEnumBuilder QMetaObjectBuilder::addEnumerator(const QByteArray& name)
{
@@ -658,6 +683,7 @@ QMetaEnumBuilder QMetaObjectBuilder::add
\sa enumerator(), enumeratorCount(), removeEnumerator(),
\sa indexOfEnumerator()
+ \since 1.1
*/
QMetaEnumBuilder QMetaObjectBuilder::addEnumerator(const QMetaEnum& prototype)
{
@@ -675,6 +701,7 @@ QMetaEnumBuilder QMetaObjectBuilder::add
\sa classInfoCount(), classInfoName(), classInfoValue(), removeClassInfo()
\sa indexOfClassInfo()
+ \since 1.1
*/
int QMetaObjectBuilder::addClassInfo(const QByteArray& name, const QByteArray& value)
{
@@ -694,6 +721,7 @@ int QMetaObjectBuilder::addClassInfo(con
\sa relatedMetaObjectCount(), relatedMetaObject()
\sa removeRelatedMetaObject()
+ \since 1.1
*/
#ifdef Q_NO_DATA_RELOCATION
int QMetaObjectBuilder::addRelatedMetaObject(const QMetaObjectAccessor &meta)
@@ -713,6 +741,7 @@ int QMetaObjectBuilder::addRelatedMetaOb
The \a members parameter indicates which members of \a prototype
should be added. The default is AllMembers.
+ \since 1.1
*/
void QMetaObjectBuilder::addMetaObject
(const QMetaObject *prototype, QMetaObjectBuilder::AddMembers members)
@@ -809,6 +838,7 @@ void QMetaObjectBuilder::addMetaObject
Returns the method at \a index in this class.
\sa methodCount(), addMethod(), removeMethod(), indexOfMethod()
+ \since 1.1
*/
QMetaMethodBuilder QMetaObjectBuilder::method(int index) const
{
@@ -822,6 +852,7 @@ QMetaMethodBuilder QMetaObjectBuilder::m
Returns the constructor at \a index in this class.
\sa methodCount(), addMethod(), removeMethod(), indexOfConstructor()
+ \since 1.1
*/
QMetaMethodBuilder QMetaObjectBuilder::constructor(int index) const
{
@@ -835,6 +866,7 @@ QMetaMethodBuilder QMetaObjectBuilder::c
Returns the property at \a index in this class.
\sa methodCount(), addMethod(), removeMethod(), indexOfProperty()
+ \since 1.1
*/
QMetaPropertyBuilder QMetaObjectBuilder::property(int index) const
{
@@ -849,6 +881,7 @@ QMetaPropertyBuilder QMetaObjectBuilder:
\sa enumeratorCount(), addEnumerator(), removeEnumerator()
\sa indexOfEnumerator()
+ \since 1.1
*/
QMetaEnumBuilder QMetaObjectBuilder::enumerator(int index) const
{
@@ -867,6 +900,7 @@ QMetaEnumBuilder QMetaObjectBuilder::enu
\sa relatedMetaObjectCount(), addRelatedMetaObject()
\sa removeRelatedMetaObject()
+ \since 1.1
*/
const QMetaObject *QMetaObjectBuilder::relatedMetaObject(int index) const
{
@@ -886,6 +920,7 @@ const QMetaObject *QMetaObjectBuilder::r
\sa classInfoCount(), addClassInfo(), classInfoValue(), removeClassInfo()
\sa indexOfClassInfo()
+ \since 1.1
*/
QByteArray QMetaObjectBuilder::classInfoName(int index) const
{
@@ -901,6 +936,7 @@ QByteArray QMetaObjectBuilder::classInfo
\sa classInfoCount(), addClassInfo(), classInfoName(), removeClassInfo()
\sa indexOfClassInfo()
+ \since 1.1
*/
QByteArray QMetaObjectBuilder::classInfoValue(int index) const
{
@@ -917,6 +953,7 @@ QByteArray QMetaObjectBuilder::classInfo
notify signal will be removed from the property.
\sa methodCount(), addMethod(), method(), indexOfMethod()
+ \since 1.1
*/
void QMetaObjectBuilder::removeMethod(int index)
{
@@ -939,6 +976,7 @@ void QMetaObjectBuilder::removeMethod(in
\sa constructorCount(), addConstructor(), constructor()
\sa indexOfConstructor()
+ \since 1.1
*/
void QMetaObjectBuilder::removeConstructor(int index)
{
@@ -951,6 +989,7 @@ void QMetaObjectBuilder::removeConstruct
all following properties will be adjusted downwards by 1.
\sa propertyCount(), addProperty(), property(), indexOfProperty()
+ \since 1.1
*/
void QMetaObjectBuilder::removeProperty(int index)
{
@@ -964,6 +1003,7 @@ void QMetaObjectBuilder::removeProperty(
\sa enumertorCount(), addEnumerator(), enumerator()
\sa indexOfEnumerator()
+ \since 1.1
*/
void QMetaObjectBuilder::removeEnumerator(int index)
{
@@ -977,6 +1017,7 @@ void QMetaObjectBuilder::removeEnumerato
\sa classInfoCount(), addClassInfo(), classInfoName(), classInfoValue()
\sa indexOfClassInfo()
+ \since 1.1
*/
void QMetaObjectBuilder::removeClassInfo(int index)
{
@@ -997,6 +1038,7 @@ void QMetaObjectBuilder::removeClassInfo
\sa relatedMetaObjectCount(), addRelatedMetaObject()
\sa relatedMetaObject()
+ \since 1.1
*/
void QMetaObjectBuilder::removeRelatedMetaObject(int index)
{
@@ -1009,6 +1051,7 @@ void QMetaObjectBuilder::removeRelatedMe
otherwise returns -1. The \a signature will be normalized by this method.
\sa method(), methodCount(), addMethod(), removeMethod()
+ \since 1.1
*/
int QMetaObjectBuilder::indexOfMethod(const QByteArray& signature)
{
@@ -1025,6 +1068,7 @@ int QMetaObjectBuilder::indexOfMethod(co
otherwise returns -1. The \a signature will be normalized by this method.
\sa indexOfMethod(), indexOfSlot()
+ \since 1.1
*/
int QMetaObjectBuilder::indexOfSignal(const QByteArray& signature)
{
@@ -1042,6 +1086,7 @@ int QMetaObjectBuilder::indexOfSignal(co
otherwise returns -1. The \a signature will be normalized by this method.
\sa indexOfMethod(), indexOfSignal()
+ \since 1.1
*/
int QMetaObjectBuilder::indexOfSlot(const QByteArray& signature)
{
@@ -1059,6 +1104,7 @@ int QMetaObjectBuilder::indexOfSlot(cons
otherwise returns -1. The \a signature will be normalized by this method.
\sa constructor(), constructorCount(), addConstructor(), removeConstructor()
+ \since 1.1
*/
int QMetaObjectBuilder::indexOfConstructor(const QByteArray& signature)
{
@@ -1075,6 +1121,7 @@ int QMetaObjectBuilder::indexOfConstruct
otherwise returns -1.
\sa property(), propertyCount(), addProperty(), removeProperty()
+ \since 1.1
*/
int QMetaObjectBuilder::indexOfProperty(const QByteArray& name)
{
@@ -1090,6 +1137,7 @@ int QMetaObjectBuilder::indexOfProperty(
otherwise returns -1.
\sa enumertor(), enumeratorCount(), addEnumerator(), removeEnumerator()
+ \since 1.1
*/
int QMetaObjectBuilder::indexOfEnumerator(const QByteArray& name)
{
@@ -1106,6 +1154,7 @@ int QMetaObjectBuilder::indexOfEnumerato
\sa classInfoName(), classInfoValue(), classInfoCount(), addClassInfo()
\sa removeClassInfo()
+ \since 1.1
*/
int QMetaObjectBuilder::indexOfClassInfo(const QByteArray& name)
{
@@ -1448,6 +1497,7 @@ static int buildMetaObject(QMetaObjectBu
QMetaObjectBuilder. Any further modifications to the QMetaObjectBuilder
will not be reflected in previous meta objects returned by
this method.
+ \since 1.1
*/
QMetaObject *QMetaObjectBuilder::toMetaObject() const
{
@@ -1525,6 +1575,7 @@ void QMetaObjectBuilder::fromRelocatable
of this class. The default value is null.
\sa setStaticMetacallFunction()
+ \since 1.1
*/
QMetaObjectBuilder::StaticMetacallFunction QMetaObjectBuilder::staticMetacallFunction() const
{
@@ -1536,6 +1587,7 @@ QMetaObjectBuilder::StaticMetacallFuncti
of this class to \a value. The default value is null.
\sa staticMetacallFunction()
+ \since 1.1
*/
void QMetaObjectBuilder::setStaticMetacallFunction
(QMetaObjectBuilder::StaticMetacallFunction value)
@@ -1549,6 +1601,7 @@ void QMetaObjectBuilder::setStaticMetaca
Serializes the contents of the meta object builder onto \a stream.
\sa deserialize()
+ \since 1.1
*/
void QMetaObjectBuilder::serialize(QDataStream& stream) const
{
@@ -1659,6 +1712,7 @@ static const QMetaObject *resolveClassNa
input was exhausted before the full meta object was read.
\sa serialize()
+ \since 1.1
*/
void QMetaObjectBuilder::deserialize
(QDataStream& stream,
@@ -1826,6 +1880,7 @@ void QMetaObjectBuilder::deserialize
\class QMetaMethodBuilder
\internal
\brief The QMetaMethodBuilder class enables modifications to a method definition on a meta object builder.
+ \since 1.1
*/
QMetaMethodBuilderPrivate *QMetaMethodBuilder::d_func() const
@@ -1842,10 +1897,12 @@ QMetaMethodBuilderPrivate *QMetaMethodBu
/*!
\fn QMetaMethodBuilder::QMetaMethodBuilder()
\internal
+ \since 1.1
*/
/*!
Returns the index of this method within its QMetaObjectBuilder.
+ \since 1.1
*/
int QMetaMethodBuilder::index() const
{
@@ -1857,6 +1914,7 @@ int QMetaMethodBuilder::index() const
/*!
Returns the type of this method (signal, slot, method, or constructor).
+ \since 1.1
*/
QMetaMethod::MethodType QMetaMethodBuilder::methodType() const
{
@@ -1871,6 +1929,7 @@ QMetaMethod::MethodType QMetaMethodBuild
Returns the signature of this method.
\sa parameterNames(), returnType()
+ \since 1.1
*/
QByteArray QMetaMethodBuilder::signature() const
{
@@ -1886,6 +1945,7 @@ QByteArray QMetaMethodBuilder::signature
return type is \c{void}.
\sa setReturnType(), signature()
+ \since 1.1
*/
QByteArray QMetaMethodBuilder::returnType() const
{
@@ -1902,6 +1962,7 @@ QByteArray QMetaMethodBuilder::returnTyp
will be normalized before it is added to the method.
\sa returnType(), signature()
+ \since 1.1
*/
void QMetaMethodBuilder::setReturnType(const QByteArray& value)
{
@@ -1914,6 +1975,7 @@ void QMetaMethodBuilder::setReturnType(c
Returns the list of parameter names for this method.
\sa setParameterNames()
+ \since 1.1
*/
QList<QByteArray> QMetaMethodBuilder::parameterNames() const
{
@@ -1928,6 +1990,7 @@ QList<QByteArray> QMetaMethodBuilder::pa
Sets the list of parameter names for this method to \a value.
\sa parameterNames()
+ \since 1.1
*/
void QMetaMethodBuilder::setParameterNames(const QList<QByteArray>& value)
{
@@ -1940,6 +2003,7 @@ void QMetaMethodBuilder::setParameterNam
Returns the tag associated with this method.
\sa setTag()
+ \since 1.1
*/
QByteArray QMetaMethodBuilder::tag() const
{
@@ -1954,6 +2018,7 @@ QByteArray QMetaMethodBuilder::tag() con
Sets the tag associated with this method to \a value.
\sa setTag()
+ \since 1.1
*/
void QMetaMethodBuilder::setTag(const QByteArray& value)
{
@@ -1969,6 +2034,7 @@ void QMetaMethodBuilder::setTag(const QB
for signals.
\sa setAccess()
+ \since 1.1
*/
QMetaMethod::Access QMetaMethodBuilder::access() const
{
@@ -1985,6 +2051,7 @@ QMetaMethod::Access QMetaMethodBuilder::
will be ignored.
\sa access()
+ \since 1.1
*/
void QMetaMethodBuilder::setAccess(QMetaMethod::Access value)
{
@@ -1997,6 +2064,7 @@ void QMetaMethodBuilder::setAccess(QMeta
Returns the additional attributes for this method.
\sa setAttributes()
+ \since 1.1
*/
int QMetaMethodBuilder::attributes() const
{
@@ -2011,6 +2079,7 @@ int QMetaMethodBuilder::attributes() con
Sets the additional attributes for this method to \a value.
\sa attributes()
+ \since 1.1
*/
void QMetaMethodBuilder::setAttributes(int value)
{
@@ -2023,6 +2092,7 @@ void QMetaMethodBuilder::setAttributes(i
\class QMetaPropertyBuilder
\internal
\brief The QMetaPropertyBuilder class enables modifications to a property definition on a meta object builder.
+ \since 1.1
*/
QMetaPropertyBuilderPrivate *QMetaPropertyBuilder::d_func() const
@@ -2036,18 +2106,21 @@ QMetaPropertyBuilderPrivate *QMetaProper
/*!
\fn QMetaPropertyBuilder::QMetaPropertyBuilder()
\internal
+ \since 1.1
*/
/*!
\fn int QMetaPropertyBuilder::index() const
Returns the index of this property within its QMetaObjectBuilder.
+ \since 1.1
*/
/*!
Returns the name associated with this property.
\sa type()
+ \since 1.1
*/
QByteArray QMetaPropertyBuilder::name() const
{
@@ -2062,6 +2135,7 @@ QByteArray QMetaPropertyBuilder::name()
Returns the type associated with this property.
\sa name()
+ \since 1.1
*/
QByteArray QMetaPropertyBuilder::type() const
{
@@ -2076,6 +2150,7 @@ QByteArray QMetaPropertyBuilder::type()
Returns true if this property has a notify signal; false otherwise.
\sa notifySignal(), setNotifySignal(), removeNotifySignal()
+ \since 1.1
*/
bool QMetaPropertyBuilder::hasNotifySignal() const
{
@@ -2090,6 +2165,7 @@ bool QMetaPropertyBuilder::hasNotifySign
Returns the notify signal associated with this property.
\sa hasNotifySignal(), setNotifySignal(), removeNotifySignal()
+ \since 1.1
*/
QMetaMethodBuilder QMetaPropertyBuilder::notifySignal() const
{
@@ -2104,6 +2180,7 @@ QMetaMethodBuilder QMetaPropertyBuilder:
Sets the notify signal associated with this property to \a value.
\sa hasNotifySignal(), notifySignal(), removeNotifySignal()
+ \since 1.1
*/
void QMetaPropertyBuilder::setNotifySignal(const QMetaMethodBuilder& value)
{
@@ -2123,6 +2200,7 @@ void QMetaPropertyBuilder::setNotifySign
Removes the notify signal from this property.
\sa hasNotifySignal(), notifySignal(), setNotifySignal()
+ \since 1.1
*/
void QMetaPropertyBuilder::removeNotifySignal()
{
@@ -2138,6 +2216,7 @@ void QMetaPropertyBuilder::removeNotifyS
The default value is true.
\sa setReadable(), isWritable()
+ \since 1.1
*/
bool QMetaPropertyBuilder::isReadable() const
{
@@ -2153,6 +2232,7 @@ bool QMetaPropertyBuilder::isReadable()
The default value is true.
\sa setWritable(), isReadable()
+ \since 1.1
*/
bool QMetaPropertyBuilder::isWritable() const
{
@@ -2168,6 +2248,7 @@ bool QMetaPropertyBuilder::isWritable()
returns false. The default value is false.
\sa setResettable()
+ \since 1.1
*/
bool QMetaPropertyBuilder::isResettable() const
{
@@ -2183,6 +2264,7 @@ bool QMetaPropertyBuilder::isResettable(
This default value is false.
\sa setDesignable(), isScriptable(), isStored()
+ \since 1.1
*/
bool QMetaPropertyBuilder::isDesignable() const
{
@@ -2198,6 +2280,7 @@ bool QMetaPropertyBuilder::isDesignable(
This default value is true.
\sa setScriptable(), isDesignable(), isStored()
+ \since 1.1
*/
bool QMetaPropertyBuilder::isScriptable() const
{
@@ -2213,6 +2296,7 @@ bool QMetaPropertyBuilder::isScriptable(
This default value is false.
\sa setStored(), isDesignable(), isScriptable()
+ \since 1.1
*/
bool QMetaPropertyBuilder::isStored() const
{
@@ -2228,6 +2312,7 @@ bool QMetaPropertyBuilder::isStored() co
This default value is false.
\sa setEditable(), isDesignable(), isScriptable(), isStored()
+ \since 1.1
*/
bool QMetaPropertyBuilder::isEditable() const
{
@@ -2245,6 +2330,7 @@ bool QMetaPropertyBuilder::isEditable()
false. This default value is false.
\sa setUser(), isDesignable(), isScriptable()
+ \since 1.1
*/
bool QMetaPropertyBuilder::isUser() const
{
@@ -2263,6 +2349,7 @@ bool QMetaPropertyBuilder::isUser() cons
this pattern. The default value is false.
\sa setStdCppSet()
+ \since 1.1
*/
bool QMetaPropertyBuilder::hasStdCppSet() const
{
@@ -2278,6 +2365,7 @@ bool QMetaPropertyBuilder::hasStdCppSet(
otherwise returns false. This default value is false.
\sa setEnumOrFlag()
+ \since 1.1
*/
bool QMetaPropertyBuilder::isEnumOrFlag() const
{
@@ -2293,6 +2381,7 @@ bool QMetaPropertyBuilder::isEnumOrFlag(
otherwise returns false. The default value is false.
\sa setDynamic()
+ \since 1.1
*/
bool QMetaPropertyBuilder::isDynamic() const
{
@@ -2307,6 +2396,7 @@ bool QMetaPropertyBuilder::isDynamic() c
Sets this property to readable if \a value is true.
\sa isReadable(), setWritable()
+ \since 1.1
*/
void QMetaPropertyBuilder::setReadable(bool value)
{
@@ -2319,6 +2409,7 @@ void QMetaPropertyBuilder::setReadable(b
Sets this property to writable if \a value is true.
\sa isWritable(), setReadable()
+ \since 1.1
*/
void QMetaPropertyBuilder::setWritable(bool value)
{
@@ -2331,6 +2422,7 @@ void QMetaPropertyBuilder::setWritable(b
Sets this property to resettable if \a value is true.
\sa isResettable()
+ \since 1.1
*/
void QMetaPropertyBuilder::setResettable(bool value)
{
@@ -2343,6 +2435,7 @@ void QMetaPropertyBuilder::setResettable
Sets this property to designable if \a value is true.
\sa isDesignable(), setScriptable(), setStored()
+ \since 1.1
*/
void QMetaPropertyBuilder::setDesignable(bool value)
{
@@ -2355,6 +2448,7 @@ void QMetaPropertyBuilder::setDesignable
Sets this property to scriptable if \a value is true.
\sa isScriptable(), setDesignable(), setStored()
+ \since 1.1
*/
void QMetaPropertyBuilder::setScriptable(bool value)
{
@@ -2367,6 +2461,7 @@ void QMetaPropertyBuilder::setScriptable
Sets this property to storable if \a value is true.
\sa isStored(), setDesignable(), setScriptable()
+ \since 1.1
*/
void QMetaPropertyBuilder::setStored(bool value)
{
@@ -2379,6 +2474,7 @@ void QMetaPropertyBuilder::setStored(boo
Sets this property to editable if \a value is true.
\sa isEditable(), setDesignable(), setScriptable(), setStored()
+ \since 1.1
*/
void QMetaPropertyBuilder::setEditable(bool value)
{
@@ -2391,6 +2487,7 @@ void QMetaPropertyBuilder::setEditable(b
Sets the \c USER flag on this property to \a value.
\sa isUser(), setDesignable(), setScriptable()
+ \since 1.1
*/
void QMetaPropertyBuilder::setUser(bool value)
{
@@ -2405,6 +2502,7 @@ void QMetaPropertyBuilder::setUser(bool
standard "name" / "setName" pattern.
\sa hasStdCppSet()
+ \since 1.1
*/
void QMetaPropertyBuilder::setStdCppSet(bool value)
{
@@ -2418,6 +2516,7 @@ void QMetaPropertyBuilder::setStdCppSet(
\a value is true.
\sa isEnumOrFlag()
+ \since 1.1
*/
void QMetaPropertyBuilder::setEnumOrFlag(bool value)
{
@@ -2431,6 +2530,7 @@ void QMetaPropertyBuilder::setEnumOrFlag
true.
\sa isDynamic()
+ \since 1.1
*/
void QMetaPropertyBuilder::setDynamic(bool value)
{
@@ -2443,6 +2543,7 @@ void QMetaPropertyBuilder::setDynamic(bo
\class QMetaEnumBuilder
\internal
\brief The QMetaEnumBuilder class enables modifications to an enumerator definition on a meta object builder.
+ \since 1.1
*/
QMetaEnumBuilderPrivate *QMetaEnumBuilder::d_func() const
@@ -2456,16 +2557,19 @@ QMetaEnumBuilderPrivate *QMetaEnumBuilde
/*!
\fn QMetaEnumBuilder::QMetaEnumBuilder()
\internal
+ \since 1.1
*/
/*!
\fn int QMetaEnumBuilder::index() const
Returns the index of this enumerator within its QMetaObjectBuilder.
+ \since 1.1
*/
/*!
Returns the name of the enumerator (without the scope).
+ \since 1.1
*/
QByteArray QMetaEnumBuilder::name() const
{
@@ -2481,6 +2585,7 @@ QByteArray QMetaEnumBuilder::name() cons
false.
\sa setIsFlag()
+ \since 1.1
*/
bool QMetaEnumBuilder::isFlag() const
{
@@ -2495,6 +2600,7 @@ bool QMetaEnumBuilder::isFlag() const
Sets this enumerator to be used as a flag if \a value is true.
\sa isFlag()
+ \since 1.1
*/
void QMetaEnumBuilder::setIsFlag(bool value)
{
@@ -2507,6 +2613,7 @@ void QMetaEnumBuilder::setIsFlag(bool va
Returns the number of keys.
\sa key(), addKey()
+ \since 1.1
*/
int QMetaEnumBuilder::keyCount() const
{
@@ -2522,6 +2629,7 @@ int QMetaEnumBuilder::keyCount() const
if no such key exists.
\sa keyCount(), addKey(), value()
+ \since 1.1
*/
QByteArray QMetaEnumBuilder::key(int index) const
{
@@ -2537,6 +2645,7 @@ QByteArray QMetaEnumBuilder::key(int ind
is no such value.
\sa keyCount(), addKey(), key()
+ \since 1.1
*/
int QMetaEnumBuilder::value(int index) const
{
@@ -2552,6 +2661,7 @@ int QMetaEnumBuilder::value(int index) c
with \a value. Returns the index of the new key.
\sa keyCount(), key(), value(), removeKey()
+ \since 1.1
*/
int QMetaEnumBuilder::addKey(const QByteArray& name, int value)
{
@@ -2570,6 +2680,7 @@ int QMetaEnumBuilder::addKey(const QByte
Removes the key at \a index from this enumerator.
\sa addKey()
+ \since 1.1
*/
void QMetaEnumBuilder::removeKey(int index)
{