summaryrefslogtreecommitdiffstats
path: root/src/dbus/qdbusxmlparser.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2011-02-10 12:26:56 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2011-02-17 15:02:14 (GMT)
commitcc2db7a49c9208a00a913f7c4a410009814a5580 (patch)
tree9f469afbdfd100d304eb4b943c3df67e15822f08 /src/dbus/qdbusxmlparser.cpp
parent5b53b44a2be8478adeee4a9e4796345828ad0248 (diff)
downloadQt-cc2db7a49c9208a00a913f7c4a410009814a5580.zip
Qt-cc2db7a49c9208a00a913f7c4a410009814a5580.tar.gz
Qt-cc2db7a49c9208a00a913f7c4a410009814a5580.tar.bz2
QtDBus meta object: keep methods, signals and props with unknown types
Use VoidStar as the metatype, with an unknown type called "QDBusRawType". The actual D-Bus type is saved as an hex value as a template parameter. D-Bus type Qt type comment h QDBusRawType<0x68>* Unix file descriptors ~ QDBusRawType<0x7e>* invalid type ai QDBusRawType<0x6169>* array of int32 a{i(ssy)} QDBusRawType<0x617b6928737379297d>* Note that the number in the template doesn't have to be valid. The QDBusRawType class doesn't exist anyway. I thought of just leaving the raw D-Bus type there, but who knows what kind of things can appear there, like other '>' (which may cause problems for anything trying to parse the meta object later). Task-number: QTBUG-17476
Diffstat (limited to 'src/dbus/qdbusxmlparser.cpp')
-rw-r--r--src/dbus/qdbusxmlparser.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/dbus/qdbusxmlparser.cpp b/src/dbus/qdbusxmlparser.cpp
index 413ebbe..3feedde 100644
--- a/src/dbus/qdbusxmlparser.cpp
+++ b/src/dbus/qdbusxmlparser.cpp
@@ -240,7 +240,6 @@ QDBusXmlParser::interfaces() const
qDBusParserError("Invalid D-BUS type signature '%s' found in property '%s.%s' while parsing introspection",
qPrintable(propertyData.type), qPrintable(ifaceName),
qPrintable(propertyName));
- continue;
}
QString access = property.attribute(QLatin1String("access"));