\section{DOM::HTMLImage\-Element Class Reference}
\label{classDOM_1_1HTMLImageElement}\index{DOM::HTMLImageElement@{DOM::HTMLImageElement}}
Embedded image.  


{\tt \#include $<$html\_\-image.h$>$}

Inheritance diagram for DOM::HTMLImage\-Element:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=92pt]{classDOM_1_1HTMLImageElement__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for DOM::HTMLImage\-Element:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=92pt]{classDOM_1_1HTMLImageElement__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf HTMLImage\-Element} (const  {\bf HTMLImage\-Element} \&other)\label{classDOM_1_1HTMLImageElement_a1}

\item 
{\bf HTMLImage\-Element} (const  {\bf Node} \&other)\label{classDOM_1_1HTMLImageElement_a2}

\item 
{\bf HTMLImage\-Element} \& {\bf operator=} (const  {\bf HTMLImage\-Element} \&other)\label{classDOM_1_1HTMLImageElement_a3}

\item 
{\bf HTMLImage\-Element} \& {\bf operator=} (const  {\bf Node} \&other)\label{classDOM_1_1HTMLImageElement_a4}

\item 
{\bf DOMString} {\bf name} () const 
\begin{CompactList}\small\item\em The name of the element (for backwards compatibility). \item\end{CompactList}\item 
void {\bf set\-Name} (const  {\bf DOMString} \&)
\begin{CompactList}\small\item\em see {\bf name}{\rm (p.\,\pageref{classDOM_1_1HTMLImageElement_a6})} \item\end{CompactList}\item 
{\bf DOMString} {\bf align} () const 
\begin{CompactList}\small\item\em Aligns this object (vertically or horizontally) with respect to its surrounding text. \item\end{CompactList}\item 
void {\bf set\-Align} (const  {\bf DOMString} \&)
\begin{CompactList}\small\item\em see {\bf align}{\rm (p.\,\pageref{classDOM_1_1HTMLImageElement_a8})} \item\end{CompactList}\item 
{\bf DOMString} {\bf alt} () const 
\begin{CompactList}\small\item\em Alternate text for user agents not rendering the normal content of this element. \item\end{CompactList}\item 
void {\bf set\-Alt} (const  {\bf DOMString} \&)
\begin{CompactList}\small\item\em see {\bf alt}{\rm (p.\,\pageref{classDOM_1_1HTMLImageElement_a10})} \item\end{CompactList}\item 
{\bf DOMString} {\bf get\-Border} () const 
\begin{CompactList}\small\item\em Width of border around image. \item\end{CompactList}\item 
void {\bf set\-Border} (const  {\bf DOMString} \&)
\begin{CompactList}\small\item\em see {\bf border}{\rm (p.\,\pageref{classDOM_1_1HTMLImageElement_a14})} \item\end{CompactList}\item 
long {\bf border} () const 
\begin{CompactList}\small\item\em {\bf This class or method is obsolete, it is provided for compatibility only.} \item\end{CompactList}\item 
void {\bf set\-Border} (long)
\begin{CompactList}\small\item\em {\bf This class or method is obsolete, it is provided for compatibility only.} \item\end{CompactList}\item 
long {\bf height} () const 
\begin{CompactList}\small\item\em Override height. \item\end{CompactList}\item 
void {\bf set\-Height} (long)
\begin{CompactList}\small\item\em see {\bf height}{\rm (p.\,\pageref{classDOM_1_1HTMLImageElement_a16})} \item\end{CompactList}\item 
long {\bf hspace} () const 
\begin{CompactList}\small\item\em Horizontal space to the left and right of this image. \item\end{CompactList}\item 
void {\bf set\-Hspace} (long)
\begin{CompactList}\small\item\em see {\bf hspace}{\rm (p.\,\pageref{classDOM_1_1HTMLImageElement_a18})} \item\end{CompactList}\item 
bool {\bf is\-Map} () const 
\begin{CompactList}\small\item\em Use server-side image map. \item\end{CompactList}\item 
void {\bf set\-Is\-Map} (bool)
\begin{CompactList}\small\item\em see {\bf is\-Map}{\rm (p.\,\pageref{classDOM_1_1HTMLImageElement_a20})} \item\end{CompactList}\item 
{\bf DOMString} {\bf long\-Desc} () const 
\begin{CompactList}\small\item\em URI designating a long description of this image or frame. \item\end{CompactList}\item 
void {\bf set\-Long\-Desc} (const  {\bf DOMString} \&)
\begin{CompactList}\small\item\em see {\bf long\-Desc}{\rm (p.\,\pageref{classDOM_1_1HTMLImageElement_a22})} \item\end{CompactList}\item 
{\bf DOMString} {\bf src} () const 
\begin{CompactList}\small\item\em URI designating the source of this image. \item\end{CompactList}\item 
void {\bf set\-Src} (const  {\bf DOMString} \&)
\begin{CompactList}\small\item\em see {\bf src}{\rm (p.\,\pageref{classDOM_1_1HTMLImageElement_a24})} \item\end{CompactList}\item 
{\bf DOMString} {\bf use\-Map} () const 
\begin{CompactList}\small\item\em Use client-side image map. \item\end{CompactList}\item 
void {\bf set\-Use\-Map} (const  {\bf DOMString} \&)
\begin{CompactList}\small\item\em see {\bf use\-Map}{\rm (p.\,\pageref{classDOM_1_1HTMLImageElement_a26})} \item\end{CompactList}\item 
long {\bf vspace} () const 
\begin{CompactList}\small\item\em Vertical space above and below this image. \item\end{CompactList}\item 
void {\bf set\-Vspace} (long)
\begin{CompactList}\small\item\em see {\bf vspace}{\rm (p.\,\pageref{classDOM_1_1HTMLImageElement_a28})} \item\end{CompactList}\item 
long {\bf width} () const 
\begin{CompactList}\small\item\em Override width. \item\end{CompactList}\item 
void {\bf set\-Width} (long)
\begin{CompactList}\small\item\em see {\bf width}{\rm (p.\,\pageref{classDOM_1_1HTMLImageElement_a30})} \item\end{CompactList}\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
{\bf HTMLImage\-Element} (HTMLImage\-Element\-Impl $\ast$impl)\label{classDOM_1_1HTMLImageElement_b0}

\end{CompactItemize}


\subsection{Detailed Description}
Embedded image. 

See the {\tt IMG element definition } in HTML 4.0. 



Definition at line 184 of file html\_\-image.h.

\subsection{Member Function Documentation}
\index{DOM::HTMLImageElement@{DOM::HTMLImage\-Element}!name@{name}}
\index{name@{name}!DOM::HTMLImageElement@{DOM::HTMLImage\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DOMString} HTMLImage\-Element::name () const}\label{classDOM_1_1HTMLImageElement_a6}


The name of the element (for backwards compatibility). 



Definition at line 192 of file html\_\-image.cpp.\index{DOM::HTMLImageElement@{DOM::HTMLImage\-Element}!setName@{setName}}
\index{setName@{setName}!DOM::HTMLImageElement@{DOM::HTMLImage\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLImage\-Element::set\-Name (const {\bf DOMString} \&)}\label{classDOM_1_1HTMLImageElement_a7}


see {\bf name}{\rm (p.\,\pageref{classDOM_1_1HTMLImageElement_a6})} 



Definition at line 198 of file html\_\-image.cpp.\index{DOM::HTMLImageElement@{DOM::HTMLImage\-Element}!align@{align}}
\index{align@{align}!DOM::HTMLImageElement@{DOM::HTMLImage\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DOMString} HTMLImage\-Element::align () const}\label{classDOM_1_1HTMLImageElement_a8}


Aligns this object (vertically or horizontally) with respect to its surrounding text. 

See the {\tt align attribute definition } in HTML 4.0. This attribute is deprecated in HTML 4.0. 

Definition at line 203 of file html\_\-image.cpp.\index{DOM::HTMLImageElement@{DOM::HTMLImage\-Element}!setAlign@{setAlign}}
\index{setAlign@{setAlign}!DOM::HTMLImageElement@{DOM::HTMLImage\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLImage\-Element::set\-Align (const {\bf DOMString} \&)}\label{classDOM_1_1HTMLImageElement_a9}


see {\bf align}{\rm (p.\,\pageref{classDOM_1_1HTMLImageElement_a8})} 



Definition at line 209 of file html\_\-image.cpp.\index{DOM::HTMLImageElement@{DOM::HTMLImage\-Element}!alt@{alt}}
\index{alt@{alt}!DOM::HTMLImageElement@{DOM::HTMLImage\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DOMString} HTMLImage\-Element::alt () const}\label{classDOM_1_1HTMLImageElement_a10}


Alternate text for user agents not rendering the normal content of this element. 

See the {\tt alt attribute definition } in HTML 4.0. 

Definition at line 214 of file html\_\-image.cpp.\index{DOM::HTMLImageElement@{DOM::HTMLImage\-Element}!setAlt@{setAlt}}
\index{setAlt@{setAlt}!DOM::HTMLImageElement@{DOM::HTMLImage\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLImage\-Element::set\-Alt (const {\bf DOMString} \&)}\label{classDOM_1_1HTMLImageElement_a11}


see {\bf alt}{\rm (p.\,\pageref{classDOM_1_1HTMLImageElement_a10})} 



Definition at line 220 of file html\_\-image.cpp.\index{DOM::HTMLImageElement@{DOM::HTMLImage\-Element}!getBorder@{getBorder}}
\index{getBorder@{getBorder}!DOM::HTMLImageElement@{DOM::HTMLImage\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DOMString} HTMLImage\-Element::get\-Border () const}\label{classDOM_1_1HTMLImageElement_a12}


Width of border around image. 

See the {\tt border attribute definition } in HTML 4.0. This attribute is deprecated in HTML 4.0. 

Definition at line 237 of file html\_\-image.cpp.\index{DOM::HTMLImageElement@{DOM::HTMLImage\-Element}!setBorder@{setBorder}}
\index{setBorder@{setBorder}!DOM::HTMLImageElement@{DOM::HTMLImage\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLImage\-Element::set\-Border (const {\bf DOMString} \&)}\label{classDOM_1_1HTMLImageElement_a13}


see {\bf border}{\rm (p.\,\pageref{classDOM_1_1HTMLImageElement_a14})} 



Definition at line 243 of file html\_\-image.cpp.\index{DOM::HTMLImageElement@{DOM::HTMLImage\-Element}!border@{border}}
\index{border@{border}!DOM::HTMLImageElement@{DOM::HTMLImage\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}long HTMLImage\-Element::border () const}\label{classDOM_1_1HTMLImageElement_a14}


{\bf This class or method is obsolete, it is provided for compatibility only.} 



Definition at line 225 of file html\_\-image.cpp.\index{DOM::HTMLImageElement@{DOM::HTMLImage\-Element}!setBorder@{setBorder}}
\index{setBorder@{setBorder}!DOM::HTMLImageElement@{DOM::HTMLImage\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLImage\-Element::set\-Border (long)}\label{classDOM_1_1HTMLImageElement_a15}


{\bf This class or method is obsolete, it is provided for compatibility only.} 



Definition at line 232 of file html\_\-image.cpp.

References QString::number().\index{DOM::HTMLImageElement@{DOM::HTMLImage\-Element}!height@{height}}
\index{height@{height}!DOM::HTMLImageElement@{DOM::HTMLImage\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}long HTMLImage\-Element::height () const}\label{classDOM_1_1HTMLImageElement_a16}


Override height. 

See the {\tt height attribute definition } in HTML 4.0. 

Definition at line 249 of file html\_\-image.cpp.\index{DOM::HTMLImageElement@{DOM::HTMLImage\-Element}!setHeight@{setHeight}}
\index{setHeight@{setHeight}!DOM::HTMLImageElement@{DOM::HTMLImage\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLImage\-Element::set\-Height (long)}\label{classDOM_1_1HTMLImageElement_a17}


see {\bf height}{\rm (p.\,\pageref{classDOM_1_1HTMLImageElement_a16})} 



Definition at line 255 of file html\_\-image.cpp.

References QString::number().\index{DOM::HTMLImageElement@{DOM::HTMLImage\-Element}!hspace@{hspace}}
\index{hspace@{hspace}!DOM::HTMLImageElement@{DOM::HTMLImage\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}long HTMLImage\-Element::hspace () const}\label{classDOM_1_1HTMLImageElement_a18}


Horizontal space to the left and right of this image. 

See the {\tt hspace attribute definition } in HTML 4.0. This attribute is deprecated in HTML 4.0. 

Definition at line 260 of file html\_\-image.cpp.\index{DOM::HTMLImageElement@{DOM::HTMLImage\-Element}!setHspace@{setHspace}}
\index{setHspace@{setHspace}!DOM::HTMLImageElement@{DOM::HTMLImage\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLImage\-Element::set\-Hspace (long)}\label{classDOM_1_1HTMLImageElement_a19}


see {\bf hspace}{\rm (p.\,\pageref{classDOM_1_1HTMLImageElement_a18})} 



Definition at line 267 of file html\_\-image.cpp.

References QString::number().\index{DOM::HTMLImageElement@{DOM::HTMLImage\-Element}!isMap@{isMap}}
\index{isMap@{isMap}!DOM::HTMLImageElement@{DOM::HTMLImage\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool HTMLImage\-Element::is\-Map () const}\label{classDOM_1_1HTMLImageElement_a20}


Use server-side image map. 

See the {\tt ismap attribute definition } in HTML 4.0. 

Definition at line 272 of file html\_\-image.cpp.\index{DOM::HTMLImageElement@{DOM::HTMLImage\-Element}!setIsMap@{setIsMap}}
\index{setIsMap@{setIsMap}!DOM::HTMLImageElement@{DOM::HTMLImage\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLImage\-Element::set\-Is\-Map (bool)}\label{classDOM_1_1HTMLImageElement_a21}


see {\bf is\-Map}{\rm (p.\,\pageref{classDOM_1_1HTMLImageElement_a20})} 



Definition at line 278 of file html\_\-image.cpp.\index{DOM::HTMLImageElement@{DOM::HTMLImage\-Element}!longDesc@{longDesc}}
\index{longDesc@{longDesc}!DOM::HTMLImageElement@{DOM::HTMLImage\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DOMString} HTMLImage\-Element::long\-Desc () const}\label{classDOM_1_1HTMLImageElement_a22}


URI designating a long description of this image or frame. 

See the {\tt longdesc attribute definition } in HTML 4.0. 

Definition at line 289 of file html\_\-image.cpp.\index{DOM::HTMLImageElement@{DOM::HTMLImage\-Element}!setLongDesc@{setLongDesc}}
\index{setLongDesc@{setLongDesc}!DOM::HTMLImageElement@{DOM::HTMLImage\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLImage\-Element::set\-Long\-Desc (const {\bf DOMString} \&)}\label{classDOM_1_1HTMLImageElement_a23}


see {\bf long\-Desc}{\rm (p.\,\pageref{classDOM_1_1HTMLImageElement_a22})} 



Definition at line 295 of file html\_\-image.cpp.\index{DOM::HTMLImageElement@{DOM::HTMLImage\-Element}!src@{src}}
\index{src@{src}!DOM::HTMLImageElement@{DOM::HTMLImage\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DOMString} HTMLImage\-Element::src () const}\label{classDOM_1_1HTMLImageElement_a24}


URI designating the source of this image. 

See the {\tt src attribute definition } in HTML 4.0. 

Definition at line 300 of file html\_\-image.cpp.

References DOM::Document::complete\-URL(), DOM::DOMString::is\-Empty(), and DOM::Node::owner\-Document().\index{DOM::HTMLImageElement@{DOM::HTMLImage\-Element}!setSrc@{setSrc}}
\index{setSrc@{setSrc}!DOM::HTMLImageElement@{DOM::HTMLImage\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLImage\-Element::set\-Src (const {\bf DOMString} \&)}\label{classDOM_1_1HTMLImageElement_a25}


see {\bf src}{\rm (p.\,\pageref{classDOM_1_1HTMLImageElement_a24})} 



Definition at line 310 of file html\_\-image.cpp.\index{DOM::HTMLImageElement@{DOM::HTMLImage\-Element}!useMap@{useMap}}
\index{useMap@{useMap}!DOM::HTMLImageElement@{DOM::HTMLImage\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DOMString} HTMLImage\-Element::use\-Map () const}\label{classDOM_1_1HTMLImageElement_a26}


Use client-side image map. 

See the {\tt usemap attribute definition } in HTML 4.0. 

Definition at line 315 of file html\_\-image.cpp.\index{DOM::HTMLImageElement@{DOM::HTMLImage\-Element}!setUseMap@{setUseMap}}
\index{setUseMap@{setUseMap}!DOM::HTMLImageElement@{DOM::HTMLImage\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLImage\-Element::set\-Use\-Map (const {\bf DOMString} \&)}\label{classDOM_1_1HTMLImageElement_a27}


see {\bf use\-Map}{\rm (p.\,\pageref{classDOM_1_1HTMLImageElement_a26})} 



Definition at line 321 of file html\_\-image.cpp.\index{DOM::HTMLImageElement@{DOM::HTMLImage\-Element}!vspace@{vspace}}
\index{vspace@{vspace}!DOM::HTMLImageElement@{DOM::HTMLImage\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}long HTMLImage\-Element::vspace () const}\label{classDOM_1_1HTMLImageElement_a28}


Vertical space above and below this image. 

See the {\tt vspace attribute definition } in HTML 4.0. This attribute is deprecated in HTML 4.0. 

Definition at line 326 of file html\_\-image.cpp.\index{DOM::HTMLImageElement@{DOM::HTMLImage\-Element}!setVspace@{setVspace}}
\index{setVspace@{setVspace}!DOM::HTMLImageElement@{DOM::HTMLImage\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLImage\-Element::set\-Vspace (long)}\label{classDOM_1_1HTMLImageElement_a29}


see {\bf vspace}{\rm (p.\,\pageref{classDOM_1_1HTMLImageElement_a28})} 



Definition at line 333 of file html\_\-image.cpp.

References QString::number().\index{DOM::HTMLImageElement@{DOM::HTMLImage\-Element}!width@{width}}
\index{width@{width}!DOM::HTMLImageElement@{DOM::HTMLImage\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}long HTMLImage\-Element::width () const}\label{classDOM_1_1HTMLImageElement_a30}


Override width. 

See the {\tt width attribute definition } in HTML 4.0. 

Definition at line 338 of file html\_\-image.cpp.\index{DOM::HTMLImageElement@{DOM::HTMLImage\-Element}!setWidth@{setWidth}}
\index{setWidth@{setWidth}!DOM::HTMLImageElement@{DOM::HTMLImage\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLImage\-Element::set\-Width (long)}\label{classDOM_1_1HTMLImageElement_a31}


see {\bf width}{\rm (p.\,\pageref{classDOM_1_1HTMLImageElement_a30})} 



Definition at line 344 of file html\_\-image.cpp.

References QString::number().

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
html\_\-image.h\item 
html\_\-image.cpp\end{CompactItemize}
