QT_BEGIN_NAMESPACE
// must be kept in sync with the moc
-static int qmetaobjectrevision = 6;
+static const int qmetaobjectrevision = 6;
class QDBusMetaObjectGenerator
{
*/
// copied from moc's generator.cpp
-uint qvariant_nameToType(const char* name)
+static uint qvariant_nameToType(const char* name)
{
if (!name)
return 0;
/*
Returns true if the type is a QVariant types.
*/
-bool isVariantType(const char* type)
+static bool isVariantType(const char* type)
{
return qvariant_nameToType(type) != 0;
}
// must be kept in sync with the moc
// Number of fields in the QMetaObjectPrivate.
-const static int qmetaobjectindex = 14;
-const static int qmetaobjectrevision = 6;
+static const int qmetaobjectindex = 14;
+static const int qmetaobjectrevision = 6;
class QMetaMethodBuilderPrivate
{
QT_BEGIN_NAMESPACE
-uint qvariant_nameToType(const char* name)
+static uint qvariant_nameToType(const char* name)
{
if (!name)
return 0;
/*
Returns true if the type is a QVariant types.
*/
-bool isVariantType(const char* type)
+static bool isVariantType(const char* type)
{
return qvariant_nameToType(type) != 0;
}