| 799 | } |
| 800 | |
| 801 | QStringList QualifiedIdentifier::toStringList(IdentifierStringFormattingOptions options) const |
| 802 | { |
| 803 | QStringList ret; |
| 804 | ret.reserve(explicitlyGlobal() + count()); |
| 805 | if (explicitlyGlobal()) |
| 806 | ret.append(QString()); |
| 807 | |
| 808 | if (m_index) { |
| 809 | ret.reserve(ret.size() + cd->identifiersSize()); |
| 810 | FOREACH_FUNCTION_STATIC(const IndexedIdentifier &index, cd->identifiers) |
| 811 | ret << index.identifier().toString(options); |
| 812 | } else { |
| 813 | ret.reserve(ret.size() + dd->identifiersSize()); |
| 814 | FOREACH_FUNCTION_STATIC(const IndexedIdentifier &index, dd->identifiers) |
| 815 | ret << index.identifier().toString(options); |
| 816 | } |
| 817 | |
| 818 | return ret; |
| 819 | } |
| 820 | |
| 821 | QString QualifiedIdentifier::toString(IdentifierStringFormattingOptions options) const |
| 822 | { |