\section{DOM::HTMLAnchor\-Element Class Reference}
\label{classDOM_1_1HTMLAnchorElement}\index{DOM::HTMLAnchorElement@{DOM::HTMLAnchorElement}}
The anchor element.  


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

Inheritance diagram for DOM::HTMLAnchor\-Element:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=96pt]{classDOM_1_1HTMLAnchorElement__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for DOM::HTMLAnchor\-Element:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=96pt]{classDOM_1_1HTMLAnchorElement__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf HTMLAnchor\-Element} (const  {\bf HTMLAnchor\-Element} \&other)\label{classDOM_1_1HTMLAnchorElement_a1}

\item 
{\bf HTMLAnchor\-Element} (const  {\bf Node} \&other)\label{classDOM_1_1HTMLAnchorElement_a2}

\item 
{\bf HTMLAnchor\-Element} \& {\bf operator=} (const  {\bf HTMLAnchor\-Element} \&other)\label{classDOM_1_1HTMLAnchorElement_a3}

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

\item 
{\bf DOMString} {\bf access\-Key} () const 
\begin{CompactList}\small\item\em A single character access key to give access to the form control. \item\end{CompactList}\item 
void {\bf set\-Access\-Key} (const  {\bf DOMString} \&)
\begin{CompactList}\small\item\em see {\bf access\-Key}{\rm (p.\,\pageref{classDOM_1_1HTMLAnchorElement_a6})} \item\end{CompactList}\item 
{\bf DOMString} {\bf charset} () const 
\begin{CompactList}\small\item\em The character encoding of the linked resource. \item\end{CompactList}\item 
void {\bf set\-Charset} (const  {\bf DOMString} \&)
\begin{CompactList}\small\item\em see {\bf charset}{\rm (p.\,\pageref{classDOM_1_1HTMLAnchorElement_a8})} \item\end{CompactList}\item 
{\bf DOMString} {\bf coords} () const 
\begin{CompactList}\small\item\em Comma-separated list of lengths, defining an active region geometry. \item\end{CompactList}\item 
void {\bf set\-Coords} (const  {\bf DOMString} \&)
\begin{CompactList}\small\item\em see {\bf coords}{\rm (p.\,\pageref{classDOM_1_1HTMLAnchorElement_a10})} \item\end{CompactList}\item 
{\bf DOMString} {\bf href} () const 
\begin{CompactList}\small\item\em The URI of the linked resource. \item\end{CompactList}\item 
void {\bf set\-Href} (const  {\bf DOMString} \&)
\begin{CompactList}\small\item\em see {\bf href}{\rm (p.\,\pageref{classDOM_1_1HTMLAnchorElement_a12})} \item\end{CompactList}\item 
{\bf DOMString} {\bf hreflang} () const 
\begin{CompactList}\small\item\em Language code of the linked resource. \item\end{CompactList}\item 
void {\bf set\-Hreflang} (const  {\bf DOMString} \&)
\begin{CompactList}\small\item\em see {\bf hreflang}{\rm (p.\,\pageref{classDOM_1_1HTMLAnchorElement_a14})} \item\end{CompactList}\item 
{\bf DOMString} {\bf name} () const 
\begin{CompactList}\small\item\em Anchor name. \item\end{CompactList}\item 
void {\bf set\-Name} (const  {\bf DOMString} \&)
\begin{CompactList}\small\item\em see {\bf name}{\rm (p.\,\pageref{classDOM_1_1HTMLAnchorElement_a16})} \item\end{CompactList}\item 
{\bf DOMString} {\bf rel} () const 
\begin{CompactList}\small\item\em Forward link type. \item\end{CompactList}\item 
void {\bf set\-Rel} (const  {\bf DOMString} \&)
\begin{CompactList}\small\item\em see {\bf rel}{\rm (p.\,\pageref{classDOM_1_1HTMLAnchorElement_a18})} \item\end{CompactList}\item 
{\bf DOMString} {\bf rev} () const 
\begin{CompactList}\small\item\em Reverse link type. \item\end{CompactList}\item 
void {\bf set\-Rev} (const  {\bf DOMString} \&)
\begin{CompactList}\small\item\em see {\bf rev}{\rm (p.\,\pageref{classDOM_1_1HTMLAnchorElement_a20})} \item\end{CompactList}\item 
{\bf DOMString} {\bf shape} () const 
\begin{CompactList}\small\item\em The shape of the active area. \item\end{CompactList}\item 
void {\bf set\-Shape} (const  {\bf DOMString} \&)
\begin{CompactList}\small\item\em see {\bf shape}{\rm (p.\,\pageref{classDOM_1_1HTMLAnchorElement_a22})} \item\end{CompactList}\item 
long {\bf tab\-Index} () const 
\begin{CompactList}\small\item\em Index that represents the element's position in the tabbing order. \item\end{CompactList}\item 
void {\bf set\-Tab\-Index} (long)
\begin{CompactList}\small\item\em see {\bf tab\-Index}{\rm (p.\,\pageref{classDOM_1_1HTMLAnchorElement_a24})} \item\end{CompactList}\item 
{\bf DOMString} {\bf target} () const 
\begin{CompactList}\small\item\em Frame to render the resource in. \item\end{CompactList}\item 
void {\bf set\-Target} (const  {\bf DOMString} \&)
\begin{CompactList}\small\item\em see {\bf target}{\rm (p.\,\pageref{classDOM_1_1HTMLAnchorElement_a26})} \item\end{CompactList}\item 
{\bf DOMString} {\bf type} () const 
\begin{CompactList}\small\item\em Advisory content type. \item\end{CompactList}\item 
void {\bf set\-Type} (const  {\bf DOMString} \&)
\begin{CompactList}\small\item\em see {\bf type}{\rm (p.\,\pageref{classDOM_1_1HTMLAnchorElement_a28})} \item\end{CompactList}\item 
void {\bf blur} ()
\begin{CompactList}\small\item\em Removes keyboard focus from this element. \item\end{CompactList}\item 
void {\bf focus} ()
\begin{CompactList}\small\item\em Gives keyboard focus to this element. \item\end{CompactList}\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
{\bf HTMLAnchor\-Element} (HTMLAnchor\-Element\-Impl $\ast$impl)\label{classDOM_1_1HTMLAnchorElement_b0}

\end{CompactItemize}


\subsection{Detailed Description}
The anchor element. 

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



Definition at line 46 of file html\_\-inline.h.

\subsection{Member Function Documentation}
\index{DOM::HTMLAnchorElement@{DOM::HTMLAnchor\-Element}!accessKey@{accessKey}}
\index{accessKey@{accessKey}!DOM::HTMLAnchorElement@{DOM::HTMLAnchor\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DOMString} HTMLAnchor\-Element::access\-Key () const}\label{classDOM_1_1HTMLAnchorElement_a6}


A single character access key to give access to the form control. 

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

Definition at line 63 of file html\_\-inline.cpp.\index{DOM::HTMLAnchorElement@{DOM::HTMLAnchor\-Element}!setAccessKey@{setAccessKey}}
\index{setAccessKey@{setAccessKey}!DOM::HTMLAnchorElement@{DOM::HTMLAnchor\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLAnchor\-Element::set\-Access\-Key (const {\bf DOMString} \&)}\label{classDOM_1_1HTMLAnchorElement_a7}


see {\bf access\-Key}{\rm (p.\,\pageref{classDOM_1_1HTMLAnchorElement_a6})} 



Definition at line 69 of file html\_\-inline.cpp.\index{DOM::HTMLAnchorElement@{DOM::HTMLAnchor\-Element}!charset@{charset}}
\index{charset@{charset}!DOM::HTMLAnchorElement@{DOM::HTMLAnchor\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DOMString} HTMLAnchor\-Element::charset () const}\label{classDOM_1_1HTMLAnchorElement_a8}


The character encoding of the linked resource. 

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

Definition at line 74 of file html\_\-inline.cpp.\index{DOM::HTMLAnchorElement@{DOM::HTMLAnchor\-Element}!setCharset@{setCharset}}
\index{setCharset@{setCharset}!DOM::HTMLAnchorElement@{DOM::HTMLAnchor\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLAnchor\-Element::set\-Charset (const {\bf DOMString} \&)}\label{classDOM_1_1HTMLAnchorElement_a9}


see {\bf charset}{\rm (p.\,\pageref{classDOM_1_1HTMLAnchorElement_a8})} 



Definition at line 80 of file html\_\-inline.cpp.\index{DOM::HTMLAnchorElement@{DOM::HTMLAnchor\-Element}!coords@{coords}}
\index{coords@{coords}!DOM::HTMLAnchorElement@{DOM::HTMLAnchor\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DOMString} HTMLAnchor\-Element::coords () const}\label{classDOM_1_1HTMLAnchorElement_a10}


Comma-separated list of lengths, defining an active region geometry. 

See also {\tt  shape } for the shape of the region. See the {\tt coords attribute definition } in HTML 4.0. 

Definition at line 85 of file html\_\-inline.cpp.\index{DOM::HTMLAnchorElement@{DOM::HTMLAnchor\-Element}!setCoords@{setCoords}}
\index{setCoords@{setCoords}!DOM::HTMLAnchorElement@{DOM::HTMLAnchor\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLAnchor\-Element::set\-Coords (const {\bf DOMString} \&)}\label{classDOM_1_1HTMLAnchorElement_a11}


see {\bf coords}{\rm (p.\,\pageref{classDOM_1_1HTMLAnchorElement_a10})} 



Definition at line 91 of file html\_\-inline.cpp.\index{DOM::HTMLAnchorElement@{DOM::HTMLAnchor\-Element}!href@{href}}
\index{href@{href}!DOM::HTMLAnchorElement@{DOM::HTMLAnchor\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DOMString} HTMLAnchor\-Element::href () const}\label{classDOM_1_1HTMLAnchorElement_a12}


The URI of the linked resource. 

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

Definition at line 96 of file html\_\-inline.cpp.

References href(), DOM::DOMString::length(), and DOM::DOMString::string().

Referenced by href().\index{DOM::HTMLAnchorElement@{DOM::HTMLAnchor\-Element}!setHref@{setHref}}
\index{setHref@{setHref}!DOM::HTMLAnchorElement@{DOM::HTMLAnchor\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLAnchor\-Element::set\-Href (const {\bf DOMString} \&)}\label{classDOM_1_1HTMLAnchorElement_a13}


see {\bf href}{\rm (p.\,\pageref{classDOM_1_1HTMLAnchorElement_a12})} 



Definition at line 103 of file html\_\-inline.cpp.\index{DOM::HTMLAnchorElement@{DOM::HTMLAnchor\-Element}!hreflang@{hreflang}}
\index{hreflang@{hreflang}!DOM::HTMLAnchorElement@{DOM::HTMLAnchor\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DOMString} HTMLAnchor\-Element::hreflang () const}\label{classDOM_1_1HTMLAnchorElement_a14}


Language code of the linked resource. 

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

Definition at line 108 of file html\_\-inline.cpp.\index{DOM::HTMLAnchorElement@{DOM::HTMLAnchor\-Element}!setHreflang@{setHreflang}}
\index{setHreflang@{setHreflang}!DOM::HTMLAnchorElement@{DOM::HTMLAnchor\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLAnchor\-Element::set\-Hreflang (const {\bf DOMString} \&)}\label{classDOM_1_1HTMLAnchorElement_a15}


see {\bf hreflang}{\rm (p.\,\pageref{classDOM_1_1HTMLAnchorElement_a14})} 



Definition at line 114 of file html\_\-inline.cpp.\index{DOM::HTMLAnchorElement@{DOM::HTMLAnchor\-Element}!name@{name}}
\index{name@{name}!DOM::HTMLAnchorElement@{DOM::HTMLAnchor\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DOMString} HTMLAnchor\-Element::name () const}\label{classDOM_1_1HTMLAnchorElement_a16}


Anchor name. 

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

Definition at line 119 of file html\_\-inline.cpp.\index{DOM::HTMLAnchorElement@{DOM::HTMLAnchor\-Element}!setName@{setName}}
\index{setName@{setName}!DOM::HTMLAnchorElement@{DOM::HTMLAnchor\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLAnchor\-Element::set\-Name (const {\bf DOMString} \&)}\label{classDOM_1_1HTMLAnchorElement_a17}


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



Definition at line 125 of file html\_\-inline.cpp.\index{DOM::HTMLAnchorElement@{DOM::HTMLAnchor\-Element}!rel@{rel}}
\index{rel@{rel}!DOM::HTMLAnchorElement@{DOM::HTMLAnchor\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DOMString} HTMLAnchor\-Element::rel () const}\label{classDOM_1_1HTMLAnchorElement_a18}


Forward link type. 

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

Definition at line 130 of file html\_\-inline.cpp.\index{DOM::HTMLAnchorElement@{DOM::HTMLAnchor\-Element}!setRel@{setRel}}
\index{setRel@{setRel}!DOM::HTMLAnchorElement@{DOM::HTMLAnchor\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLAnchor\-Element::set\-Rel (const {\bf DOMString} \&)}\label{classDOM_1_1HTMLAnchorElement_a19}


see {\bf rel}{\rm (p.\,\pageref{classDOM_1_1HTMLAnchorElement_a18})} 



Definition at line 136 of file html\_\-inline.cpp.\index{DOM::HTMLAnchorElement@{DOM::HTMLAnchor\-Element}!rev@{rev}}
\index{rev@{rev}!DOM::HTMLAnchorElement@{DOM::HTMLAnchor\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DOMString} HTMLAnchor\-Element::rev () const}\label{classDOM_1_1HTMLAnchorElement_a20}


Reverse link type. 

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

Definition at line 141 of file html\_\-inline.cpp.\index{DOM::HTMLAnchorElement@{DOM::HTMLAnchor\-Element}!setRev@{setRev}}
\index{setRev@{setRev}!DOM::HTMLAnchorElement@{DOM::HTMLAnchor\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLAnchor\-Element::set\-Rev (const {\bf DOMString} \&)}\label{classDOM_1_1HTMLAnchorElement_a21}


see {\bf rev}{\rm (p.\,\pageref{classDOM_1_1HTMLAnchorElement_a20})} 



Definition at line 147 of file html\_\-inline.cpp.\index{DOM::HTMLAnchorElement@{DOM::HTMLAnchor\-Element}!shape@{shape}}
\index{shape@{shape}!DOM::HTMLAnchorElement@{DOM::HTMLAnchor\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DOMString} HTMLAnchor\-Element::shape () const}\label{classDOM_1_1HTMLAnchorElement_a22}


The shape of the active area. 

The coordinates are given by {\tt  coords } . See the {\tt shape attribute definition } in HTML 4.0. 

Definition at line 152 of file html\_\-inline.cpp.\index{DOM::HTMLAnchorElement@{DOM::HTMLAnchor\-Element}!setShape@{setShape}}
\index{setShape@{setShape}!DOM::HTMLAnchorElement@{DOM::HTMLAnchor\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLAnchor\-Element::set\-Shape (const {\bf DOMString} \&)}\label{classDOM_1_1HTMLAnchorElement_a23}


see {\bf shape}{\rm (p.\,\pageref{classDOM_1_1HTMLAnchorElement_a22})} 



Definition at line 158 of file html\_\-inline.cpp.\index{DOM::HTMLAnchorElement@{DOM::HTMLAnchor\-Element}!tabIndex@{tabIndex}}
\index{tabIndex@{tabIndex}!DOM::HTMLAnchorElement@{DOM::HTMLAnchor\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}long HTMLAnchor\-Element::tab\-Index () const}\label{classDOM_1_1HTMLAnchorElement_a24}


Index that represents the element's position in the tabbing order. 

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

Definition at line 163 of file html\_\-inline.cpp.\index{DOM::HTMLAnchorElement@{DOM::HTMLAnchor\-Element}!setTabIndex@{setTabIndex}}
\index{setTabIndex@{setTabIndex}!DOM::HTMLAnchorElement@{DOM::HTMLAnchor\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLAnchor\-Element::set\-Tab\-Index (long)}\label{classDOM_1_1HTMLAnchorElement_a25}


see {\bf tab\-Index}{\rm (p.\,\pageref{classDOM_1_1HTMLAnchorElement_a24})} 



Definition at line 169 of file html\_\-inline.cpp.

References QString::number().\index{DOM::HTMLAnchorElement@{DOM::HTMLAnchor\-Element}!target@{target}}
\index{target@{target}!DOM::HTMLAnchorElement@{DOM::HTMLAnchor\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DOMString} HTMLAnchor\-Element::target () const}\label{classDOM_1_1HTMLAnchorElement_a26}


Frame to render the resource in. 

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

Definition at line 177 of file html\_\-inline.cpp.\index{DOM::HTMLAnchorElement@{DOM::HTMLAnchor\-Element}!setTarget@{setTarget}}
\index{setTarget@{setTarget}!DOM::HTMLAnchorElement@{DOM::HTMLAnchor\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLAnchor\-Element::set\-Target (const {\bf DOMString} \&)}\label{classDOM_1_1HTMLAnchorElement_a27}


see {\bf target}{\rm (p.\,\pageref{classDOM_1_1HTMLAnchorElement_a26})} 



Definition at line 183 of file html\_\-inline.cpp.\index{DOM::HTMLAnchorElement@{DOM::HTMLAnchor\-Element}!type@{type}}
\index{type@{type}!DOM::HTMLAnchorElement@{DOM::HTMLAnchor\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DOMString} HTMLAnchor\-Element::type () const}\label{classDOM_1_1HTMLAnchorElement_a28}


Advisory content type. 

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

Definition at line 188 of file html\_\-inline.cpp.\index{DOM::HTMLAnchorElement@{DOM::HTMLAnchor\-Element}!setType@{setType}}
\index{setType@{setType}!DOM::HTMLAnchorElement@{DOM::HTMLAnchor\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLAnchor\-Element::set\-Type (const {\bf DOMString} \&)}\label{classDOM_1_1HTMLAnchorElement_a29}


see {\bf type}{\rm (p.\,\pageref{classDOM_1_1HTMLAnchorElement_a28})} 



Definition at line 194 of file html\_\-inline.cpp.\index{DOM::HTMLAnchorElement@{DOM::HTMLAnchor\-Element}!blur@{blur}}
\index{blur@{blur}!DOM::HTMLAnchorElement@{DOM::HTMLAnchor\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLAnchor\-Element::blur ()}\label{classDOM_1_1HTMLAnchorElement_a30}


Removes keyboard focus from this element. 

\begin{Desc}
\item[Returns:]\end{Desc}


Definition at line 199 of file html\_\-inline.cpp.\index{DOM::HTMLAnchorElement@{DOM::HTMLAnchor\-Element}!focus@{focus}}
\index{focus@{focus}!DOM::HTMLAnchorElement@{DOM::HTMLAnchor\-Element}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void HTMLAnchor\-Element::focus ()}\label{classDOM_1_1HTMLAnchorElement_a31}


Gives keyboard focus to this element. 

\begin{Desc}
\item[Returns:]\end{Desc}


Definition at line 205 of file html\_\-inline.cpp.

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