本文整理汇总了C++中QList::getUrl方法的典型用法代码示例。如果您正苦于以下问题:C++ QList::getUrl方法的具体用法?C++ QList::getUrl怎么用?C++ QList::getUrl使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类QList
的用法示例。
在下文中一共展示了QList::getUrl方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: serializeLabelType
void SkosSerializer::serializeLabelType(
const QList<SkosConceptScheme>::const_iterator &p_schemeIter,
const ELabelType &p_labelType,
const QUrl &p_labelTypeUrl)
{
QList<Soprano::Node> l_labels =
p_schemeIter->getLabelList(p_labelType);
for(QList<Soprano::Node>::const_iterator l_labelsIter =
l_labels.begin();
l_labelsIter != l_labels.end();
++l_labelsIter)
{
m_statements.append(Soprano::Statement(
Soprano::Node(p_schemeIter->getUrl()),
Soprano::Node(p_labelTypeUrl),
*l_labelsIter));
}
}
示例2: serializeConceptRelationsList
void SkosSerializer::serializeConceptRelationsList(
const QList<SkosConcept>::const_iterator &p_baseConceptIter,
const ERelationType &p_relationType,
const QUrl &p_relationUrl)
{
QList<QUrl> l_relatedConcepts =
p_baseConceptIter->getRelatedConceptsList(p_relationType);
for(QList<QUrl>::const_iterator l_relatedIter =
l_relatedConcepts.begin();
l_relatedIter != l_relatedConcepts.end();
++l_relatedIter)
{
m_statements.append(Soprano::Statement(
Soprano::Node(p_baseConceptIter->getUrl()),
Soprano::Node(p_relationUrl),
Soprano::Node(*l_relatedIter)));
}
}
示例3: serializeSchemesList
void SkosSerializer::serializeSchemesList(
const QList<SkosConcept>::const_iterator &p_baseConceptIter,
const ESchemeRelation &p_schemeRelation,
const QUrl &p_schemeRelationUrl)
{
QList<QUrl> l_schemes =
p_baseConceptIter->getConceptSchemesList(p_schemeRelation);
for(QList<QUrl>::const_iterator l_schemesIter =
l_schemes.begin();
l_schemesIter != l_schemes.end();
++l_schemesIter)
{
m_statements.append(Soprano::Statement(
Soprano::Node(p_baseConceptIter->getUrl()),
Soprano::Node(p_schemeRelationUrl),
Soprano::Node(*l_schemesIter)));
}
}