28 #include <html/html_inlineimpl.h> 29 #include <html/html_baseimpl.h> 30 #include <xml/dom_docimpl.h> 65 return ((ElementImpl *)
impl)->getAttribute(ATTR_ACCESSKEY);
70 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_ACCESSKEY, value);
76 return ((ElementImpl *)
impl)->getAttribute(ATTR_CHARSET);
81 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_CHARSET, value);
87 return ((ElementImpl *)
impl)->getAttribute(ATTR_COORDS);
92 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_COORDS, value);
104 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_HREF, value);
110 return ((ElementImpl *)
impl)->getAttribute(ATTR_HREFLANG);
115 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_HREFLANG, value);
121 return ((ElementImpl *)
impl)->getAttribute(ATTR_NAME);
126 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_NAME, value);
132 return ((ElementImpl *)
impl)->getAttribute(ATTR_REL);
137 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_REL, value);
143 return ((ElementImpl *)
impl)->getAttribute(ATTR_REV);
148 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_REV, value);
154 return ((ElementImpl *)
impl)->getAttribute(ATTR_SHAPE);
159 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_SHAPE, value);
165 return ((ElementImpl *)
impl)->getAttribute(ATTR_TABINDEX).toInt();
171 DOMString value(QString::number(_tabIndex));
172 ((ElementImpl *)
impl)->setAttribute(ATTR_TABINDEX,value);
179 return ((ElementImpl *)
impl)->getAttribute(ATTR_TARGET);
184 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_TARGET, value);
190 return ((ElementImpl *)
impl)->getAttribute(ATTR_TYPE);
195 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_TYPE, value);
200 if (
impl) ((HTMLAnchorElementImpl*)
impl)->blur();
205 if (
impl) ((HTMLAnchorElementImpl*)
impl)->focus();
241 return ((ElementImpl *)
impl)->getAttribute(ATTR_CLEAR);
246 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_CLEAR, value);
282 return ((ElementImpl *)
impl)->getAttribute(ATTR_COLOR);
287 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_COLOR, value);
293 return ((ElementImpl *)
impl)->getAttribute(ATTR_FACE);
298 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_FACE, value);
304 return ((ElementImpl *)
impl)->getAttribute(ATTR_SIZE);
309 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_SIZE, value);
326 if (_impl && (_impl->id() == ID_INS || _impl->id() == ID_DEL))
361 return ((ElementImpl *)
impl)->getAttribute(ATTR_CITE);
366 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_CITE, value);
372 return ((ElementImpl *)
impl)->getAttribute(ATTR_DATETIME);
377 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_DATETIME, value);
393 if (_impl && _impl->id() == ID_Q)
419 return ((ElementImpl *)
impl)->getAttribute(ATTR_CITE);
424 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_CITE, value);
DOMString dateTime() const
The date and time of the change.
Notice of modification to part of a document.
DOMString cite() const
A URI designating a document that designates a source document or message.
void setName(const DOMString &)
see name
The Node interface is the primary datatype for the entire Document Object Model.
HTMLFontElement & operator=(const HTMLFontElement &other)
DOMString hreflang() const
Language code of the linked resource.
void setRel(const DOMString &)
see rel
DOMString clear() const
Control flow of text around floats.
HTMLQuoteElement & operator=(const HTMLQuoteElement &other)
DOMString parsedUrl() const
Return a parsed url.
void setRev(const DOMString &)
see rev
HTMLBRElement & operator=(const HTMLBRElement &other)
void setType(const DOMString &)
see type
Node & operator=(const Node &other)
void setHref(const DOMString &)
see href
DOMString face() const
Font face identifier.
void setShape(const DOMString &)
see shape
long tabIndex() const
Index that represents the element's position in the tabbing order.
For the Q and BLOCKQUOTE elements.
DOMString color() const
Font color.
void setTarget(const DOMString &)
see target
DOMString cite() const
A URI designating a document that describes the reason for the change.
void blur()
Removes keyboard focus from this element.
HTMLAnchorElement & operator=(const HTMLAnchorElement &other)
DOMString shape() const
The shape of the active area.
DOMString accessKey() const
A single character access key to give access to the form control.
void setCite(const DOMString &)
see cite
DOMString charset() const
The character encoding of the linked resource.
DOMString href() const
The URI of the linked resource.
This class implements the basic string we use in the DOM.
void setColor(const DOMString &)
see color
DOMString coords() const
Comma-separated list of lengths, defining an active region geometry.
void setCite(const DOMString &)
see cite
void setCoords(const DOMString &)
see coords
DOMString rel() const
Forward link type.
DOMString target() const
Frame to render the resource in.
void setHreflang(const DOMString &)
see hreflang
void setSize(const DOMString &)
see size
DOMString name() const
Anchor name.
void setClear(const DOMString &)
see clear
void setFace(const DOMString &)
see face
This library provides a full-featured HTML parser and widget.
void setDateTime(const DOMString &)
see dateTime
HTMLElement & operator=(const HTMLElement &other)
DOMString rev() const
Reverse link type.
void setAccessKey(const DOMString &)
see accessKey
NodeImpl * handle() const
HTMLModElement & operator=(const HTMLModElement &other)
void focus()
Gives keyboard focus to this element.
void setTabIndex(long)
see tabIndex
void assignOther(const Node &other, int elementId)
void setCharset(const DOMString &)
see charset
DOMString type() const
Advisory content type.
All HTML element interfaces derive from this class.
quint32 elementId() const
DOMString size() const
Font size.