Home
last modified time | relevance | path

Searched refs:xmlelem (Results 1 – 12 of 12) sorted by relevance

/dports/audio/amarok/amarok-3e11ccdd1417e70486eaaa84d8475182eec44c20/src/playlistgenerator/
H A DPreset.cpp40 APG::Preset::createFromXml( QDomElement& xmlelem ) in createFromXml() argument
44 if ( xmlelem.isNull() ) { in createFromXml()
48 PresetPtr t( new Preset( i18n("Unnamed playlist preset"), xmlelem ) ); in createFromXml()
62 APG::Preset::Preset( const QString& title, QDomElement& xmlelem ) in Preset() argument
67 if ( xmlelem.hasAttribute( QStringLiteral("title") ) ) { in Preset()
68 m_title = xmlelem.attribute( QStringLiteral("title") ); in Preset()
72 for ( int i = 0; i < xmlelem.childNodes().count(); i++ ) { in Preset()
73 QDomElement childXmlElem = xmlelem.childNodes().item( i ).toElement(); in Preset()
H A DConstraintGroup.cpp31 ConstraintGroup::ConstraintGroup( QDomElement& xmlelem, ConstraintNode* p ) : ConstraintNode( p ) in ConstraintGroup() argument
34 if ( xmlelem.tagName() == QLatin1String("group") ) { in ConstraintGroup()
35 if ( xmlelem.attribute( QStringLiteral("matchtype") ) == QLatin1String("any") ) { in ConstraintGroup()
40 } else if ( xmlelem.tagName() == QLatin1String("constrainttree") ) { in ConstraintGroup()
56 ConstraintGroup::createFromXml( QDomElement& xmlelem, ConstraintNode* p ) in createFromXml() argument
58 ConstraintGroup* cg = new ConstraintGroup( xmlelem, p ); in createFromXml()
62 for ( int i = 0; i < xmlelem.childNodes().count(); i++ ) { in createFromXml()
63 QDomElement childXmlElem = xmlelem.childNodes().item( i ).toElement(); in createFromXml()
H A DConstraintFactory.cpp118 ConstraintNode* ConstraintFactory::createConstraint( QDomElement& xmlelem, ConstraintNode* parent, … in createConstraint() argument
120 QString t = xmlelem.attributeNode( QStringLiteral("type") ).value(); in createConstraint()
124 ConstraintNode* n = ( *( m_registryNames[t]->m_createFromXmlFunc ) )( xmlelem, parent ); in createConstraint()
149 ConstraintNode* ConstraintFactory::createGroup( QDomElement& xmlelem, ConstraintNode* parent, int r… in createGroup() argument
151 ConstraintNode* n = ConstraintGroup::createFromXml( xmlelem, parent ); in createGroup()
/dports/audio/amarok/amarok-3e11ccdd1417e70486eaaa84d8475182eec44c20/src/playlistgenerator/constraints/
H A DPlaylistDuration.cpp29 ConstraintTypes::PlaylistDuration::createFromXml( QDomElement& xmlelem, ConstraintNode* p ) in createFromXml() argument
32 return new PlaylistDuration( xmlelem, p ); in createFromXml()
57 ConstraintTypes::PlaylistDuration::PlaylistDuration( QDomElement& xmlelem, ConstraintNode* p ) in PlaylistDuration() argument
65 a = xmlelem.attributeNode( QStringLiteral("duration") ); in PlaylistDuration()
70 a = xmlelem.attributeNode( QStringLiteral("length") ); in PlaylistDuration()
76 a = xmlelem.attributeNode( QStringLiteral("comparison") ); in PlaylistDuration()
80 a = xmlelem.attributeNode( QStringLiteral("strictness") ); in PlaylistDuration()
H A DPlaylistLength.cpp28 ConstraintTypes::PlaylistLength::createFromXml( QDomElement& xmlelem, ConstraintNode* p ) in createFromXml() argument
31 return new PlaylistLength( xmlelem, p ); in createFromXml()
56 ConstraintTypes::PlaylistLength::PlaylistLength( QDomElement& xmlelem, ConstraintNode* p ) in PlaylistLength() argument
64 a = xmlelem.attributeNode( QStringLiteral("length") ); in PlaylistLength()
74 a = xmlelem.attributeNode( QStringLiteral("comparison") ); in PlaylistLength()
78 a = xmlelem.attributeNode( QStringLiteral("strictness") ); in PlaylistLength()
H A DPlaylistFileSize.cpp32 ConstraintTypes::PlaylistFileSize::createFromXml( QDomElement& xmlelem, ConstraintNode* p ) in createFromXml() argument
35 return new PlaylistFileSize( xmlelem, p ); in createFromXml()
60 ConstraintTypes::PlaylistFileSize::PlaylistFileSize( QDomElement& xmlelem, ConstraintNode* p ) in PlaylistFileSize() argument
69 a = xmlelem.attributeNode( QStringLiteral("size") ); in PlaylistFileSize()
73 a = xmlelem.attributeNode( QStringLiteral("unit") ); in PlaylistFileSize()
77 a = xmlelem.attributeNode( QStringLiteral("comparison") ); in PlaylistFileSize()
81 a = xmlelem.attributeNode( QStringLiteral("strictness") ); in PlaylistFileSize()
H A DPreventDuplicates.cpp30 ConstraintTypes::PreventDuplicates::createFromXml( QDomElement& xmlelem, ConstraintNode* p ) in createFromXml() argument
33 return new PreventDuplicates( xmlelem, p ); in createFromXml()
56 ConstraintTypes::PreventDuplicates::PreventDuplicates( QDomElement& xmlelem, ConstraintNode* p ) in PreventDuplicates() argument
61 a = xmlelem.attributeNode( QStringLiteral("field") ); in PreventDuplicates()
H A DCheckpoint.cpp35 ConstraintTypes::Checkpoint::createFromXml( QDomElement& xmlelem, ConstraintNode* p ) in createFromXml() argument
38 return new Checkpoint( xmlelem, p ); in createFromXml()
63 ConstraintTypes::Checkpoint::Checkpoint( QDomElement& xmlelem, ConstraintNode* p ) in Checkpoint() argument
72 a = xmlelem.attributeNode( QStringLiteral("position") ); in Checkpoint()
77 a = xmlelem.attributeNode( QStringLiteral("checkpointtype") ); in Checkpoint()
81 a = xmlelem.attributeNode( QStringLiteral("trackurl") ); in Checkpoint()
97 a = xmlelem.attributeNode( QStringLiteral("strictness") ); in Checkpoint()
H A DTagMatch.cpp33 ConstraintTypes::TagMatch::createFromXml( QDomElement& xmlelem, ConstraintNode* p ) in createFromXml() argument
36 return new TagMatch( xmlelem, p ); in createFromXml()
59 ConstraintTypes::TagMatch::TagMatch( QDomElement& xmlelem, ConstraintNode* p ) in TagMatch() argument
66 a = xmlelem.attributeNode( QStringLiteral("field") ); in TagMatch()
72 a = xmlelem.attributeNode( QStringLiteral("comparison") ); in TagMatch()
77 a = xmlelem.attributeNode( QStringLiteral("value") ); in TagMatch()
101 a = xmlelem.attributeNode( QStringLiteral("invert") ); in TagMatch()
107 a = xmlelem.attributeNode( QStringLiteral("strictness") ); in TagMatch()
/dports/textproc/p5-XML-RSS-SimpleGen/XML-RSS-SimpleGen-11.11/lib/XML/RSS/
H A DSimpleGen.pm803 $self->xmlelem( 'title' => $self->image_title || $self->html2text($self->title)),
804 $self->xmlelem( 'url' => $self->image_url), # url of the image
805 $self->xmlelem( 'link' => $self->image_link || $self->html2text($self->url )),
806 $self->xmlelem( 'width' => $self->image_width),
807 $self->xmlelem( 'height' => $self->image_height),
808 $self->xmlelem( 'description'
1888 sub xmlelem { subroutine
/dports/net/libyang/libyang-1.0.240/src/
H A Dparser_xml.c575 struct lyxml_elem *xmlstart, *xmlelem, *xmlaux, *xmlfree = NULL; in lyd_parse_xml() local
688 LY_TREE_FOR_SAFE(xmlstart, xmlaux, xmlelem) { in lyd_parse_xml()
689 …r = xml_parse_data(ctx, xmlelem, reply_parent, result, last, options, unres, &iter, &act_notif, ya… in lyd_parse_xml()
696 lyxml_free(ctx, xmlelem); in lyd_parse_xml()
/dports/textproc/elixir-sweet_xml/sweet_xml-0.3.0/lib/
H A Dsweet_xml.ex195 will be `{:tagname, xmlelem}`. e.g. :li, :header