28 #include <html/html_imageimpl.h>
29 #include <html/html_miscimpl.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_ALT);
81 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_ALT, 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_NOHREF).isNull();
120 ((ElementImpl *)
impl)->setAttribute(ATTR_NOHREF, str);
127 return ((ElementImpl *)
impl)->getAttribute(ATTR_SHAPE);
132 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_SHAPE, value);
138 return ((ElementImpl *)
impl)->getAttribute(ATTR_TABINDEX).toInt();
144 DOMString value(QString::number(_tabIndex));
145 ((ElementImpl *)
impl)->setAttribute(ATTR_TABINDEX,value);
152 return ((ElementImpl *)
impl)->getAttribute(ATTR_TARGET);
157 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_TARGET, value);
193 return ((ElementImpl *)
impl)->getAttribute(ATTR_NAME);
198 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_NAME, value);
204 return ((ElementImpl *)
impl)->getAttribute(ATTR_ALIGN);
209 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_ALIGN, value);
215 return ((ElementImpl *)
impl)->getAttribute(ATTR_ALT);
220 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_ALT, value);
223 #ifndef KDE_NO_DEPRECATED
232 #ifndef KDE_NO_DEPRECATED
235 if (
impl)
static_cast<HTMLImageElementImpl*
>(
impl)->
setAttribute(ATTR_BORDER, QString::number(value));
254 return static_cast<HTMLImageElementImpl*
>(
impl)->
height();
259 if(
impl) ((HTMLImageElementImpl *)
impl)->setHeight(value);
266 return ((ElementImpl *)
impl)->getAttribute(ATTR_HSPACE).toInt();
271 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_HSPACE, QString::number(value));
277 return !((ElementImpl *)
impl)->getAttribute(ATTR_ISMAP).isNull();
287 ((ElementImpl *)
impl)->setAttribute(ATTR_ISMAP, str);
294 return ((ElementImpl *)
impl)->getAttribute(ATTR_LONGDESC);
299 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_LONGDESC, value);
311 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_SRC, value);
317 return ((ElementImpl *)
impl)->getAttribute(ATTR_USEMAP);
322 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_USEMAP, value);
329 return ((ElementImpl *)
impl)->getAttribute(ATTR_VSPACE).toInt();
340 return static_cast<HTMLImageElementImpl*
>(
impl)->
width();
345 if(
impl) ((HTMLImageElementImpl *)
impl)->setWidth(value);
350 if (
impl)
return static_cast<const HTMLImageElementImpl*
>(
impl)->
x();
356 if (
impl)
return static_cast<const HTMLImageElementImpl*
>(
impl)->
y();
399 return ((ElementImpl *)
impl)->getAttribute(ATTR_NAME);
404 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_NAME, value);