• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

kjsembed

dom.cpp File Reference

#include "dom.h"
#include <QtXml/QDomAttr>
#include <QtCore/QDebug>

Include dependency graph for dom.cpp:

Go to the source code of this file.


Namespaces

namespace  AttrElementNS
namespace  DomDocumentNS
namespace  DomDocumentTypeNS
namespace  DomElementNS
namespace  DomNodeNS
namespace  NamedNodeMapNS
namespace  NodeListNS

Functions

END_VALUE_METHOD value DomNodeNS::clear ()
return new KJSEmbed::DomDocumentBinding (exec, QDomDocument(name))
return new KJSEmbed::DomTextBinding (exec, QDomText())
 DomDocumentNS::if (!success)
END_VALUE_METHOD value DomNodeNS::normalize ()
value DomElementNS::removeAttribute (attr)
value DomElementNS::removeAttributeNS (ns, attr)
value DomElementNS::setAttribute (tag, newValue)
value DomElementNS::setAttributeNS (ns, attr, val)
value DomNodeNS::setNodeValue (arg0)
value DomNodeNS::setPrefix (arg0)
value DomElementNS::setTagName (tag)
value AttrElementNS::setValue (newValue)
 START_METHOD_LUT (DomNamedNodeMap)
 START_METHOD_LUT (DomDocumentType)
 START_METHOD_LUT (DomNodeList)
 START_METHOD_LUT (DomAttr)
 START_METHOD_LUT (DomElement)
 START_METHOD_LUT (DomDocument)
 START_METHOD_LUT (DomNode)

Variables

END_VALUE_METHOD QString DomNodeNS::arg0 = KJSEmbed::extractQString(exec, args, 0)
QString DomNodeNS::arg1 = KJSEmbed::extractQString(exec, args, 1)
END_VALUE_METHOD QString DomElementNS::attr = KJSEmbed::extractQString(exec, args, 0)
QDomAttr DomDocumentNS::attr = value.createAttribute( name )
END_VALUE_METHOD QDomAttr DomNodeNS::attr = value.toAttr( )
QDomCDATASection DomDocumentNS::cdata = value.createCDATASection( cdatatxt )
END_VALUE_METHOD QString DomDocumentNS::cdatatxt = KJSEmbed::extractQString( exec, args, 0)
int DomDocumentNS::col = 0
QDomComment DomDocumentNS::comment = value.createComment( commenttxt )
END_VALUE_METHOD QString DomDocumentNS::commenttxt = KJSEmbed::extractQString( exec, args, 0)
QString DomDocumentNS::data = KJSEmbed::extractQString( exec, args, 1)
bool DomDocumentNS::deep = KJSEmbed::extractBool( exec, args, 1)
END_VALUE_METHOD bool DomNodeNS::deep = KJSEmbed::extractBool( exec, args, 0, true)
QString DomElementNS::defaultValue = KJSEmbed::extractQString(exec, args, 1, QString())
QString DomElementNS::defValue = KJSEmbed::extractQString( exec, args, 1, QString() )
END_VALUE_METHOD QDomDocument DomNodeNS::doc = value.ownerDocument()
END_VALUE_METHOD QDomElement DomDocumentNS::elem = value.documentElement()
END_VALUE_METHOD QDomElement DomNodeNS::elem = value.toElement( )
END_VALUE_METHOD QDomNode DomNodeNS::first = KJSEmbed::extractValue<QDomNode>(exec, args, 0)
END_VALUE_METHOD
QDomDocumentFragment 
DomDocumentNS::fragment = value.createDocumentFragment()
END_VALUE_METHOD QString DomDocumentNS::id = KJSEmbed::extractQString(exec, args, 0)
END_VALUE_METHOD int NamedNodeMapNS::idx = KJSEmbed::extractInt( exec, args, 0)
END_VALUE_METHOD int NodeListNS::idx = KJSEmbed::extractInt( exec, args, 0)
END_VALUE_METHOD QDomNode DomDocumentNS::import = KJSEmbed::extractValue<QDomNode>(exec, args, 0)
END_VALUE_METHOD int DomDocumentNS::indent = KJSEmbed::extractInt( exec, args, 0, 1)
QDomProcessingInstruction DomDocumentNS::inst = value.createProcessingInstruction(target, data )
QString NamedNodeMapNS::localName = KJSEmbed::extractQString( exec, args, 1)
QString DomElementNS::localName = KJSEmbed::extractQString(exec, args, 1)
END_VALUE_METHOD QDomNamedNodeMap DomNodeNS::map = value.attributes()
QString DomDocumentNS::message
QString NamedNodeMapNS::name = KJSEmbed::extractQString( exec, args, 0)
END_VALUE_METHOD QString DomElementNS::name = KJSEmbed::extractQString(exec, args, 0)
END_VALUE_METHOD QString DomDocumentNS::name = KJSEmbed::extractQString( exec, args, 0)
END_VALUE_METHOD QString DomNodeNS::name = KJSEmbed::extractQString(exec, args, 0)
QDomAttr DomElementNS::newAttr = value.removeAttributeNode( attr )
END_VALUE_METHOD QDomNode NamedNodeMapNS::newNode = KJSEmbed::extractValue<QDomNode>(exec,args,0)
END_VALUE_METHOD QDomNode DomNodeNS::newNode = KJSEmbed::extractValue<QDomNode>( exec, args, 0)
END_VALUE_METHOD QString AttrElementNS::newValue = KJSEmbed::extractQString(exec, args, 0)
QString DomElementNS::newValue = KJSEmbed::extractQString(exec, args, 1)
QDomNode NamedNodeMapNS::node = value.item(idx)
QDomNode NodeListNS::node = value.item(idx)
QDomNode DomDocumentNS::node = value.importNode( import, deep )
QDomNode DomNodeNS::node = value.appendChild(newNode)
QDomNodeList DomElementNS::nodes = value.elementsByTagName(name)
END_VALUE_METHOD QDomNodeList DomNodeNS::nodes = value.childNodes()
END_VALUE_METHOD QString DomElementNS::ns = KJSEmbed::extractQString(exec, args, 0)
END_VALUE_METHOD QString NamedNodeMapNS::nsuri = KJSEmbed::extractQString( exec, args, 0)
END_VALUE_METHOD QString DomElementNS::nsURI = KJSEmbed::extractQString(exec, args, 0)
END_VALUE_METHOD QString DomDocumentNS::nsURI = KJSEmbed::extractQString( exec, args, 0)
END_VALUE_METHOD QDomElement AttrElementNS::owner = value.ownerElement()
END_VALUE_METHOD QDomNode DomNodeNS::parent = value.parentNode()
QString DomDocumentNS::parserErrorTemplate = "XML Parse error '%1' at %2,%3"
QString DomDocumentNS::qName = KJSEmbed::extractQString( exec, args, 1)
QDomEntityReference DomDocumentNS::ref = value.createEntityReference( name )
 NamedNodeMapNS::result = KJS::jsBoolean( value.contains(name) )
 DomDocumentTypeNS::result = KJS::jsString( value.internalSubset( ) )
 NodeListNS::result = KJS::jsNumber( value.count( ) )
 AttrElementNS::result = KJS::jsString( value.value( ) )
 DomElementNS::result = KJS::jsString( value.text( ) )
 DomDocumentNS::result = KJS::jsBoolean( success )
 DomNodeNS::result = KJS::jsNumber((int)value.nodeType())
int DomDocumentNS::row = 0
QDomNode DomNodeNS::second = KJSEmbed::extractValue<QDomNode>(exec, args, 1)
bool DomDocumentNS::success = value.setContent(xml, &message, &row, &col )
END_VALUE_METHOD QString DomElementNS::tag = KJSEmbed::extractQString(exec, args, 0)
END_VALUE_METHOD QString DomDocumentNS::tagName = KJSEmbed::extractQString( exec, args, 0)
END_VALUE_METHOD QString DomDocumentNS::target = KJSEmbed::extractQString( exec, args, 0)
QDomText DomDocumentNS::text = value.createTextNode( texttext )
END_VALUE_METHOD QString DomDocumentNS::texttext = KJSEmbed::extractQString( exec, args, 0)
QString DomElementNS::val = KJSEmbed::extractQString(exec, args, 3)
QString DomDocumentNS::xml = KJSEmbed::extractQString( exec, args, 0)

Function Documentation

START_METHOD_LUT ( DomNamedNodeMap   ) 

Definition at line 831 of file dom.cpp.

START_METHOD_LUT ( DomDocumentType   ) 

Definition at line 748 of file dom.cpp.

START_METHOD_LUT ( DomNodeList   ) 

Definition at line 701 of file dom.cpp.

START_METHOD_LUT ( DomAttr   ) 

Definition at line 662 of file dom.cpp.

START_METHOD_LUT ( DomElement   ) 

Definition at line 600 of file dom.cpp.

START_METHOD_LUT ( DomDocument   ) 

Definition at line 456 of file dom.cpp.

START_METHOD_LUT ( DomNode   ) 

Definition at line 270 of file dom.cpp.

kjsembed

Skip menu "kjsembed"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • KIO
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal