! \internal */
| 733 | \internal |
| 734 | */ |
| 735 | void PluginSpecPrivate::readArgumentDescription(QXmlStreamReader &reader) |
| 736 | { |
| 737 | PluginArgumentDescription arg; |
| 738 | arg.name = reader.attributes().value(QLatin1String(ARGUMENT_NAME)).toString(); |
| 739 | if (arg.name.isEmpty()) { |
| 740 | reader.raiseError(msgAttributeMissing(ARGUMENT, ARGUMENT_NAME)); |
| 741 | return; |
| 742 | } |
| 743 | arg.parameter = reader.attributes().value(QLatin1String(ARGUMENT_PARAMETER)).toString(); |
| 744 | arg.description = reader.readElementText(); |
| 745 | if (reader.tokenType() != QXmlStreamReader::EndElement) |
| 746 | reader.raiseError(msgUnexpectedToken()); |
| 747 | argumentDescriptions.push_back(arg); |
| 748 | } |
| 749 | |
| 750 | bool PluginSpecPrivate::readBooleanValue(QXmlStreamReader &reader, const char *key) |
| 751 | { |
nothing calls this directly
no test coverage detected