Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 1f9eb832ba1e4b88d9a5c2b384813bb4 > files > 4508

kdelibs3-apidocs-3.5.10-31.fc15.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en_US" xml:lang="en_US">

<head>
  <title>khtml: html_form.cpp Source File (khtml)</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

  <meta http-equiv="Content-Style-Type" content="text/css" />

  <meta http-equiv="pics-label" content='(pics-1.1 "http://www.icra.org/ratingsv02.html" comment "ICRAonline DE v2.0" l gen true for "http://www.kde.org"  r (nz 1 vz 1 lz 1 oz 1 cb 1) "http://www.rsac.org/ratingsv01.html" l gen true for "http://www.kde.org"  r (n 0 s 0 v 0 l 0))' />

  <meta name="trademark" content="KDE e.V." />
  <meta name="description" content="K Desktop Environment Homepage, KDE.org" />
  <meta name="MSSmartTagsPreventParsing" content="true" />
  <meta name="robots" content="all" />

  <link rel="shortcut icon" href="../../favicon.ico" />

<link rel="stylesheet" media="screen" type="text/css" title="APIDOX" href="doxygen.css" />



</head>

<body>

<div id="nav_header_top" align="right">
  <a href="#content" class="doNotDisplay" accesskey="2">Skip to main content ::</a>

  <a href="../.."><img id="nav_header_logo" alt="Home" align="left" src="../../kde_gear_64.png" border="0" /></a>
  <span class="doNotDisplay">::</span>

  <div id="nav_header_title" align="left">KDE API Reference</div>


</div>

<div id="nav_header_bottom" align="right">
  <span class="doNotDisplay">:: <a href="#navigation" accesskey="5">Skip to Link Menu</a><br/></span>
  <div id="nav_header_bottom_right" style="text-align: left;">
/ <a href="../..">API Reference</a>
 / <a href=".">khtml</a>
  </div>
</div>


<table id="main" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
      <td valign="top" class="menuheader" height="0"></td>

  <td id="contentcolumn" valign="top" rowspan="2" >
    <div id="content" style="padding-top: 0px;"><div style="width:100%; margin: 0px; padding: 0px;">
    <a name="content"></a>


<!-- Generated by Doxygen 1.7.4 -->
<div class="header">
  <div class="headertitle">
<div class="title">html_form.cpp</div>  </div>
</div>
<div class="contents">
<div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00022"></a>00022 <span class="comment">// --------------------------------------------------------------------------</span>
<a name="l00023"></a>00023 
<a name="l00024"></a>00024 <span class="preprocessor">#include &quot;dom/html_form.h&quot;</span>
<a name="l00025"></a>00025 <span class="preprocessor">#include &quot;dom/dom_exception.h&quot;</span>
<a name="l00026"></a>00026 <span class="preprocessor">#include &quot;dom/dom_doc.h&quot;</span>
<a name="l00027"></a>00027 
<a name="l00028"></a>00028 <span class="preprocessor">#include &quot;html/html_formimpl.h&quot;</span>
<a name="l00029"></a>00029 <span class="preprocessor">#include &quot;html/html_miscimpl.h&quot;</span>
<a name="l00030"></a>00030 
<a name="l00031"></a>00031 <span class="preprocessor">#include &quot;xml/dom_docimpl.h&quot;</span>
<a name="l00032"></a>00032 <span class="preprocessor">#include &quot;misc/htmlhashes.h&quot;</span>
<a name="l00033"></a>00033 
<a name="l00034"></a>00034 <span class="keyword">using namespace </span>DOM;
<a name="l00035"></a>00035 
<a name="l00036"></a>00036 HTMLButtonElement::HTMLButtonElement() : <a class="code" href="classDOM_1_1HTMLElement.html" title="All HTML element interfaces derive from this class.">HTMLElement</a>()
<a name="l00037"></a>00037 {
<a name="l00038"></a>00038 }
<a name="l00039"></a>00039 
<a name="l00040"></a>00040 HTMLButtonElement::HTMLButtonElement(<span class="keyword">const</span> <a class="code" href="classDOM_1_1HTMLButtonElement.html" title="Push button.">HTMLButtonElement</a> &amp;other) : <a class="code" href="classDOM_1_1HTMLElement.html" title="All HTML element interfaces derive from this class.">HTMLElement</a>(other)
<a name="l00041"></a>00041 {
<a name="l00042"></a>00042 }
<a name="l00043"></a>00043 
<a name="l00044"></a>00044 HTMLButtonElement::HTMLButtonElement(HTMLButtonElementImpl *impl) : <a class="code" href="classDOM_1_1HTMLElement.html" title="All HTML element interfaces derive from this class.">HTMLElement</a>(impl)
<a name="l00045"></a>00045 {
<a name="l00046"></a>00046 }
<a name="l00047"></a>00047 
<a name="l00048"></a>00048 <a class="code" href="classDOM_1_1HTMLButtonElement.html" title="Push button.">HTMLButtonElement</a> &amp;HTMLButtonElement::operator = (<span class="keyword">const</span> <a class="code" href="classDOM_1_1Node.html" title="The Node interface is the primary datatype for the entire Document Object Model.">Node</a> &amp;other)
<a name="l00049"></a>00049 {
<a name="l00050"></a>00050     assignOther( other, ID_BUTTON );
<a name="l00051"></a>00051     <span class="keywordflow">return</span> *<span class="keyword">this</span>;
<a name="l00052"></a>00052 }
<a name="l00053"></a>00053 
<a name="l00054"></a>00054 <a class="code" href="classDOM_1_1HTMLButtonElement.html" title="Push button.">HTMLButtonElement</a> &amp;HTMLButtonElement::operator = (<span class="keyword">const</span> <a class="code" href="classDOM_1_1HTMLButtonElement.html" title="Push button.">HTMLButtonElement</a> &amp;other)
<a name="l00055"></a>00055 {
<a name="l00056"></a>00056     HTMLElement::operator = (other);
<a name="l00057"></a>00057     <span class="keywordflow">return</span> *<span class="keyword">this</span>;
<a name="l00058"></a>00058 }
<a name="l00059"></a>00059 
<a name="l00060"></a>00060 HTMLButtonElement::~HTMLButtonElement()
<a name="l00061"></a>00061 {
<a name="l00062"></a>00062 }
<a name="l00063"></a>00063 
<a name="l00064"></a><a class="code" href="classDOM_1_1HTMLButtonElement.html#a61f0f05bcc57b1af25de384296d8ef65">00064</a> <a class="code" href="classDOM_1_1HTMLFormElement.html" title="The FORM element encompasses behavior similar to a collection and an element.">HTMLFormElement</a> <a class="code" href="classDOM_1_1HTMLButtonElement.html#a61f0f05bcc57b1af25de384296d8ef65" title="Returns the FORM element containing this control.">HTMLButtonElement::form</a>()<span class="keyword"> const</span>
<a name="l00065"></a>00065 <span class="keyword"></span>{
<a name="l00066"></a>00066     <span class="keywordflow">return</span> <a class="code" href="classDOM_1_1HTMLButtonElement.html#a61f0f05bcc57b1af25de384296d8ef65" title="Returns the FORM element containing this control.">Element::form</a>();
<a name="l00067"></a>00067 }
<a name="l00068"></a>00068 
<a name="l00069"></a><a class="code" href="classDOM_1_1HTMLButtonElement.html#a8282ece302efb179d988e82b1aaa3edf">00069</a> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> <a class="code" href="classDOM_1_1HTMLButtonElement.html#a8282ece302efb179d988e82b1aaa3edf" title="A single character access key to give access to the form control.">HTMLButtonElement::accessKey</a>()<span class="keyword"> const</span>
<a name="l00070"></a>00070 <span class="keyword"></span>{
<a name="l00071"></a>00071     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a>();
<a name="l00072"></a>00072     <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a31272d86d7acd89e7140b34cf507742e" title="Retrieves an attribute value by name.">getAttribute</a>(ATTR_ACCESSKEY);
<a name="l00073"></a>00073 }
<a name="l00074"></a>00074 
<a name="l00075"></a><a class="code" href="classDOM_1_1HTMLButtonElement.html#a1e757f209fd1a5c0251f3f341c291365">00075</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLButtonElement.html#a1e757f209fd1a5c0251f3f341c291365" title="see accessKey">HTMLButtonElement::setAccessKey</a>( <span class="keyword">const</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> &amp;value )
<a name="l00076"></a>00076 {
<a name="l00077"></a>00077     <span class="keywordflow">if</span>(impl) <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a9a30ec2a6d1728f7602cd32f5fc66ef4" title="Adds a new attribute.">setAttribute</a>(ATTR_ACCESSKEY, value);
<a name="l00078"></a>00078 }
<a name="l00079"></a>00079 
<a name="l00080"></a><a class="code" href="classDOM_1_1HTMLButtonElement.html#ad52918fe780ab723da1f90bfeea88253">00080</a> <span class="keywordtype">bool</span> <a class="code" href="classDOM_1_1HTMLButtonElement.html#ad52918fe780ab723da1f90bfeea88253" title="The control is unavailable in this context.">HTMLButtonElement::disabled</a>()<span class="keyword"> const</span>
<a name="l00081"></a>00081 <span class="keyword"></span>{
<a name="l00082"></a>00082     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> 0;
<a name="l00083"></a>00083     <span class="keywordflow">return</span> !<span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a31272d86d7acd89e7140b34cf507742e" title="Retrieves an attribute value by name.">getAttribute</a>(ATTR_DISABLED).isNull();
<a name="l00084"></a>00084 }
<a name="l00085"></a>00085 
<a name="l00086"></a><a class="code" href="classDOM_1_1HTMLButtonElement.html#a3cfc2331e51e5b052d16341d455fb62c">00086</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLButtonElement.html#a3cfc2331e51e5b052d16341d455fb62c" title="see disabled">HTMLButtonElement::setDisabled</a>( <span class="keywordtype">bool</span> _disabled )
<a name="l00087"></a>00087 {
<a name="l00088"></a>00088     <span class="keywordflow">if</span> (impl) <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a9a30ec2a6d1728f7602cd32f5fc66ef4" title="Adds a new attribute.">setAttribute</a>(ATTR_DISABLED, _disabled ? <span class="stringliteral">&quot;&quot;</span> : 0);
<a name="l00089"></a>00089 }
<a name="l00090"></a>00090 
<a name="l00091"></a><a class="code" href="classDOM_1_1HTMLButtonElement.html#aac202941529b3eed92b255854d097fb2">00091</a> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> <a class="code" href="classDOM_1_1HTMLButtonElement.html#aac202941529b3eed92b255854d097fb2" title="Form control or object name when submitted with a form.">HTMLButtonElement::name</a>()<span class="keyword"> const</span>
<a name="l00092"></a>00092 <span class="keyword"></span>{
<a name="l00093"></a>00093     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a>();
<a name="l00094"></a>00094     <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a31272d86d7acd89e7140b34cf507742e" title="Retrieves an attribute value by name.">getAttribute</a>(ATTR_NAME);
<a name="l00095"></a>00095 }
<a name="l00096"></a>00096 
<a name="l00097"></a><a class="code" href="classDOM_1_1HTMLButtonElement.html#a2f319aa76185ae2847fff321024ac94c">00097</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLButtonElement.html#a2f319aa76185ae2847fff321024ac94c" title="see name">HTMLButtonElement::setName</a>( <span class="keyword">const</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> &amp;value )
<a name="l00098"></a>00098 {
<a name="l00099"></a>00099     <span class="keywordflow">if</span>(impl) <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a9a30ec2a6d1728f7602cd32f5fc66ef4" title="Adds a new attribute.">setAttribute</a>(ATTR_NAME, value);
<a name="l00100"></a>00100 }
<a name="l00101"></a>00101 
<a name="l00102"></a><a class="code" href="classDOM_1_1HTMLButtonElement.html#a010c71d94c403a94c91f0af53ab5040d">00102</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLButtonElement.html#a010c71d94c403a94c91f0af53ab5040d" title="Gives keyboard focus to this element.">HTMLButtonElement::focus</a>(  )
<a name="l00103"></a>00103 {
<a name="l00104"></a>00104     <span class="keywordflow">if</span>(impl)
<a name="l00105"></a>00105         <span class="keyword">static_cast&lt;</span>HTMLButtonElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1HTMLButtonElement.html#a010c71d94c403a94c91f0af53ab5040d" title="Gives keyboard focus to this element.">focus</a>();
<a name="l00106"></a>00106 }
<a name="l00107"></a>00107 
<a name="l00108"></a><a class="code" href="classDOM_1_1HTMLButtonElement.html#a205369d7def5c8ee77f3fcaa7e9371ba">00108</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLButtonElement.html#a205369d7def5c8ee77f3fcaa7e9371ba" title="Removes keyboard focus from this element.">HTMLButtonElement::blur</a>(  )
<a name="l00109"></a>00109 {
<a name="l00110"></a>00110     <span class="keywordflow">if</span>(impl)
<a name="l00111"></a>00111         <span class="keyword">static_cast&lt;</span>HTMLButtonElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1HTMLButtonElement.html#a205369d7def5c8ee77f3fcaa7e9371ba" title="Removes keyboard focus from this element.">blur</a>();
<a name="l00112"></a>00112 }
<a name="l00113"></a>00113 
<a name="l00114"></a><a class="code" href="classDOM_1_1HTMLButtonElement.html#ace3be60590deefa888aafd3de53e19de">00114</a> <span class="keywordtype">long</span> <a class="code" href="classDOM_1_1HTMLButtonElement.html#ace3be60590deefa888aafd3de53e19de" title="Index that represents the element&#39;s position in the tabbing order.">HTMLButtonElement::tabIndex</a>()<span class="keyword"> const</span>
<a name="l00115"></a>00115 <span class="keyword"></span>{
<a name="l00116"></a>00116     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> 0;
<a name="l00117"></a>00117     <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1HTMLButtonElement.html#ace3be60590deefa888aafd3de53e19de" title="Index that represents the element&#39;s position in the tabbing order.">tabIndex</a>();
<a name="l00118"></a>00118 }
<a name="l00119"></a>00119 
<a name="l00120"></a><a class="code" href="classDOM_1_1HTMLButtonElement.html#ae5c4135392d13bb73fd1ad03a0c72d7c">00120</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLButtonElement.html#ae5c4135392d13bb73fd1ad03a0c72d7c" title="see tabIndex">HTMLButtonElement::setTabIndex</a>( <span class="keywordtype">long</span> _tabIndex )
<a name="l00121"></a>00121 {
<a name="l00122"></a>00122     <span class="keywordflow">if</span> (!impl) <span class="keywordflow">return</span>;
<a name="l00123"></a>00123     <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1HTMLButtonElement.html#ae5c4135392d13bb73fd1ad03a0c72d7c" title="see tabIndex">setTabIndex</a>(_tabIndex);
<a name="l00124"></a>00124 }
<a name="l00125"></a>00125 
<a name="l00126"></a><a class="code" href="classDOM_1_1HTMLButtonElement.html#ae5f7d5bb4e50a010ea317fddafca2c00">00126</a> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> <a class="code" href="classDOM_1_1HTMLButtonElement.html#ae5f7d5bb4e50a010ea317fddafca2c00" title="The type of button.">HTMLButtonElement::type</a>()<span class="keyword"> const</span>
<a name="l00127"></a>00127 <span class="keyword"></span>{
<a name="l00128"></a>00128     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a>();
<a name="l00129"></a>00129     <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span>HTMLButtonElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1HTMLButtonElement.html#ae5f7d5bb4e50a010ea317fddafca2c00" title="The type of button.">type</a>();
<a name="l00130"></a>00130 }
<a name="l00131"></a>00131 
<a name="l00132"></a><a class="code" href="classDOM_1_1HTMLButtonElement.html#afab32e2a92866d051fa789ebab288bf9">00132</a> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> <a class="code" href="classDOM_1_1HTMLButtonElement.html#afab32e2a92866d051fa789ebab288bf9" title="The current form control value.">HTMLButtonElement::value</a>()<span class="keyword"> const</span>
<a name="l00133"></a>00133 <span class="keyword"></span>{
<a name="l00134"></a>00134     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a>();
<a name="l00135"></a>00135     <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> s = <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a31272d86d7acd89e7140b34cf507742e" title="Retrieves an attribute value by name.">getAttribute</a>(ATTR_VALUE);
<a name="l00136"></a>00136     <span class="keywordflow">if</span> (s.isNull()) <span class="keywordflow">return</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a>(<span class="stringliteral">&quot;&quot;</span>);
<a name="l00137"></a>00137     <span class="keywordflow">return</span> s;
<a name="l00138"></a>00138 }
<a name="l00139"></a>00139 
<a name="l00140"></a><a class="code" href="classDOM_1_1HTMLButtonElement.html#aa261456889fabc3cc2e187cc32557115">00140</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLButtonElement.html#aa261456889fabc3cc2e187cc32557115" title="see value">HTMLButtonElement::setValue</a>( <span class="keyword">const</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> &amp;value )
<a name="l00141"></a>00141 {
<a name="l00142"></a>00142     <span class="keywordflow">if</span>(impl) <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a9a30ec2a6d1728f7602cd32f5fc66ef4" title="Adds a new attribute.">setAttribute</a>(ATTR_VALUE, value);
<a name="l00143"></a>00143 }
<a name="l00144"></a>00144 
<a name="l00145"></a>00145 <span class="comment">// --------------------------------------------------------------------------</span>
<a name="l00146"></a>00146 
<a name="l00147"></a>00147 HTMLFieldSetElement::HTMLFieldSetElement() : <a class="code" href="classDOM_1_1HTMLElement.html" title="All HTML element interfaces derive from this class.">HTMLElement</a>()
<a name="l00148"></a>00148 {
<a name="l00149"></a>00149 }
<a name="l00150"></a>00150 
<a name="l00151"></a>00151 HTMLFieldSetElement::HTMLFieldSetElement(<span class="keyword">const</span> <a class="code" href="classDOM_1_1HTMLFieldSetElement.html" title="Organizes form controls into logical groups.">HTMLFieldSetElement</a> &amp;other) : <a class="code" href="classDOM_1_1HTMLElement.html" title="All HTML element interfaces derive from this class.">HTMLElement</a>(other)
<a name="l00152"></a>00152 {
<a name="l00153"></a>00153 }
<a name="l00154"></a>00154 
<a name="l00155"></a>00155 HTMLFieldSetElement::HTMLFieldSetElement(HTMLFieldSetElementImpl *impl) : <a class="code" href="classDOM_1_1HTMLElement.html" title="All HTML element interfaces derive from this class.">HTMLElement</a>(impl)
<a name="l00156"></a>00156 {
<a name="l00157"></a>00157 }
<a name="l00158"></a>00158 
<a name="l00159"></a>00159 <a class="code" href="classDOM_1_1HTMLFieldSetElement.html" title="Organizes form controls into logical groups.">HTMLFieldSetElement</a> &amp;HTMLFieldSetElement::operator = (<span class="keyword">const</span> <a class="code" href="classDOM_1_1Node.html" title="The Node interface is the primary datatype for the entire Document Object Model.">Node</a> &amp;other)
<a name="l00160"></a>00160 {
<a name="l00161"></a>00161     assignOther( other, ID_FIELDSET );
<a name="l00162"></a>00162     <span class="keywordflow">return</span> *<span class="keyword">this</span>;
<a name="l00163"></a>00163 }
<a name="l00164"></a>00164 
<a name="l00165"></a>00165 <a class="code" href="classDOM_1_1HTMLFieldSetElement.html" title="Organizes form controls into logical groups.">HTMLFieldSetElement</a> &amp;HTMLFieldSetElement::operator = (<span class="keyword">const</span> <a class="code" href="classDOM_1_1HTMLFieldSetElement.html" title="Organizes form controls into logical groups.">HTMLFieldSetElement</a> &amp;other)
<a name="l00166"></a>00166 {
<a name="l00167"></a>00167     HTMLElement::operator = (other);
<a name="l00168"></a>00168     <span class="keywordflow">return</span> *<span class="keyword">this</span>;
<a name="l00169"></a>00169 }
<a name="l00170"></a>00170 
<a name="l00171"></a>00171 HTMLFieldSetElement::~HTMLFieldSetElement()
<a name="l00172"></a>00172 {
<a name="l00173"></a>00173 }
<a name="l00174"></a>00174 
<a name="l00175"></a><a class="code" href="classDOM_1_1HTMLFieldSetElement.html#ad5f2601da7f55875da943b9bf19165b1">00175</a> <a class="code" href="classDOM_1_1HTMLFormElement.html" title="The FORM element encompasses behavior similar to a collection and an element.">HTMLFormElement</a> <a class="code" href="classDOM_1_1HTMLFieldSetElement.html#ad5f2601da7f55875da943b9bf19165b1" title="### KDE 4.0: remove.">HTMLFieldSetElement::form</a>()<span class="keyword"> const</span>
<a name="l00176"></a>00176 <span class="keyword"></span>{
<a name="l00177"></a>00177     <span class="keywordflow">return</span> <a class="code" href="classDOM_1_1HTMLFieldSetElement.html#ad5f2601da7f55875da943b9bf19165b1" title="### KDE 4.0: remove.">Element::form</a>();
<a name="l00178"></a>00178 }
<a name="l00179"></a>00179 
<a name="l00180"></a>00180 <span class="comment">// --------------------------------------------------------------------------</span>
<a name="l00181"></a>00181 
<a name="l00182"></a>00182 HTMLFormElement::HTMLFormElement() : <a class="code" href="classDOM_1_1HTMLElement.html" title="All HTML element interfaces derive from this class.">HTMLElement</a>()
<a name="l00183"></a>00183 {
<a name="l00184"></a>00184 }
<a name="l00185"></a>00185 
<a name="l00186"></a>00186 HTMLFormElement::HTMLFormElement(<span class="keyword">const</span> <a class="code" href="classDOM_1_1HTMLFormElement.html" title="The FORM element encompasses behavior similar to a collection and an element.">HTMLFormElement</a> &amp;other) : <a class="code" href="classDOM_1_1HTMLElement.html" title="All HTML element interfaces derive from this class.">HTMLElement</a>(other)
<a name="l00187"></a>00187 {
<a name="l00188"></a>00188 }
<a name="l00189"></a>00189 
<a name="l00190"></a>00190 HTMLFormElement::HTMLFormElement(HTMLFormElementImpl *impl) : <a class="code" href="classDOM_1_1HTMLElement.html" title="All HTML element interfaces derive from this class.">HTMLElement</a>(impl)
<a name="l00191"></a>00191 {
<a name="l00192"></a>00192 }
<a name="l00193"></a>00193 
<a name="l00194"></a>00194 <a class="code" href="classDOM_1_1HTMLFormElement.html" title="The FORM element encompasses behavior similar to a collection and an element.">HTMLFormElement</a> &amp;HTMLFormElement::operator = (<span class="keyword">const</span> <a class="code" href="classDOM_1_1Node.html" title="The Node interface is the primary datatype for the entire Document Object Model.">Node</a> &amp;other)
<a name="l00195"></a>00195 {
<a name="l00196"></a>00196     assignOther( other, ID_FORM );
<a name="l00197"></a>00197     <span class="keywordflow">return</span> *<span class="keyword">this</span>;
<a name="l00198"></a>00198 }
<a name="l00199"></a>00199 
<a name="l00200"></a>00200 <a class="code" href="classDOM_1_1HTMLFormElement.html" title="The FORM element encompasses behavior similar to a collection and an element.">HTMLFormElement</a> &amp;HTMLFormElement::operator = (<span class="keyword">const</span> <a class="code" href="classDOM_1_1HTMLFormElement.html" title="The FORM element encompasses behavior similar to a collection and an element.">HTMLFormElement</a> &amp;other)
<a name="l00201"></a>00201 {
<a name="l00202"></a>00202     HTMLElement::operator = (other);
<a name="l00203"></a>00203     <span class="keywordflow">return</span> *<span class="keyword">this</span>;
<a name="l00204"></a>00204 }
<a name="l00205"></a>00205 
<a name="l00206"></a>00206 HTMLFormElement::~HTMLFormElement()
<a name="l00207"></a>00207 {
<a name="l00208"></a>00208 }
<a name="l00209"></a>00209 
<a name="l00210"></a><a class="code" href="classDOM_1_1HTMLFormElement.html#aa0ddfa004949f4bd467f6201d4416835">00210</a> <a class="code" href="classDOM_1_1HTMLCollection.html" title="An HTMLCollection is a list of nodes.">HTMLCollection</a> <a class="code" href="classDOM_1_1HTMLFormElement.html#aa0ddfa004949f4bd467f6201d4416835" title="Returns a collection of all control elements in the form.">HTMLFormElement::elements</a>()<span class="keyword"> const</span>
<a name="l00211"></a>00211 <span class="keyword"></span>{
<a name="l00212"></a>00212     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> <a class="code" href="classDOM_1_1HTMLCollection.html" title="An HTMLCollection is a list of nodes.">HTMLCollection</a>();
<a name="l00213"></a>00213     <span class="keywordflow">return</span> HTMLFormCollection(impl);
<a name="l00214"></a>00214 }
<a name="l00215"></a>00215 
<a name="l00216"></a><a class="code" href="classDOM_1_1HTMLFormElement.html#aa29f441c377c26569871e7aed346941a">00216</a> <span class="keywordtype">long</span> <a class="code" href="classDOM_1_1HTMLFormElement.html#aa29f441c377c26569871e7aed346941a" title="The number of form controls in the form.">HTMLFormElement::length</a>()<span class="keyword"> const</span>
<a name="l00217"></a>00217 <span class="keyword"></span>{
<a name="l00218"></a>00218     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> 0;
<a name="l00219"></a>00219     <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span>HTMLFormElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1HTMLFormElement.html#aa29f441c377c26569871e7aed346941a" title="The number of form controls in the form.">length</a>();
<a name="l00220"></a>00220 }
<a name="l00221"></a>00221 
<a name="l00222"></a><a class="code" href="classDOM_1_1HTMLFormElement.html#a775835360a29b3a2ab8ff27d052ed689">00222</a> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> <a class="code" href="classDOM_1_1HTMLFormElement.html#a775835360a29b3a2ab8ff27d052ed689" title="Names the form.">HTMLFormElement::name</a>()<span class="keyword"> const</span>
<a name="l00223"></a>00223 <span class="keyword"></span>{
<a name="l00224"></a>00224     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a>();
<a name="l00225"></a>00225     <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a31272d86d7acd89e7140b34cf507742e" title="Retrieves an attribute value by name.">getAttribute</a>(ATTR_NAME);
<a name="l00226"></a>00226 }
<a name="l00227"></a>00227 
<a name="l00228"></a><a class="code" href="classDOM_1_1HTMLFormElement.html#afb05e19bc6a8310a61192878394ef548">00228</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLFormElement.html#afb05e19bc6a8310a61192878394ef548" title="see name">HTMLFormElement::setName</a>( <span class="keyword">const</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> &amp;value )
<a name="l00229"></a>00229 {
<a name="l00230"></a>00230     <span class="keywordflow">if</span>(impl) <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a9a30ec2a6d1728f7602cd32f5fc66ef4" title="Adds a new attribute.">setAttribute</a>(ATTR_NAME, value);
<a name="l00231"></a>00231 }
<a name="l00232"></a>00232 
<a name="l00233"></a><a class="code" href="classDOM_1_1HTMLFormElement.html#af653ca1ab2baa3135e9998e193052481">00233</a> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> <a class="code" href="classDOM_1_1HTMLFormElement.html#af653ca1ab2baa3135e9998e193052481" title="List of character sets supported by the server.">HTMLFormElement::acceptCharset</a>()<span class="keyword"> const</span>
<a name="l00234"></a>00234 <span class="keyword"></span>{
<a name="l00235"></a>00235     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a>();
<a name="l00236"></a>00236     <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a31272d86d7acd89e7140b34cf507742e" title="Retrieves an attribute value by name.">getAttribute</a>(ATTR_ACCEPT_CHARSET);
<a name="l00237"></a>00237 }
<a name="l00238"></a>00238 
<a name="l00239"></a><a class="code" href="classDOM_1_1HTMLFormElement.html#a5d2fe55adbc297a3b7d168947ef20ec3">00239</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLFormElement.html#a5d2fe55adbc297a3b7d168947ef20ec3" title="see acceptCharset">HTMLFormElement::setAcceptCharset</a>( <span class="keyword">const</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> &amp;value )
<a name="l00240"></a>00240 {
<a name="l00241"></a>00241     <span class="keywordflow">if</span>(impl) <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a9a30ec2a6d1728f7602cd32f5fc66ef4" title="Adds a new attribute.">setAttribute</a>(ATTR_ACCEPT_CHARSET, value);
<a name="l00242"></a>00242 }
<a name="l00243"></a>00243 
<a name="l00244"></a><a class="code" href="classDOM_1_1HTMLFormElement.html#a64d3019694f8ae868efa215ac39c3b86">00244</a> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> <a class="code" href="classDOM_1_1HTMLFormElement.html#a64d3019694f8ae868efa215ac39c3b86" title="Server-side form handler.">HTMLFormElement::action</a>()<span class="keyword"> const</span>
<a name="l00245"></a>00245 <span class="keyword"></span>{
<a name="l00246"></a>00246     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a>();
<a name="l00247"></a>00247     <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a31272d86d7acd89e7140b34cf507742e" title="Retrieves an attribute value by name.">getAttribute</a>(ATTR_ACTION);
<a name="l00248"></a>00248 }
<a name="l00249"></a>00249 
<a name="l00250"></a><a class="code" href="classDOM_1_1HTMLFormElement.html#a46bc236c03c7833421046b2d1a661e7c">00250</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLFormElement.html#a46bc236c03c7833421046b2d1a661e7c" title="see action">HTMLFormElement::setAction</a>( <span class="keyword">const</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> &amp;value )
<a name="l00251"></a>00251 {
<a name="l00252"></a>00252     <span class="keywordflow">if</span>(impl) <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a9a30ec2a6d1728f7602cd32f5fc66ef4" title="Adds a new attribute.">setAttribute</a>(ATTR_ACTION, value);
<a name="l00253"></a>00253 }
<a name="l00254"></a>00254 
<a name="l00255"></a><a class="code" href="classDOM_1_1HTMLFormElement.html#ab5ce49f7fd1e7ed1ce4ebeb84a73b8dc">00255</a> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> <a class="code" href="classDOM_1_1HTMLFormElement.html#ab5ce49f7fd1e7ed1ce4ebeb84a73b8dc" title="The content type of the submitted form, generally &quot;application/x-www-form-urlencoded&quot;.">HTMLFormElement::enctype</a>()<span class="keyword"> const</span>
<a name="l00256"></a>00256 <span class="keyword"></span>{
<a name="l00257"></a>00257     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a>();
<a name="l00258"></a>00258     <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a31272d86d7acd89e7140b34cf507742e" title="Retrieves an attribute value by name.">getAttribute</a>(ATTR_ENCTYPE);
<a name="l00259"></a>00259 }
<a name="l00260"></a>00260 
<a name="l00261"></a><a class="code" href="classDOM_1_1HTMLFormElement.html#a8a51559c95f53fbf682df23f45fb7ebd">00261</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLFormElement.html#a8a51559c95f53fbf682df23f45fb7ebd" title="see enctype">HTMLFormElement::setEnctype</a>( <span class="keyword">const</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> &amp;value )
<a name="l00262"></a>00262 {
<a name="l00263"></a>00263     <span class="keywordflow">if</span>(impl) <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a9a30ec2a6d1728f7602cd32f5fc66ef4" title="Adds a new attribute.">setAttribute</a>(ATTR_ENCTYPE, value);
<a name="l00264"></a>00264 }
<a name="l00265"></a>00265 
<a name="l00266"></a><a class="code" href="classDOM_1_1HTMLFormElement.html#acefe2ddc0240e7457ec47031a6cd3ffc">00266</a> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> <a class="code" href="classDOM_1_1HTMLFormElement.html#acefe2ddc0240e7457ec47031a6cd3ffc" title="HTTP method used to submit form.">HTMLFormElement::method</a>()<span class="keyword"> const</span>
<a name="l00267"></a>00267 <span class="keyword"></span>{
<a name="l00268"></a>00268     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a>();
<a name="l00269"></a>00269     <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a31272d86d7acd89e7140b34cf507742e" title="Retrieves an attribute value by name.">getAttribute</a>(ATTR_METHOD);
<a name="l00270"></a>00270 }
<a name="l00271"></a>00271 
<a name="l00272"></a><a class="code" href="classDOM_1_1HTMLFormElement.html#a083a6350cc9c1ee3e4a9aace9be06fd1">00272</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLFormElement.html#a083a6350cc9c1ee3e4a9aace9be06fd1" title="see method">HTMLFormElement::setMethod</a>( <span class="keyword">const</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> &amp;value )
<a name="l00273"></a>00273 {
<a name="l00274"></a>00274     <span class="keywordflow">if</span>(impl) <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a9a30ec2a6d1728f7602cd32f5fc66ef4" title="Adds a new attribute.">setAttribute</a>(ATTR_METHOD, value);
<a name="l00275"></a>00275 }
<a name="l00276"></a>00276 
<a name="l00277"></a><a class="code" href="classDOM_1_1HTMLFormElement.html#aab859b140c7b72cff3310b7fa11bfa9e">00277</a> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> <a class="code" href="classDOM_1_1HTMLFormElement.html#aab859b140c7b72cff3310b7fa11bfa9e" title="Frame to render the resource in.">HTMLFormElement::target</a>()<span class="keyword"> const</span>
<a name="l00278"></a>00278 <span class="keyword"></span>{
<a name="l00279"></a>00279     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a>();
<a name="l00280"></a>00280     <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a31272d86d7acd89e7140b34cf507742e" title="Retrieves an attribute value by name.">getAttribute</a>(ATTR_TARGET);
<a name="l00281"></a>00281 }
<a name="l00282"></a>00282 
<a name="l00283"></a><a class="code" href="classDOM_1_1HTMLFormElement.html#ac252fe603c456b5c1ad0fed4d352bf45">00283</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLFormElement.html#ac252fe603c456b5c1ad0fed4d352bf45" title="see target">HTMLFormElement::setTarget</a>( <span class="keyword">const</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> &amp;value )
<a name="l00284"></a>00284 {
<a name="l00285"></a>00285     <span class="keywordflow">if</span>(impl) <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a9a30ec2a6d1728f7602cd32f5fc66ef4" title="Adds a new attribute.">setAttribute</a>(ATTR_TARGET, value);
<a name="l00286"></a>00286 }
<a name="l00287"></a>00287 
<a name="l00288"></a><a class="code" href="classDOM_1_1HTMLFormElement.html#aa8246badcfd4859c5eaa3dd8e271be66">00288</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLFormElement.html#aa8246badcfd4859c5eaa3dd8e271be66" title="Submits the form.">HTMLFormElement::submit</a>(  )
<a name="l00289"></a>00289 {
<a name="l00290"></a>00290     <span class="keywordflow">if</span>(impl) <span class="keyword">static_cast&lt;</span>HTMLFormElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1HTMLFormElement.html#aa8246badcfd4859c5eaa3dd8e271be66" title="Submits the form.">submit</a>(  );
<a name="l00291"></a>00291 }
<a name="l00292"></a>00292 
<a name="l00293"></a><a class="code" href="classDOM_1_1HTMLFormElement.html#a6016f60a9531e91587e8f2295319eecd">00293</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLFormElement.html#a6016f60a9531e91587e8f2295319eecd" title="Restores a form element&#39;s default values.">HTMLFormElement::reset</a>(  )
<a name="l00294"></a>00294 {
<a name="l00295"></a>00295     <span class="keywordflow">if</span>(impl) <span class="keyword">static_cast&lt;</span>HTMLFormElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1HTMLFormElement.html#a6016f60a9531e91587e8f2295319eecd" title="Restores a form element&#39;s default values.">reset</a>(  );
<a name="l00296"></a>00296 }
<a name="l00297"></a>00297 
<a name="l00298"></a>00298 <span class="comment">// --------------------------------------------------------------------------</span>
<a name="l00299"></a>00299 
<a name="l00300"></a>00300 HTMLInputElement::HTMLInputElement() : <a class="code" href="classDOM_1_1HTMLElement.html" title="All HTML element interfaces derive from this class.">HTMLElement</a>()
<a name="l00301"></a>00301 {
<a name="l00302"></a>00302 }
<a name="l00303"></a>00303 
<a name="l00304"></a>00304 HTMLInputElement::HTMLInputElement(<span class="keyword">const</span> <a class="code" href="classDOM_1_1HTMLInputElement.html" title="Form control.">HTMLInputElement</a> &amp;other) : <a class="code" href="classDOM_1_1HTMLElement.html" title="All HTML element interfaces derive from this class.">HTMLElement</a>(other)
<a name="l00305"></a>00305 {
<a name="l00306"></a>00306 }
<a name="l00307"></a>00307 
<a name="l00308"></a>00308 HTMLInputElement::HTMLInputElement(HTMLInputElementImpl *impl) : <a class="code" href="classDOM_1_1HTMLElement.html" title="All HTML element interfaces derive from this class.">HTMLElement</a>(impl)
<a name="l00309"></a>00309 {
<a name="l00310"></a>00310 }
<a name="l00311"></a>00311 
<a name="l00312"></a>00312 <a class="code" href="classDOM_1_1HTMLInputElement.html" title="Form control.">HTMLInputElement</a> &amp;HTMLInputElement::operator = (<span class="keyword">const</span> <a class="code" href="classDOM_1_1Node.html" title="The Node interface is the primary datatype for the entire Document Object Model.">Node</a> &amp;other)
<a name="l00313"></a>00313 {
<a name="l00314"></a>00314     assignOther( other, ID_INPUT );
<a name="l00315"></a>00315     <span class="keywordflow">return</span> *<span class="keyword">this</span>;
<a name="l00316"></a>00316 }
<a name="l00317"></a>00317 
<a name="l00318"></a>00318 <a class="code" href="classDOM_1_1HTMLInputElement.html" title="Form control.">HTMLInputElement</a> &amp;HTMLInputElement::operator = (<span class="keyword">const</span> <a class="code" href="classDOM_1_1HTMLInputElement.html" title="Form control.">HTMLInputElement</a> &amp;other)
<a name="l00319"></a>00319 {
<a name="l00320"></a>00320     HTMLElement::operator = (other);
<a name="l00321"></a>00321     <span class="keywordflow">return</span> *<span class="keyword">this</span>;
<a name="l00322"></a>00322 }
<a name="l00323"></a>00323 
<a name="l00324"></a>00324 HTMLInputElement::~HTMLInputElement()
<a name="l00325"></a>00325 {
<a name="l00326"></a>00326 }
<a name="l00327"></a>00327 
<a name="l00328"></a><a class="code" href="classDOM_1_1HTMLInputElement.html#a09282a077d89333b7d9f307a6e8d861b">00328</a> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> <a class="code" href="classDOM_1_1HTMLInputElement.html#a09282a077d89333b7d9f307a6e8d861b" title="Stores the initial control value (i.e., the initial value of value ).">HTMLInputElement::defaultValue</a>()<span class="keyword"> const</span>
<a name="l00329"></a>00329 <span class="keyword"></span>{
<a name="l00330"></a>00330     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a>();
<a name="l00331"></a>00331     <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> s = <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a31272d86d7acd89e7140b34cf507742e" title="Retrieves an attribute value by name.">getAttribute</a>(ATTR_VALUE);
<a name="l00332"></a>00332     <span class="keywordflow">if</span> (s.isNull()) <span class="keywordflow">return</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a>(<span class="stringliteral">&quot;&quot;</span>);
<a name="l00333"></a>00333     <span class="keywordflow">return</span> s;
<a name="l00334"></a>00334 
<a name="l00335"></a>00335 }
<a name="l00336"></a>00336 
<a name="l00337"></a><a class="code" href="classDOM_1_1HTMLInputElement.html#adf5de4b8f4ecefc1039478474b7c9bca">00337</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLInputElement.html#adf5de4b8f4ecefc1039478474b7c9bca" title="see defaultValue">HTMLInputElement::setDefaultValue</a>( <span class="keyword">const</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> &amp;value )
<a name="l00338"></a>00338 {
<a name="l00339"></a>00339     <span class="keywordflow">if</span>(impl) ((ElementImpl *)impl)-&gt;setAttribute(ATTR_VALUE, value);
<a name="l00340"></a>00340 }
<a name="l00341"></a>00341 
<a name="l00342"></a><a class="code" href="classDOM_1_1HTMLInputElement.html#a672bdff19bb245f0a417194dc28495b9">00342</a> <span class="keywordtype">bool</span> <a class="code" href="classDOM_1_1HTMLInputElement.html#a672bdff19bb245f0a417194dc28495b9" title="When type has the value &quot;Radio&quot; or &quot;Checkbox&quot;, stores the initial value of the checked attribute...">HTMLInputElement::defaultChecked</a>()<span class="keyword"> const</span>
<a name="l00343"></a>00343 <span class="keyword"></span>{
<a name="l00344"></a>00344     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> 0;
<a name="l00345"></a>00345     <span class="keywordflow">return</span> !((ElementImpl *)impl)-&gt;getAttribute(ATTR_CHECKED).isNull();
<a name="l00346"></a>00346 }
<a name="l00347"></a>00347 
<a name="l00348"></a><a class="code" href="classDOM_1_1HTMLInputElement.html#a57d43b3834e587fe4d2ac7d24aab8ad3">00348</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLInputElement.html#a57d43b3834e587fe4d2ac7d24aab8ad3" title="see defaultChecked">HTMLInputElement::setDefaultChecked</a>( <span class="keywordtype">bool</span> _defaultChecked )
<a name="l00349"></a>00349 {
<a name="l00350"></a>00350     <span class="keywordflow">if</span>(impl)
<a name="l00351"></a>00351     ((ElementImpl *)impl)-&gt;setAttribute(ATTR_CHECKED, _defaultChecked ? <span class="stringliteral">&quot;&quot;</span> : 0);
<a name="l00352"></a>00352 }
<a name="l00353"></a>00353 
<a name="l00354"></a><a class="code" href="classDOM_1_1HTMLInputElement.html#a00fd6bf659163b9e6f768599096b2eb4">00354</a> <a class="code" href="classDOM_1_1HTMLFormElement.html" title="The FORM element encompasses behavior similar to a collection and an element.">HTMLFormElement</a> <a class="code" href="classDOM_1_1HTMLInputElement.html#a00fd6bf659163b9e6f768599096b2eb4" title="### KDE 4.0: remove.">HTMLInputElement::form</a>()<span class="keyword"> const</span>
<a name="l00355"></a>00355 <span class="keyword"></span>{
<a name="l00356"></a>00356     <span class="keywordflow">return</span> <a class="code" href="classDOM_1_1HTMLInputElement.html#a00fd6bf659163b9e6f768599096b2eb4" title="### KDE 4.0: remove.">Element::form</a>();
<a name="l00357"></a>00357 }
<a name="l00358"></a>00358 
<a name="l00359"></a><a class="code" href="classDOM_1_1HTMLInputElement.html#a46f81b85d950f5ebdf75180eb9a3bbf1">00359</a> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> <a class="code" href="classDOM_1_1HTMLInputElement.html#a46f81b85d950f5ebdf75180eb9a3bbf1" title="A comma-separated list of content types that a server processing this form will handle correctly...">HTMLInputElement::accept</a>()<span class="keyword"> const</span>
<a name="l00360"></a>00360 <span class="keyword"></span>{
<a name="l00361"></a>00361     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a>();
<a name="l00362"></a>00362     <span class="keywordflow">return</span> ((ElementImpl *)impl)-&gt;getAttribute(ATTR_ACCEPT);
<a name="l00363"></a>00363 }
<a name="l00364"></a>00364 
<a name="l00365"></a><a class="code" href="classDOM_1_1HTMLInputElement.html#abc26768adda82be62d03d108db519f01">00365</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLInputElement.html#abc26768adda82be62d03d108db519f01" title="see accept">HTMLInputElement::setAccept</a>( <span class="keyword">const</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> &amp;value )
<a name="l00366"></a>00366 {
<a name="l00367"></a>00367     <span class="keywordflow">if</span>(impl) ((ElementImpl *)impl)-&gt;setAttribute(ATTR_ACCEPT, value);
<a name="l00368"></a>00368 }
<a name="l00369"></a>00369 
<a name="l00370"></a><a class="code" href="classDOM_1_1HTMLInputElement.html#a9432517ea568fa04fae2019b4dc5dc12">00370</a> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> <a class="code" href="classDOM_1_1HTMLInputElement.html#a9432517ea568fa04fae2019b4dc5dc12" title="A single character access key to give access to the form control.">HTMLInputElement::accessKey</a>()<span class="keyword"> const</span>
<a name="l00371"></a>00371 <span class="keyword"></span>{
<a name="l00372"></a>00372     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a>();
<a name="l00373"></a>00373     <span class="keywordflow">return</span> ((ElementImpl *)impl)-&gt;getAttribute(ATTR_ACCESSKEY);
<a name="l00374"></a>00374 }
<a name="l00375"></a>00375 
<a name="l00376"></a><a class="code" href="classDOM_1_1HTMLInputElement.html#a52f5c8274a9b45380c6050ddb0be873b">00376</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLInputElement.html#a52f5c8274a9b45380c6050ddb0be873b" title="see accessKey">HTMLInputElement::setAccessKey</a>( <span class="keyword">const</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> &amp;value )
<a name="l00377"></a>00377 {
<a name="l00378"></a>00378     <span class="keywordflow">if</span>(impl) ((ElementImpl *)impl)-&gt;setAttribute(ATTR_ACCESSKEY, value);
<a name="l00379"></a>00379 }
<a name="l00380"></a>00380 
<a name="l00381"></a><a class="code" href="classDOM_1_1HTMLInputElement.html#a650b52f4a3d99a40061e4e53b058a652">00381</a> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> <a class="code" href="classDOM_1_1HTMLInputElement.html#a650b52f4a3d99a40061e4e53b058a652" title="Aligns this object (vertically or horizontally) with respect to its surrounding text.">HTMLInputElement::align</a>()<span class="keyword"> const</span>
<a name="l00382"></a>00382 <span class="keyword"></span>{
<a name="l00383"></a>00383     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a>();
<a name="l00384"></a>00384     <span class="keywordflow">return</span> ((ElementImpl *)impl)-&gt;getAttribute(ATTR_ALIGN);
<a name="l00385"></a>00385 }
<a name="l00386"></a>00386 
<a name="l00387"></a><a class="code" href="classDOM_1_1HTMLInputElement.html#a8623266b081434e1bbbca32965d8ec28">00387</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLInputElement.html#a8623266b081434e1bbbca32965d8ec28" title="see align">HTMLInputElement::setAlign</a>( <span class="keyword">const</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> &amp;value )
<a name="l00388"></a>00388 {
<a name="l00389"></a>00389     <span class="keywordflow">if</span>(impl) ((ElementImpl *)impl)-&gt;setAttribute(ATTR_ALIGN, value);
<a name="l00390"></a>00390 }
<a name="l00391"></a>00391 
<a name="l00392"></a><a class="code" href="classDOM_1_1HTMLInputElement.html#a77f3e464b596f52aea377855a13da3eb">00392</a> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> <a class="code" href="classDOM_1_1HTMLInputElement.html#a77f3e464b596f52aea377855a13da3eb" title="Alternate text for user agents not rendering the normal content of this element.">HTMLInputElement::alt</a>()<span class="keyword"> const</span>
<a name="l00393"></a>00393 <span class="keyword"></span>{
<a name="l00394"></a>00394     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a>();
<a name="l00395"></a>00395     <span class="keywordflow">return</span> ((ElementImpl *)impl)-&gt;getAttribute(ATTR_ALT);
<a name="l00396"></a>00396 }
<a name="l00397"></a>00397 
<a name="l00398"></a><a class="code" href="classDOM_1_1HTMLInputElement.html#a7bb5102aa7cb5b52de9602e80ca1707d">00398</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLInputElement.html#a7bb5102aa7cb5b52de9602e80ca1707d" title="see alt">HTMLInputElement::setAlt</a>( <span class="keyword">const</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> &amp;value )
<a name="l00399"></a>00399 {
<a name="l00400"></a>00400     <span class="keywordflow">if</span>(impl) ((ElementImpl *)impl)-&gt;setAttribute(ATTR_ALT, value);
<a name="l00401"></a>00401 }
<a name="l00402"></a>00402 
<a name="l00403"></a><a class="code" href="classDOM_1_1HTMLInputElement.html#a0d39c56d80aacad53da05fcfad7146a0">00403</a> <span class="keywordtype">bool</span> <a class="code" href="classDOM_1_1HTMLInputElement.html#a0d39c56d80aacad53da05fcfad7146a0" title="Describes whether a radio or check box is checked, when type has the value &quot;Radio&quot; or &quot;Checkbox&quot;...">HTMLInputElement::checked</a>()<span class="keyword"> const</span>
<a name="l00404"></a>00404 <span class="keyword"></span>{
<a name="l00405"></a>00405     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> 0;
<a name="l00406"></a>00406     <span class="keywordflow">return</span> ((HTMLInputElementImpl*)impl)-&gt;checked();
<a name="l00407"></a>00407 }
<a name="l00408"></a>00408 
<a name="l00409"></a><a class="code" href="classDOM_1_1HTMLInputElement.html#a706b02e09d055b11836f4dff6187d8d2">00409</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLInputElement.html#a706b02e09d055b11836f4dff6187d8d2" title="see checked">HTMLInputElement::setChecked</a>( <span class="keywordtype">bool</span> _checked )
<a name="l00410"></a>00410 {
<a name="l00411"></a>00411     <span class="keywordflow">if</span>(impl)
<a name="l00412"></a>00412     ((HTMLInputElementImpl*)impl)-&gt;setChecked(_checked);
<a name="l00413"></a>00413 }
<a name="l00414"></a>00414 
<a name="l00415"></a><a class="code" href="classDOM_1_1HTMLInputElement.html#a9cb76676d3fa05d16377abdca4e42214">00415</a> <span class="keywordtype">bool</span> <a class="code" href="classDOM_1_1HTMLInputElement.html#a9cb76676d3fa05d16377abdca4e42214" title="Describes whether a radio box is indeterminate.">HTMLInputElement::indeterminate</a>()<span class="keyword"> const</span>
<a name="l00416"></a>00416 <span class="keyword"></span>{
<a name="l00417"></a>00417     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> 0;
<a name="l00418"></a>00418     <span class="keywordflow">return</span> ((HTMLInputElementImpl*)impl)-&gt;indeterminate();
<a name="l00419"></a>00419 }
<a name="l00420"></a>00420 
<a name="l00421"></a><a class="code" href="classDOM_1_1HTMLInputElement.html#aeb8dd5e6af3fe88f4d3e5da14f3557d4">00421</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLInputElement.html#aeb8dd5e6af3fe88f4d3e5da14f3557d4" title="see indeterminate">HTMLInputElement::setIndeterminate</a>( <span class="keywordtype">bool</span> _indeterminate )
<a name="l00422"></a>00422 {
<a name="l00423"></a>00423     <span class="keywordflow">if</span>(impl)
<a name="l00424"></a>00424     ((HTMLInputElementImpl*)impl)-&gt;setIndeterminate(_indeterminate);
<a name="l00425"></a>00425 }
<a name="l00426"></a>00426 
<a name="l00427"></a><a class="code" href="classDOM_1_1HTMLInputElement.html#a03ddfc6a8e4cd2962a8ee31d4ff7578b">00427</a> <span class="keywordtype">bool</span> <a class="code" href="classDOM_1_1HTMLInputElement.html#a03ddfc6a8e4cd2962a8ee31d4ff7578b" title="The control is unavailable in this context.">HTMLInputElement::disabled</a>()<span class="keyword"> const</span>
<a name="l00428"></a>00428 <span class="keyword"></span>{
<a name="l00429"></a>00429     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> 0;
<a name="l00430"></a>00430     <span class="keywordflow">return</span> !((ElementImpl *)impl)-&gt;getAttribute(ATTR_DISABLED).isNull();
<a name="l00431"></a>00431 }
<a name="l00432"></a>00432 
<a name="l00433"></a><a class="code" href="classDOM_1_1HTMLInputElement.html#ad1bd66242c3e78d84cbd392e343a88ee">00433</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLInputElement.html#ad1bd66242c3e78d84cbd392e343a88ee" title="see disabled">HTMLInputElement::setDisabled</a>( <span class="keywordtype">bool</span> _disabled )
<a name="l00434"></a>00434 {
<a name="l00435"></a>00435     <span class="keywordflow">if</span>(impl)
<a name="l00436"></a>00436     {
<a name="l00437"></a>00437     ((ElementImpl *)impl)-&gt;setAttribute(ATTR_DISABLED, _disabled ? <span class="stringliteral">&quot;&quot;</span> : 0);
<a name="l00438"></a>00438     }
<a name="l00439"></a>00439 }
<a name="l00440"></a>00440 
<a name="l00441"></a><a class="code" href="classDOM_1_1HTMLInputElement.html#a774cda80e70927cdbe2889e48c5fc466">00441</a> <span class="keywordtype">long</span> <a class="code" href="classDOM_1_1HTMLInputElement.html#a774cda80e70927cdbe2889e48c5fc466" title="Maximum number of characters for text fields, when type has the value &quot;Text&quot; or &quot;Password&quot;.">HTMLInputElement::maxLength</a>()<span class="keyword"> const</span>
<a name="l00442"></a>00442 <span class="keyword"></span>{
<a name="l00443"></a>00443     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> 0;
<a name="l00444"></a>00444     <span class="keywordflow">return</span> ((HTMLInputElementImpl *)impl)-&gt;getAttribute(ATTR_MAXLENGTH).toInt();
<a name="l00445"></a>00445 }
<a name="l00446"></a>00446 
<a name="l00447"></a><a class="code" href="classDOM_1_1HTMLInputElement.html#a950483968e8476c8fe4aa4dfbf2de9cf">00447</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLInputElement.html#a950483968e8476c8fe4aa4dfbf2de9cf" title="see maxLength">HTMLInputElement::setMaxLength</a>( <span class="keywordtype">long</span> _maxLength )
<a name="l00448"></a>00448 {
<a name="l00449"></a>00449     <span class="keywordflow">if</span>(impl) {
<a name="l00450"></a>00450         <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> <a class="code" href="classDOM_1_1HTMLInputElement.html#ac3583096ec7c7f7d650ef6071a5a4324" title="The current form control value.">value</a>(<a class="codeRef" href="qstring.html#number">QString::number</a>(_maxLength));
<a name="l00451"></a>00451         ((ElementImpl *)impl)-&gt;setAttribute(ATTR_MAXLENGTH,value);
<a name="l00452"></a>00452     }
<a name="l00453"></a>00453 }
<a name="l00454"></a>00454 
<a name="l00455"></a><a class="code" href="classDOM_1_1HTMLInputElement.html#a38f0da07c93d40732625f02aae767616">00455</a> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> <a class="code" href="classDOM_1_1HTMLInputElement.html#a38f0da07c93d40732625f02aae767616" title="Form control or object name when submitted with a form.">HTMLInputElement::name</a>()<span class="keyword"> const</span>
<a name="l00456"></a>00456 <span class="keyword"></span>{
<a name="l00457"></a>00457     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a>();
<a name="l00458"></a>00458     <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span>HTMLInputElementImpl* const<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1HTMLInputElement.html#a38f0da07c93d40732625f02aae767616" title="Form control or object name when submitted with a form.">name</a>();
<a name="l00459"></a>00459 }
<a name="l00460"></a>00460 
<a name="l00461"></a><a class="code" href="classDOM_1_1HTMLInputElement.html#a97bbf0d90ce268ab7b93dc3fcc3c1a13">00461</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLInputElement.html#a97bbf0d90ce268ab7b93dc3fcc3c1a13" title="see name">HTMLInputElement::setName</a>( <span class="keyword">const</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> &amp;value )
<a name="l00462"></a>00462 {
<a name="l00463"></a>00463     <span class="keywordflow">if</span>(impl) <span class="keyword">static_cast&lt;</span>HTMLInputElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1HTMLInputElement.html#a97bbf0d90ce268ab7b93dc3fcc3c1a13" title="see name">setName</a>(value);
<a name="l00464"></a>00464 }
<a name="l00465"></a>00465 
<a name="l00466"></a><a class="code" href="classDOM_1_1HTMLInputElement.html#a1a8e1327f66de08465eaf501f4b4f672">00466</a> <span class="keywordtype">bool</span> <a class="code" href="classDOM_1_1HTMLInputElement.html#a1a8e1327f66de08465eaf501f4b4f672" title="This control is read-only.">HTMLInputElement::readOnly</a>()<span class="keyword"> const</span>
<a name="l00467"></a>00467 <span class="keyword"></span>{
<a name="l00468"></a>00468     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> 0;
<a name="l00469"></a>00469     <span class="keywordflow">return</span> !<span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a31272d86d7acd89e7140b34cf507742e" title="Retrieves an attribute value by name.">getAttribute</a>(ATTR_READONLY).isNull();
<a name="l00470"></a>00470 }
<a name="l00471"></a>00471 
<a name="l00472"></a><a class="code" href="classDOM_1_1HTMLInputElement.html#ad9c062e72113cabc88682ca68a846446">00472</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLInputElement.html#ad9c062e72113cabc88682ca68a846446" title="see readOnly">HTMLInputElement::setReadOnly</a>( <span class="keywordtype">bool</span> _readOnly )
<a name="l00473"></a>00473 {
<a name="l00474"></a>00474     <span class="keywordflow">if</span>(impl)
<a name="l00475"></a>00475     <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a9a30ec2a6d1728f7602cd32f5fc66ef4" title="Adds a new attribute.">setAttribute</a>(ATTR_READONLY, _readOnly ? <span class="stringliteral">&quot;&quot;</span> : 0);
<a name="l00476"></a>00476 }
<a name="l00477"></a>00477 
<a name="l00478"></a>00478 <span class="comment">/* The next two are provided for backwards compatibility. */</span>
<a name="l00479"></a><a class="code" href="classDOM_1_1HTMLInputElement.html#ac9a0b9dada7cd746bed32ab0f262f651">00479</a> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> <a class="code" href="classDOM_1_1HTMLInputElement.html#ac9a0b9dada7cd746bed32ab0f262f651">HTMLInputElement::size</a>()<span class="keyword"> const</span>
<a name="l00480"></a>00480 <span class="keyword"></span>{
<a name="l00481"></a>00481     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a>();
<a name="l00482"></a>00482     <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a31272d86d7acd89e7140b34cf507742e" title="Retrieves an attribute value by name.">getAttribute</a>(ATTR_SIZE);
<a name="l00483"></a>00483 }
<a name="l00484"></a>00484 
<a name="l00485"></a><a class="code" href="classDOM_1_1HTMLInputElement.html#a553b52284f732c8cab4e545bddf26612">00485</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLInputElement.html#a553b52284f732c8cab4e545bddf26612">HTMLInputElement::setSize</a>( <span class="keyword">const</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> &amp;value )
<a name="l00486"></a>00486 {
<a name="l00487"></a>00487     <span class="keywordflow">if</span>(impl) <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a9a30ec2a6d1728f7602cd32f5fc66ef4" title="Adds a new attribute.">setAttribute</a>(ATTR_SIZE, value);
<a name="l00488"></a>00488 }
<a name="l00489"></a>00489 
<a name="l00490"></a><a class="code" href="classDOM_1_1HTMLInputElement.html#a41ac43b7ce0c4d021e20a5ec51ce7f8c">00490</a> <span class="keywordtype">long</span> <a class="code" href="classDOM_1_1HTMLInputElement.html#a41ac43b7ce0c4d021e20a5ec51ce7f8c" title="Size information.">HTMLInputElement::getSize</a>()<span class="keyword"> const</span>
<a name="l00491"></a>00491 <span class="keyword"></span>{
<a name="l00492"></a>00492     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> 0;
<a name="l00493"></a>00493     <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a31272d86d7acd89e7140b34cf507742e" title="Retrieves an attribute value by name.">getAttribute</a>(ATTR_SIZE).toInt();
<a name="l00494"></a>00494 }
<a name="l00495"></a>00495 
<a name="l00496"></a><a class="code" href="classDOM_1_1HTMLInputElement.html#a17a1097b1d45416014cdac4048211f90">00496</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLInputElement.html#a553b52284f732c8cab4e545bddf26612">HTMLInputElement::setSize</a>( <span class="keywordtype">long</span> value )
<a name="l00497"></a>00497 {
<a name="l00498"></a>00498     <span class="keywordflow">if</span>(impl) <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a9a30ec2a6d1728f7602cd32f5fc66ef4" title="Adds a new attribute.">setAttribute</a>(ATTR_SIZE, <a class="codeRef" href="qstring.html#number">QString::number</a>(value));
<a name="l00499"></a>00499 }
<a name="l00500"></a>00500 
<a name="l00501"></a><a class="code" href="classDOM_1_1HTMLInputElement.html#add84960c2bb7a2566e006b8e94d010ff">00501</a> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> <a class="code" href="classDOM_1_1HTMLInputElement.html#add84960c2bb7a2566e006b8e94d010ff" title="When the type attribute has the value &quot;Image&quot;, this attribute specifies the location of the image to ...">HTMLInputElement::src</a>()<span class="keyword"> const</span>
<a name="l00502"></a>00502 <span class="keyword"></span>{
<a name="l00503"></a>00503     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a>();
<a name="l00504"></a>00504     <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> s = <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a31272d86d7acd89e7140b34cf507742e" title="Retrieves an attribute value by name.">getAttribute</a>(ATTR_SRC);
<a name="l00505"></a>00505     <span class="keywordflow">return</span> !s.isNull() ? impl-&gt;getDocument()-&gt;completeURL( s.string() ) : s;
<a name="l00506"></a>00506 }
<a name="l00507"></a>00507 
<a name="l00508"></a><a class="code" href="classDOM_1_1HTMLInputElement.html#a709daa77adc6a52e14823ad63d63ed5a">00508</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLInputElement.html#a709daa77adc6a52e14823ad63d63ed5a" title="see src">HTMLInputElement::setSrc</a>( <span class="keyword">const</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> &amp;value )
<a name="l00509"></a>00509 {
<a name="l00510"></a>00510     <span class="keywordflow">if</span>(impl) <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a9a30ec2a6d1728f7602cd32f5fc66ef4" title="Adds a new attribute.">setAttribute</a>(ATTR_SRC, value);
<a name="l00511"></a>00511 }
<a name="l00512"></a>00512 
<a name="l00513"></a><a class="code" href="classDOM_1_1HTMLInputElement.html#a167f01408b46f1d35bf58f6bea5bb58c">00513</a> <span class="keywordtype">long</span> <a class="code" href="classDOM_1_1HTMLInputElement.html#a167f01408b46f1d35bf58f6bea5bb58c" title="Index that represents the element&#39;s position in the tabbing order.">HTMLInputElement::tabIndex</a>()<span class="keyword"> const</span>
<a name="l00514"></a>00514 <span class="keyword"></span>{
<a name="l00515"></a>00515     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> 0;
<a name="l00516"></a>00516     <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1HTMLInputElement.html#a167f01408b46f1d35bf58f6bea5bb58c" title="Index that represents the element&#39;s position in the tabbing order.">tabIndex</a>();
<a name="l00517"></a>00517 }
<a name="l00518"></a>00518 
<a name="l00519"></a><a class="code" href="classDOM_1_1HTMLInputElement.html#a0f1a144a55eb4c051b912de9c0fd86a3">00519</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLInputElement.html#a0f1a144a55eb4c051b912de9c0fd86a3" title="see tabIndex">HTMLInputElement::setTabIndex</a>( <span class="keywordtype">long</span> _tabIndex )
<a name="l00520"></a>00520 {
<a name="l00521"></a>00521     <span class="keywordflow">if</span> (!impl) <span class="keywordflow">return</span>;
<a name="l00522"></a>00522     <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1HTMLInputElement.html#a0f1a144a55eb4c051b912de9c0fd86a3" title="see tabIndex">setTabIndex</a>(_tabIndex);
<a name="l00523"></a>00523 }
<a name="l00524"></a>00524 
<a name="l00525"></a><a class="code" href="classDOM_1_1HTMLInputElement.html#a211ab94e6b058d40a43675f0d0438db8">00525</a> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> <a class="code" href="classDOM_1_1HTMLInputElement.html#a211ab94e6b058d40a43675f0d0438db8" title="The type of control created.">HTMLInputElement::type</a>()<span class="keyword"> const</span>
<a name="l00526"></a>00526 <span class="keyword"></span>{
<a name="l00527"></a>00527     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a>();
<a name="l00528"></a>00528     <span class="keywordflow">return</span> ((HTMLInputElementImpl *)impl)-&gt;type();
<a name="l00529"></a>00529 }
<a name="l00530"></a>00530 
<a name="l00531"></a><a class="code" href="classDOM_1_1HTMLInputElement.html#a6171d075ca33bf0dd915707789747162">00531</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLInputElement.html#a6171d075ca33bf0dd915707789747162" title="see type">HTMLInputElement::setType</a>(<span class="keyword">const</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a>&amp; _type)
<a name="l00532"></a>00532 {
<a name="l00533"></a>00533     <span class="keywordflow">if</span> (!impl) <span class="keywordflow">return</span>;
<a name="l00534"></a>00534     <span class="keyword">static_cast&lt;</span>HTMLInputElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1HTMLInputElement.html#a6171d075ca33bf0dd915707789747162" title="see type">setType</a>(_type);
<a name="l00535"></a>00535 }
<a name="l00536"></a>00536 
<a name="l00537"></a><a class="code" href="classDOM_1_1HTMLInputElement.html#a0d4fcdc949a8f7c1ee2648d7354e6ff9">00537</a> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> <a class="code" href="classDOM_1_1HTMLInputElement.html#a0d4fcdc949a8f7c1ee2648d7354e6ff9" title="Use client-side image map.">HTMLInputElement::useMap</a>()<span class="keyword"> const</span>
<a name="l00538"></a>00538 <span class="keyword"></span>{
<a name="l00539"></a>00539     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a>();
<a name="l00540"></a>00540     <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a31272d86d7acd89e7140b34cf507742e" title="Retrieves an attribute value by name.">getAttribute</a>(ATTR_USEMAP);
<a name="l00541"></a>00541 }
<a name="l00542"></a>00542 
<a name="l00543"></a><a class="code" href="classDOM_1_1HTMLInputElement.html#a9f71bdadd23d8f272af70eefbf1e1832">00543</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLInputElement.html#a9f71bdadd23d8f272af70eefbf1e1832" title="see useMap">HTMLInputElement::setUseMap</a>( <span class="keyword">const</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> &amp;value )
<a name="l00544"></a>00544 {
<a name="l00545"></a>00545     <span class="keywordflow">if</span>(impl) <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a9a30ec2a6d1728f7602cd32f5fc66ef4" title="Adds a new attribute.">setAttribute</a>(ATTR_USEMAP, value);
<a name="l00546"></a>00546 }
<a name="l00547"></a>00547 
<a name="l00548"></a><a class="code" href="classDOM_1_1HTMLInputElement.html#ac3583096ec7c7f7d650ef6071a5a4324">00548</a> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> <a class="code" href="classDOM_1_1HTMLInputElement.html#ac3583096ec7c7f7d650ef6071a5a4324" title="The current form control value.">HTMLInputElement::value</a>()<span class="keyword"> const</span>
<a name="l00549"></a>00549 <span class="keyword"></span>{
<a name="l00550"></a>00550     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a>();
<a name="l00551"></a>00551     <span class="keywordflow">return</span> ((HTMLInputElementImpl*)impl)-&gt;value();
<a name="l00552"></a>00552 }
<a name="l00553"></a>00553 
<a name="l00554"></a><a class="code" href="classDOM_1_1HTMLInputElement.html#ac920152db1a5ff3142f88e226fff91eb">00554</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLInputElement.html#ac920152db1a5ff3142f88e226fff91eb" title="see value">HTMLInputElement::setValue</a>( <span class="keyword">const</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> &amp;value )
<a name="l00555"></a>00555 {
<a name="l00556"></a>00556     <span class="keywordflow">if</span> (impl)
<a name="l00557"></a>00557     ((HTMLInputElementImpl*)impl)-&gt;setValue(value);
<a name="l00558"></a>00558 
<a name="l00559"></a>00559 }
<a name="l00560"></a>00560 
<a name="l00561"></a><a class="code" href="classDOM_1_1HTMLInputElement.html#ac07480ae04e0799462894592503de6b0">00561</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLInputElement.html#ac07480ae04e0799462894592503de6b0" title="Removes keyboard focus from this element.">HTMLInputElement::blur</a>(  )
<a name="l00562"></a>00562 {
<a name="l00563"></a>00563     <span class="keywordflow">if</span>(impl)
<a name="l00564"></a>00564     ((HTMLInputElementImpl*)impl)-&gt;blur();
<a name="l00565"></a>00565 }
<a name="l00566"></a>00566 
<a name="l00567"></a><a class="code" href="classDOM_1_1HTMLInputElement.html#a8abf9a1e402ff9f35b3f39b13aa16b37">00567</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLInputElement.html#a8abf9a1e402ff9f35b3f39b13aa16b37" title="Gives keyboard focus to this element.">HTMLInputElement::focus</a>(  )
<a name="l00568"></a>00568 {
<a name="l00569"></a>00569     <span class="keywordflow">if</span>(impl)
<a name="l00570"></a>00570     ((HTMLInputElementImpl*)impl)-&gt;focus();
<a name="l00571"></a>00571 }
<a name="l00572"></a>00572 
<a name="l00573"></a><a class="code" href="classDOM_1_1HTMLInputElement.html#a8cc1d2bcbbb727d50442c05cf3f91f13">00573</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLInputElement.html#a8cc1d2bcbbb727d50442c05cf3f91f13" title="Select the contents of the text area.">HTMLInputElement::select</a>(  )
<a name="l00574"></a>00574 {
<a name="l00575"></a>00575     <span class="keywordflow">if</span>(impl)
<a name="l00576"></a>00576     ((HTMLInputElementImpl *)impl)-&gt;select(  );
<a name="l00577"></a>00577 }
<a name="l00578"></a>00578 
<a name="l00579"></a><a class="code" href="classDOM_1_1HTMLInputElement.html#adbc5df701063fcfb285736e9cccb212d">00579</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLInputElement.html#adbc5df701063fcfb285736e9cccb212d" title="Simulate a mouse-click.">HTMLInputElement::click</a>(  )
<a name="l00580"></a>00580 {
<a name="l00581"></a>00581     <span class="keywordflow">if</span>(impl)
<a name="l00582"></a>00582     ((HTMLInputElementImpl *)impl)-&gt;click(  );
<a name="l00583"></a>00583 }
<a name="l00584"></a>00584 
<a name="l00585"></a><a class="code" href="classDOM_1_1HTMLInputElement.html#a2749f64e0f6bf61565fbcd3d232c1780">00585</a> <span class="keywordtype">long</span> <a class="code" href="classDOM_1_1HTMLInputElement.html#a2749f64e0f6bf61565fbcd3d232c1780" title="Returns the character offset of beginning of selection, or if none, the cursor position.">HTMLInputElement::selectionStart</a>()
<a name="l00586"></a>00586 {
<a name="l00587"></a>00587     <span class="keywordflow">if</span> (impl)
<a name="l00588"></a>00588     <span class="keywordflow">return</span> ((HTMLInputElementImpl *)impl)-&gt;selectionStart(  );
<a name="l00589"></a>00589     <span class="keywordflow">return</span> -1;
<a name="l00590"></a>00590 }
<a name="l00591"></a>00591 
<a name="l00592"></a><a class="code" href="classDOM_1_1HTMLInputElement.html#a07635b21a8bb9306f4b11ea56ac73440">00592</a> <span class="keywordtype">long</span> <a class="code" href="classDOM_1_1HTMLInputElement.html#a07635b21a8bb9306f4b11ea56ac73440" title="Returns the character offset of end of selection, or if none, the cursor position.">HTMLInputElement::selectionEnd</a>()
<a name="l00593"></a>00593 {
<a name="l00594"></a>00594     <span class="keywordflow">if</span> (impl)
<a name="l00595"></a>00595     <span class="keywordflow">return</span> ((HTMLInputElementImpl *)impl)-&gt;selectionEnd(  );
<a name="l00596"></a>00596     <span class="keywordflow">return</span> -1;
<a name="l00597"></a>00597 }
<a name="l00598"></a>00598 
<a name="l00599"></a><a class="code" href="classDOM_1_1HTMLInputElement.html#aafdf95e626ceb4d027d0412dfc2703a7">00599</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLInputElement.html#aafdf95e626ceb4d027d0412dfc2703a7" title="Move the beginning of the selection to the given offset in text This call has no effect if the type o...">HTMLInputElement::setSelectionStart</a>(<span class="keywordtype">long</span> pos)
<a name="l00600"></a>00600 {
<a name="l00601"></a>00601     <span class="keywordflow">if</span> (impl)
<a name="l00602"></a>00602     ((HTMLInputElementImpl *)impl)-&gt;setSelectionStart( pos );
<a name="l00603"></a>00603 }
<a name="l00604"></a>00604 
<a name="l00605"></a><a class="code" href="classDOM_1_1HTMLInputElement.html#aebb5c4e05a3496f67cf3c579930ab3f7">00605</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLInputElement.html#aebb5c4e05a3496f67cf3c579930ab3f7" title="Move the end of the selection (and the cursor) to the given offset in text This call has no effect if...">HTMLInputElement::setSelectionEnd</a>(<span class="keywordtype">long</span> pos)
<a name="l00606"></a>00606 {
<a name="l00607"></a>00607     <span class="keywordflow">if</span> (impl)
<a name="l00608"></a>00608     ((HTMLInputElementImpl *)impl)-&gt;setSelectionEnd( pos );
<a name="l00609"></a>00609 }
<a name="l00610"></a>00610 
<a name="l00611"></a><a class="code" href="classDOM_1_1HTMLInputElement.html#a8457b35ade7031b4627604a9e9711a3c">00611</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLInputElement.html#a8457b35ade7031b4627604a9e9711a3c" title="Makes the position span from start to end, and positions the cursor after the selection.">HTMLInputElement::setSelectionRange</a>(<span class="keywordtype">long</span> start, <span class="keywordtype">long</span> end)
<a name="l00612"></a>00612 {
<a name="l00613"></a>00613     <span class="keywordflow">if</span> (impl)
<a name="l00614"></a>00614     ((HTMLInputElementImpl *)impl)-&gt;setSelectionRange( start, end );
<a name="l00615"></a>00615 }
<a name="l00616"></a>00616 
<a name="l00617"></a>00617 <span class="comment">// --------------------------------------------------------------------------</span>
<a name="l00618"></a>00618 
<a name="l00619"></a>00619 HTMLLabelElement::HTMLLabelElement() : <a class="code" href="classDOM_1_1HTMLElement.html" title="All HTML element interfaces derive from this class.">HTMLElement</a>()
<a name="l00620"></a>00620 {
<a name="l00621"></a>00621 }
<a name="l00622"></a>00622 
<a name="l00623"></a>00623 HTMLLabelElement::HTMLLabelElement(<span class="keyword">const</span> <a class="code" href="classDOM_1_1HTMLLabelElement.html" title="Form field label text.">HTMLLabelElement</a> &amp;other) : <a class="code" href="classDOM_1_1HTMLElement.html" title="All HTML element interfaces derive from this class.">HTMLElement</a>(other)
<a name="l00624"></a>00624 {
<a name="l00625"></a>00625 }
<a name="l00626"></a>00626 
<a name="l00627"></a>00627 HTMLLabelElement::HTMLLabelElement(HTMLLabelElementImpl *impl) : <a class="code" href="classDOM_1_1HTMLElement.html" title="All HTML element interfaces derive from this class.">HTMLElement</a>(impl)
<a name="l00628"></a>00628 {
<a name="l00629"></a>00629 }
<a name="l00630"></a>00630 
<a name="l00631"></a>00631 <a class="code" href="classDOM_1_1HTMLLabelElement.html" title="Form field label text.">HTMLLabelElement</a> &amp;HTMLLabelElement::operator = (<span class="keyword">const</span> <a class="code" href="classDOM_1_1Node.html" title="The Node interface is the primary datatype for the entire Document Object Model.">Node</a> &amp;other)
<a name="l00632"></a>00632 {
<a name="l00633"></a>00633     assignOther( other, ID_LABEL );
<a name="l00634"></a>00634     <span class="keywordflow">return</span> *<span class="keyword">this</span>;
<a name="l00635"></a>00635 }
<a name="l00636"></a>00636 
<a name="l00637"></a>00637 <a class="code" href="classDOM_1_1HTMLLabelElement.html" title="Form field label text.">HTMLLabelElement</a> &amp;HTMLLabelElement::operator = (<span class="keyword">const</span> <a class="code" href="classDOM_1_1HTMLLabelElement.html" title="Form field label text.">HTMLLabelElement</a> &amp;other)
<a name="l00638"></a>00638 {
<a name="l00639"></a>00639     HTMLElement::operator = (other);
<a name="l00640"></a>00640     <span class="keywordflow">return</span> *<span class="keyword">this</span>;
<a name="l00641"></a>00641 }
<a name="l00642"></a>00642 
<a name="l00643"></a>00643 HTMLLabelElement::~HTMLLabelElement()
<a name="l00644"></a>00644 {
<a name="l00645"></a>00645 }
<a name="l00646"></a>00646 
<a name="l00647"></a><a class="code" href="classDOM_1_1HTMLLabelElement.html#a5f3d3ce7e62a0135828fb72434a08c4a">00647</a> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> <a class="code" href="classDOM_1_1HTMLLabelElement.html#a5f3d3ce7e62a0135828fb72434a08c4a" title="A single character access key to give access to the form control.">HTMLLabelElement::accessKey</a>()<span class="keyword"> const</span>
<a name="l00648"></a>00648 <span class="keyword"></span>{
<a name="l00649"></a>00649     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a>();
<a name="l00650"></a>00650     <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a31272d86d7acd89e7140b34cf507742e" title="Retrieves an attribute value by name.">getAttribute</a>(ATTR_ACCESSKEY);
<a name="l00651"></a>00651 }
<a name="l00652"></a>00652 
<a name="l00653"></a><a class="code" href="classDOM_1_1HTMLLabelElement.html#afa58dc6a841c0bd592202ad14387a0b8">00653</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLLabelElement.html#afa58dc6a841c0bd592202ad14387a0b8" title="see accessKey">HTMLLabelElement::setAccessKey</a>( <span class="keyword">const</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> &amp;value )
<a name="l00654"></a>00654 {
<a name="l00655"></a>00655     <span class="keywordflow">if</span>(impl) <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a9a30ec2a6d1728f7602cd32f5fc66ef4" title="Adds a new attribute.">setAttribute</a>(ATTR_ACCESSKEY, value);
<a name="l00656"></a>00656 }
<a name="l00657"></a>00657 
<a name="l00658"></a><a class="code" href="classDOM_1_1HTMLLabelElement.html#ad34f1a4b4db6433a40d9c11fa9a21fbe">00658</a> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> <a class="code" href="classDOM_1_1HTMLLabelElement.html#ad34f1a4b4db6433a40d9c11fa9a21fbe" title="This attribute links this label with another form control by id attribute.">HTMLLabelElement::htmlFor</a>()<span class="keyword"> const</span>
<a name="l00659"></a>00659 <span class="keyword"></span>{
<a name="l00660"></a>00660     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a>();
<a name="l00661"></a>00661     <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a31272d86d7acd89e7140b34cf507742e" title="Retrieves an attribute value by name.">getAttribute</a>(ATTR_FOR);
<a name="l00662"></a>00662 }
<a name="l00663"></a>00663 
<a name="l00664"></a><a class="code" href="classDOM_1_1HTMLLabelElement.html#a4cce78d3711f99c4fb45274d11669a6e">00664</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLLabelElement.html#a4cce78d3711f99c4fb45274d11669a6e" title="see htmlFor">HTMLLabelElement::setHtmlFor</a>( <span class="keyword">const</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> &amp;value )
<a name="l00665"></a>00665 {
<a name="l00666"></a>00666     <span class="keywordflow">if</span>(impl) <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a9a30ec2a6d1728f7602cd32f5fc66ef4" title="Adds a new attribute.">setAttribute</a>(ATTR_FOR, value);
<a name="l00667"></a>00667 }
<a name="l00668"></a>00668 
<a name="l00669"></a>00669 <span class="comment">// --------------------------------------------------------------------------</span>
<a name="l00670"></a>00670 
<a name="l00671"></a>00671 HTMLLegendElement::HTMLLegendElement() : <a class="code" href="classDOM_1_1HTMLElement.html" title="All HTML element interfaces derive from this class.">HTMLElement</a>()
<a name="l00672"></a>00672 {
<a name="l00673"></a>00673 }
<a name="l00674"></a>00674 
<a name="l00675"></a>00675 HTMLLegendElement::HTMLLegendElement(<span class="keyword">const</span> <a class="code" href="classDOM_1_1HTMLLegendElement.html" title="Provides a caption for a FIELDSET grouping.">HTMLLegendElement</a> &amp;other) : <a class="code" href="classDOM_1_1HTMLElement.html" title="All HTML element interfaces derive from this class.">HTMLElement</a>(other)
<a name="l00676"></a>00676 {
<a name="l00677"></a>00677 }
<a name="l00678"></a>00678 
<a name="l00679"></a>00679 HTMLLegendElement::HTMLLegendElement(HTMLLegendElementImpl *impl) : <a class="code" href="classDOM_1_1HTMLElement.html" title="All HTML element interfaces derive from this class.">HTMLElement</a>(impl)
<a name="l00680"></a>00680 {
<a name="l00681"></a>00681 }
<a name="l00682"></a>00682 
<a name="l00683"></a>00683 <a class="code" href="classDOM_1_1HTMLLegendElement.html" title="Provides a caption for a FIELDSET grouping.">HTMLLegendElement</a> &amp;HTMLLegendElement::operator = (<span class="keyword">const</span> <a class="code" href="classDOM_1_1Node.html" title="The Node interface is the primary datatype for the entire Document Object Model.">Node</a> &amp;other)
<a name="l00684"></a>00684 {
<a name="l00685"></a>00685     assignOther( other, ID_LEGEND );
<a name="l00686"></a>00686     <span class="keywordflow">return</span> *<span class="keyword">this</span>;
<a name="l00687"></a>00687 }
<a name="l00688"></a>00688 
<a name="l00689"></a>00689 <a class="code" href="classDOM_1_1HTMLLegendElement.html" title="Provides a caption for a FIELDSET grouping.">HTMLLegendElement</a> &amp;HTMLLegendElement::operator = (<span class="keyword">const</span> <a class="code" href="classDOM_1_1HTMLLegendElement.html" title="Provides a caption for a FIELDSET grouping.">HTMLLegendElement</a> &amp;other)
<a name="l00690"></a>00690 {
<a name="l00691"></a>00691     HTMLElement::operator = (other);
<a name="l00692"></a>00692     <span class="keywordflow">return</span> *<span class="keyword">this</span>;
<a name="l00693"></a>00693 }
<a name="l00694"></a>00694 
<a name="l00695"></a>00695 HTMLLegendElement::~HTMLLegendElement()
<a name="l00696"></a>00696 {
<a name="l00697"></a>00697 }
<a name="l00698"></a>00698 
<a name="l00699"></a><a class="code" href="classDOM_1_1HTMLLegendElement.html#a628937415e189405c66e01742bf32623">00699</a> <a class="code" href="classDOM_1_1HTMLFormElement.html" title="The FORM element encompasses behavior similar to a collection and an element.">HTMLFormElement</a> <a class="code" href="classDOM_1_1HTMLLegendElement.html#a628937415e189405c66e01742bf32623" title="### KDE 4.0: remove">HTMLLegendElement::form</a>()<span class="keyword"> const</span>
<a name="l00700"></a>00700 <span class="keyword"></span>{
<a name="l00701"></a>00701     <span class="keywordflow">return</span> <a class="code" href="classDOM_1_1HTMLLegendElement.html#a628937415e189405c66e01742bf32623" title="### KDE 4.0: remove">Element::form</a>();
<a name="l00702"></a>00702 }
<a name="l00703"></a>00703 
<a name="l00704"></a><a class="code" href="classDOM_1_1HTMLLegendElement.html#a4c6c13b49015c391c613c551bac5795d">00704</a> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> <a class="code" href="classDOM_1_1HTMLLegendElement.html#a4c6c13b49015c391c613c551bac5795d" title="A single character access key to give access to the form control.">HTMLLegendElement::accessKey</a>()<span class="keyword"> const</span>
<a name="l00705"></a>00705 <span class="keyword"></span>{
<a name="l00706"></a>00706     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a>();
<a name="l00707"></a>00707     <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a31272d86d7acd89e7140b34cf507742e" title="Retrieves an attribute value by name.">getAttribute</a>(ATTR_ACCESSKEY);
<a name="l00708"></a>00708 }
<a name="l00709"></a>00709 
<a name="l00710"></a><a class="code" href="classDOM_1_1HTMLLegendElement.html#a3d47523f11a7a1af25eb1098be1a04da">00710</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLLegendElement.html#a3d47523f11a7a1af25eb1098be1a04da" title="see accessKey">HTMLLegendElement::setAccessKey</a>( <span class="keyword">const</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> &amp;value )
<a name="l00711"></a>00711 {
<a name="l00712"></a>00712     <span class="keywordflow">if</span>(impl) <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a9a30ec2a6d1728f7602cd32f5fc66ef4" title="Adds a new attribute.">setAttribute</a>(ATTR_ACCESSKEY, value);
<a name="l00713"></a>00713 }
<a name="l00714"></a>00714 
<a name="l00715"></a><a class="code" href="classDOM_1_1HTMLLegendElement.html#af8076f32fac161731d836f67033250df">00715</a> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> <a class="code" href="classDOM_1_1HTMLLegendElement.html#af8076f32fac161731d836f67033250df" title="Text alignment relative to FIELDSET .">HTMLLegendElement::align</a>()<span class="keyword"> const</span>
<a name="l00716"></a>00716 <span class="keyword"></span>{
<a name="l00717"></a>00717     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a>();
<a name="l00718"></a>00718     <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a31272d86d7acd89e7140b34cf507742e" title="Retrieves an attribute value by name.">getAttribute</a>(ATTR_ALIGN);
<a name="l00719"></a>00719 }
<a name="l00720"></a>00720 
<a name="l00721"></a><a class="code" href="classDOM_1_1HTMLLegendElement.html#a2747c80a2ca917579e9440710c3cc3e3">00721</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLLegendElement.html#a2747c80a2ca917579e9440710c3cc3e3" title="see align">HTMLLegendElement::setAlign</a>( <span class="keyword">const</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> &amp;value )
<a name="l00722"></a>00722 {
<a name="l00723"></a>00723     <span class="keywordflow">if</span>(impl) <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a9a30ec2a6d1728f7602cd32f5fc66ef4" title="Adds a new attribute.">setAttribute</a>(ATTR_ALIGN, value);
<a name="l00724"></a>00724 }
<a name="l00725"></a>00725 
<a name="l00726"></a>00726 <span class="comment">// --------------------------------------------------------------------------</span>
<a name="l00727"></a>00727 
<a name="l00728"></a>00728 HTMLOptGroupElement::HTMLOptGroupElement() : <a class="code" href="classDOM_1_1HTMLElement.html" title="All HTML element interfaces derive from this class.">HTMLElement</a>()
<a name="l00729"></a>00729 {
<a name="l00730"></a>00730 }
<a name="l00731"></a>00731 
<a name="l00732"></a>00732 HTMLOptGroupElement::HTMLOptGroupElement(<span class="keyword">const</span> <a class="code" href="classDOM_1_1HTMLOptGroupElement.html" title="Group options together in logical subdivisions.">HTMLOptGroupElement</a> &amp;other) : <a class="code" href="classDOM_1_1HTMLElement.html" title="All HTML element interfaces derive from this class.">HTMLElement</a>(other)
<a name="l00733"></a>00733 {
<a name="l00734"></a>00734 }
<a name="l00735"></a>00735 
<a name="l00736"></a>00736 HTMLOptGroupElement::HTMLOptGroupElement(HTMLOptGroupElementImpl *impl) : <a class="code" href="classDOM_1_1HTMLElement.html" title="All HTML element interfaces derive from this class.">HTMLElement</a>(impl)
<a name="l00737"></a>00737 {
<a name="l00738"></a>00738 }
<a name="l00739"></a>00739 
<a name="l00740"></a>00740 <a class="code" href="classDOM_1_1HTMLOptGroupElement.html" title="Group options together in logical subdivisions.">HTMLOptGroupElement</a> &amp;HTMLOptGroupElement::operator = (<span class="keyword">const</span> <a class="code" href="classDOM_1_1Node.html" title="The Node interface is the primary datatype for the entire Document Object Model.">Node</a> &amp;other)
<a name="l00741"></a>00741 {
<a name="l00742"></a>00742     assignOther( other, ID_OPTGROUP );
<a name="l00743"></a>00743     <span class="keywordflow">return</span> *<span class="keyword">this</span>;
<a name="l00744"></a>00744 }
<a name="l00745"></a>00745 
<a name="l00746"></a>00746 <a class="code" href="classDOM_1_1HTMLOptGroupElement.html" title="Group options together in logical subdivisions.">HTMLOptGroupElement</a> &amp;HTMLOptGroupElement::operator = (<span class="keyword">const</span> <a class="code" href="classDOM_1_1HTMLOptGroupElement.html" title="Group options together in logical subdivisions.">HTMLOptGroupElement</a> &amp;other)
<a name="l00747"></a>00747 {
<a name="l00748"></a>00748     HTMLElement::operator = (other);
<a name="l00749"></a>00749     <span class="keywordflow">return</span> *<span class="keyword">this</span>;
<a name="l00750"></a>00750 }
<a name="l00751"></a>00751 
<a name="l00752"></a>00752 HTMLOptGroupElement::~HTMLOptGroupElement()
<a name="l00753"></a>00753 {
<a name="l00754"></a>00754 }
<a name="l00755"></a>00755 
<a name="l00756"></a><a class="code" href="classDOM_1_1HTMLOptGroupElement.html#ad2ee6c62c0ec85127ef2d13941182409">00756</a> <span class="keywordtype">bool</span> <a class="code" href="classDOM_1_1HTMLOptGroupElement.html#ad2ee6c62c0ec85127ef2d13941182409" title="The control is unavailable in this context.">HTMLOptGroupElement::disabled</a>()<span class="keyword"> const</span>
<a name="l00757"></a>00757 <span class="keyword"></span>{
<a name="l00758"></a>00758     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> 0;
<a name="l00759"></a>00759     <span class="keywordflow">return</span> !<span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a31272d86d7acd89e7140b34cf507742e" title="Retrieves an attribute value by name.">getAttribute</a>(ATTR_DISABLED).isNull();
<a name="l00760"></a>00760 }
<a name="l00761"></a>00761 
<a name="l00762"></a><a class="code" href="classDOM_1_1HTMLOptGroupElement.html#a10129d71f444ce49c1aa88f62689e1cf">00762</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLOptGroupElement.html#a10129d71f444ce49c1aa88f62689e1cf" title="see disabled">HTMLOptGroupElement::setDisabled</a>( <span class="keywordtype">bool</span> _disabled )
<a name="l00763"></a>00763 {
<a name="l00764"></a>00764     <span class="keywordflow">if</span>(impl)
<a name="l00765"></a>00765     <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a9a30ec2a6d1728f7602cd32f5fc66ef4" title="Adds a new attribute.">setAttribute</a>(ATTR_DISABLED, _disabled ? <span class="stringliteral">&quot;&quot;</span> : 0);
<a name="l00766"></a>00766 }
<a name="l00767"></a>00767 
<a name="l00768"></a><a class="code" href="classDOM_1_1HTMLOptGroupElement.html#a746db99b5869d5bb817162c95bcd46d3">00768</a> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> <a class="code" href="classDOM_1_1HTMLOptGroupElement.html#a746db99b5869d5bb817162c95bcd46d3" title="Assigns a label to this option group.">HTMLOptGroupElement::label</a>()<span class="keyword"> const</span>
<a name="l00769"></a>00769 <span class="keyword"></span>{
<a name="l00770"></a>00770     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a>();
<a name="l00771"></a>00771     <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a31272d86d7acd89e7140b34cf507742e" title="Retrieves an attribute value by name.">getAttribute</a>(ATTR_LABEL);
<a name="l00772"></a>00772 }
<a name="l00773"></a>00773 
<a name="l00774"></a><a class="code" href="classDOM_1_1HTMLOptGroupElement.html#ac7591343403ae17a73631ad4f69d0afe">00774</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLOptGroupElement.html#ac7591343403ae17a73631ad4f69d0afe" title="see label">HTMLOptGroupElement::setLabel</a>( <span class="keyword">const</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> &amp;value )
<a name="l00775"></a>00775 {
<a name="l00776"></a>00776     <span class="keywordflow">if</span>(impl) <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a9a30ec2a6d1728f7602cd32f5fc66ef4" title="Adds a new attribute.">setAttribute</a>(ATTR_LABEL, value);
<a name="l00777"></a>00777 }
<a name="l00778"></a>00778 
<a name="l00779"></a>00779 <span class="comment">// --------------------------------------------------------------------------</span>
<a name="l00780"></a>00780 
<a name="l00781"></a>00781 HTMLSelectElement::HTMLSelectElement() : <a class="code" href="classDOM_1_1HTMLElement.html" title="All HTML element interfaces derive from this class.">HTMLElement</a>()
<a name="l00782"></a>00782 {
<a name="l00783"></a>00783 }
<a name="l00784"></a>00784 
<a name="l00785"></a>00785 HTMLSelectElement::HTMLSelectElement(<span class="keyword">const</span> <a class="code" href="classDOM_1_1HTMLSelectElement.html" title="The select element allows the selection of an option.">HTMLSelectElement</a> &amp;other) : <a class="code" href="classDOM_1_1HTMLElement.html" title="All HTML element interfaces derive from this class.">HTMLElement</a>(other)
<a name="l00786"></a>00786 {
<a name="l00787"></a>00787 }
<a name="l00788"></a>00788 
<a name="l00789"></a>00789 HTMLSelectElement::HTMLSelectElement(HTMLSelectElementImpl *impl) : <a class="code" href="classDOM_1_1HTMLElement.html" title="All HTML element interfaces derive from this class.">HTMLElement</a>(impl)
<a name="l00790"></a>00790 {
<a name="l00791"></a>00791 }
<a name="l00792"></a>00792 
<a name="l00793"></a>00793 <a class="code" href="classDOM_1_1HTMLSelectElement.html" title="The select element allows the selection of an option.">HTMLSelectElement</a> &amp;HTMLSelectElement::operator = (<span class="keyword">const</span> <a class="code" href="classDOM_1_1Node.html" title="The Node interface is the primary datatype for the entire Document Object Model.">Node</a> &amp;other)
<a name="l00794"></a>00794 {
<a name="l00795"></a>00795     assignOther( other, ID_SELECT );
<a name="l00796"></a>00796     <span class="keywordflow">return</span> *<span class="keyword">this</span>;
<a name="l00797"></a>00797 }
<a name="l00798"></a>00798 
<a name="l00799"></a>00799 <a class="code" href="classDOM_1_1HTMLSelectElement.html" title="The select element allows the selection of an option.">HTMLSelectElement</a> &amp;HTMLSelectElement::operator = (<span class="keyword">const</span> <a class="code" href="classDOM_1_1HTMLSelectElement.html" title="The select element allows the selection of an option.">HTMLSelectElement</a> &amp;other)
<a name="l00800"></a>00800 {
<a name="l00801"></a>00801     HTMLElement::operator = (other);
<a name="l00802"></a>00802     <span class="keywordflow">return</span> *<span class="keyword">this</span>;
<a name="l00803"></a>00803 }
<a name="l00804"></a>00804 
<a name="l00805"></a>00805 HTMLSelectElement::~HTMLSelectElement()
<a name="l00806"></a>00806 {
<a name="l00807"></a>00807 }
<a name="l00808"></a>00808 
<a name="l00809"></a><a class="code" href="classDOM_1_1HTMLSelectElement.html#a76ee08345cece523b885cd6a9642b167">00809</a> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> <a class="code" href="classDOM_1_1HTMLSelectElement.html#a76ee08345cece523b885cd6a9642b167" title="The type of control created.">HTMLSelectElement::type</a>()<span class="keyword"> const</span>
<a name="l00810"></a>00810 <span class="keyword"></span>{
<a name="l00811"></a>00811     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a>();
<a name="l00812"></a>00812     <span class="keywordflow">return</span> ((HTMLSelectElementImpl *)impl)-&gt;type();
<a name="l00813"></a>00813 }
<a name="l00814"></a>00814 
<a name="l00815"></a><a class="code" href="classDOM_1_1HTMLSelectElement.html#a320b97380a226fa4b2ca9f110f8daea1">00815</a> <span class="keywordtype">long</span> <a class="code" href="classDOM_1_1HTMLSelectElement.html#a320b97380a226fa4b2ca9f110f8daea1" title="The ordinal index of the selected option.">HTMLSelectElement::selectedIndex</a>()<span class="keyword"> const</span>
<a name="l00816"></a>00816 <span class="keyword"></span>{
<a name="l00817"></a>00817     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> 0;
<a name="l00818"></a>00818     <span class="keywordflow">return</span> ((HTMLSelectElementImpl *)impl)-&gt;selectedIndex();
<a name="l00819"></a>00819 }
<a name="l00820"></a>00820 
<a name="l00821"></a><a class="code" href="classDOM_1_1HTMLSelectElement.html#a7a312145df349e2882d6e3047b93275b">00821</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLSelectElement.html#a7a312145df349e2882d6e3047b93275b" title="see selectedIndex">HTMLSelectElement::setSelectedIndex</a>( <span class="keywordtype">long</span> _selectedIndex )
<a name="l00822"></a>00822 {
<a name="l00823"></a>00823     <span class="keywordflow">if</span>(impl)
<a name="l00824"></a>00824         ((HTMLSelectElementImpl *)impl)-&gt;setSelectedIndex(_selectedIndex);
<a name="l00825"></a>00825 }
<a name="l00826"></a>00826 
<a name="l00827"></a><a class="code" href="classDOM_1_1HTMLSelectElement.html#afe1d69641d10c9b801ac5562c4c2e09e">00827</a> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> <a class="code" href="classDOM_1_1HTMLSelectElement.html#afe1d69641d10c9b801ac5562c4c2e09e" title="The current form control value.">HTMLSelectElement::value</a>()<span class="keyword"> const</span>
<a name="l00828"></a>00828 <span class="keyword"></span>{
<a name="l00829"></a>00829     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a>();
<a name="l00830"></a>00830     <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span>HTMLSelectElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1HTMLSelectElement.html#afe1d69641d10c9b801ac5562c4c2e09e" title="The current form control value.">value</a>();
<a name="l00831"></a>00831 }
<a name="l00832"></a>00832 
<a name="l00833"></a><a class="code" href="classDOM_1_1HTMLSelectElement.html#a1f653e09af42bd6ad80d820357d1d358">00833</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLSelectElement.html#a1f653e09af42bd6ad80d820357d1d358" title="see value">HTMLSelectElement::setValue</a>( <span class="keyword">const</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> &amp;value )
<a name="l00834"></a>00834 {
<a name="l00835"></a>00835     <span class="keywordflow">if</span>(!impl || value.isNull()) <span class="keywordflow">return</span>;
<a name="l00836"></a>00836     <span class="keyword">static_cast&lt;</span>HTMLSelectElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1HTMLSelectElement.html#a1f653e09af42bd6ad80d820357d1d358" title="see value">setValue</a>(value.implementation());
<a name="l00837"></a>00837 }
<a name="l00838"></a>00838 
<a name="l00839"></a><a class="code" href="classDOM_1_1HTMLSelectElement.html#af5c5439e8267bcbbbd3e703a42568a20">00839</a> <span class="keywordtype">long</span> <a class="code" href="classDOM_1_1HTMLSelectElement.html#af5c5439e8267bcbbbd3e703a42568a20" title="The number of options in this SELECT .">HTMLSelectElement::length</a>()<span class="keyword"> const</span>
<a name="l00840"></a>00840 <span class="keyword"></span>{
<a name="l00841"></a>00841     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> 0;
<a name="l00842"></a>00842     <span class="keywordflow">return</span> ((HTMLSelectElementImpl *)impl)-&gt;length();
<a name="l00843"></a>00843 }
<a name="l00844"></a>00844 
<a name="l00845"></a><a class="code" href="classDOM_1_1HTMLSelectElement.html#a758ca117a7a6c79c47494a2dd06ac78e">00845</a> <a class="code" href="classDOM_1_1HTMLFormElement.html" title="The FORM element encompasses behavior similar to a collection and an element.">HTMLFormElement</a> <a class="code" href="classDOM_1_1HTMLSelectElement.html#a758ca117a7a6c79c47494a2dd06ac78e" title="### KDE 4.0: remove.">HTMLSelectElement::form</a>()<span class="keyword"> const</span>
<a name="l00846"></a>00846 <span class="keyword"></span>{
<a name="l00847"></a>00847     <span class="keywordflow">return</span> <a class="code" href="classDOM_1_1HTMLSelectElement.html#a758ca117a7a6c79c47494a2dd06ac78e" title="### KDE 4.0: remove.">Element::form</a>();
<a name="l00848"></a>00848 }
<a name="l00849"></a>00849 
<a name="l00850"></a><a class="code" href="classDOM_1_1HTMLSelectElement.html#ad6678acb8311c3fe38a5d491be3db83b">00850</a> <a class="code" href="classDOM_1_1HTMLCollection.html" title="An HTMLCollection is a list of nodes.">HTMLCollection</a> <a class="code" href="classDOM_1_1HTMLSelectElement.html#ad6678acb8311c3fe38a5d491be3db83b" title="The collection of OPTION elements contained by this element.">HTMLSelectElement::options</a>()<span class="keyword"> const</span>
<a name="l00851"></a>00851 <span class="keyword"></span>{
<a name="l00852"></a>00852     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> <a class="code" href="classDOM_1_1HTMLCollection.html" title="An HTMLCollection is a list of nodes.">HTMLCollection</a>();
<a name="l00853"></a>00853     <span class="keywordflow">return</span> <a class="code" href="classDOM_1_1HTMLCollection.html" title="An HTMLCollection is a list of nodes.">HTMLCollection</a>(impl, HTMLCollectionImpl::SELECT_OPTIONS);
<a name="l00854"></a>00854 }
<a name="l00855"></a>00855 
<a name="l00856"></a><a class="code" href="classDOM_1_1HTMLSelectElement.html#af682ee5356ef9179cfad7f581dc30d8c">00856</a> <span class="keywordtype">bool</span> <a class="code" href="classDOM_1_1HTMLSelectElement.html#af682ee5356ef9179cfad7f581dc30d8c" title="The control is unavailable in this context.">HTMLSelectElement::disabled</a>()<span class="keyword"> const</span>
<a name="l00857"></a>00857 <span class="keyword"></span>{
<a name="l00858"></a>00858     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> 0;
<a name="l00859"></a>00859     <span class="keywordflow">return</span> !<span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a31272d86d7acd89e7140b34cf507742e" title="Retrieves an attribute value by name.">getAttribute</a>(ATTR_DISABLED).isNull();
<a name="l00860"></a>00860 }
<a name="l00861"></a>00861 
<a name="l00862"></a><a class="code" href="classDOM_1_1HTMLSelectElement.html#afeddf1a8b5855571c56d2d6f7636e0b1">00862</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLSelectElement.html#afeddf1a8b5855571c56d2d6f7636e0b1" title="see disabled">HTMLSelectElement::setDisabled</a>( <span class="keywordtype">bool</span> _disabled )
<a name="l00863"></a>00863 {
<a name="l00864"></a>00864     <span class="keywordflow">if</span>(impl) <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a9a30ec2a6d1728f7602cd32f5fc66ef4" title="Adds a new attribute.">setAttribute</a>(ATTR_DISABLED, _disabled ? <span class="stringliteral">&quot;&quot;</span> : 0);
<a name="l00865"></a>00865 }
<a name="l00866"></a>00866 
<a name="l00867"></a>00867 
<a name="l00868"></a><a class="code" href="classDOM_1_1HTMLSelectElement.html#ab1b0402009c79751b6baf5ec2238981b">00868</a> <span class="keywordtype">bool</span> <a class="code" href="classDOM_1_1HTMLSelectElement.html#ab1b0402009c79751b6baf5ec2238981b" title="If true, multiple OPTION elements may be selected in this SELECT .">HTMLSelectElement::multiple</a>()<span class="keyword"> const</span>
<a name="l00869"></a>00869 <span class="keyword"></span>{
<a name="l00870"></a>00870     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> 0;
<a name="l00871"></a>00871     <span class="keywordflow">return</span> !<span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a31272d86d7acd89e7140b34cf507742e" title="Retrieves an attribute value by name.">getAttribute</a>(ATTR_MULTIPLE).isNull();
<a name="l00872"></a>00872 }
<a name="l00873"></a>00873 
<a name="l00874"></a><a class="code" href="classDOM_1_1HTMLSelectElement.html#afea3434d3ca3d024d768845c23cb8ce4">00874</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLSelectElement.html#afea3434d3ca3d024d768845c23cb8ce4" title="see multiple">HTMLSelectElement::setMultiple</a>( <span class="keywordtype">bool</span> _multiple )
<a name="l00875"></a>00875 {
<a name="l00876"></a>00876     <span class="keywordflow">if</span>(impl) <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a9a30ec2a6d1728f7602cd32f5fc66ef4" title="Adds a new attribute.">setAttribute</a>(ATTR_MULTIPLE, _multiple ? <span class="stringliteral">&quot;&quot;</span> : 0);
<a name="l00877"></a>00877 }
<a name="l00878"></a>00878 
<a name="l00879"></a><a class="code" href="classDOM_1_1HTMLSelectElement.html#acd9772aabf5f717fe414aeddafcccf25">00879</a> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> <a class="code" href="classDOM_1_1HTMLSelectElement.html#acd9772aabf5f717fe414aeddafcccf25" title="Form control or object name when submitted with a form.">HTMLSelectElement::name</a>()<span class="keyword"> const</span>
<a name="l00880"></a>00880 <span class="keyword"></span>{
<a name="l00881"></a>00881     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a>();
<a name="l00882"></a>00882     <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span>HTMLSelectElementImpl* const<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1HTMLSelectElement.html#acd9772aabf5f717fe414aeddafcccf25" title="Form control or object name when submitted with a form.">name</a>();
<a name="l00883"></a>00883 }
<a name="l00884"></a>00884 
<a name="l00885"></a><a class="code" href="classDOM_1_1HTMLSelectElement.html#abdbc35b25bc755d6c332d34163d1c15e">00885</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLSelectElement.html#abdbc35b25bc755d6c332d34163d1c15e" title="see name">HTMLSelectElement::setName</a>( <span class="keyword">const</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> &amp;value )
<a name="l00886"></a>00886 {
<a name="l00887"></a>00887     <span class="keywordflow">if</span>(impl) <span class="keyword">static_cast&lt;</span>HTMLSelectElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1HTMLSelectElement.html#abdbc35b25bc755d6c332d34163d1c15e" title="see name">setName</a>(value);
<a name="l00888"></a>00888 }
<a name="l00889"></a>00889 
<a name="l00890"></a><a class="code" href="classDOM_1_1HTMLSelectElement.html#ab261f22a3162d22899b27872d6bb368a">00890</a> <span class="keywordtype">long</span> <a class="code" href="classDOM_1_1HTMLSelectElement.html#ab261f22a3162d22899b27872d6bb368a" title="Number of visible rows.">HTMLSelectElement::size</a>()<span class="keyword"> const</span>
<a name="l00891"></a>00891 <span class="keyword"></span>{
<a name="l00892"></a>00892     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> 0;
<a name="l00893"></a>00893     <span class="keywordflow">return</span> ((HTMLSelectElementImpl *)impl)-&gt;getAttribute(ATTR_SIZE).toInt();
<a name="l00894"></a>00894 }
<a name="l00895"></a>00895 
<a name="l00896"></a><a class="code" href="classDOM_1_1HTMLSelectElement.html#ad1edca166e1d671bf010cc73564a22f1">00896</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLSelectElement.html#ad1edca166e1d671bf010cc73564a22f1" title="see size">HTMLSelectElement::setSize</a>( <span class="keywordtype">long</span> _size )
<a name="l00897"></a>00897 {
<a name="l00898"></a>00898 
<a name="l00899"></a>00899     <span class="keywordflow">if</span>(impl) {
<a name="l00900"></a>00900     <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> <a class="code" href="classDOM_1_1HTMLSelectElement.html#afe1d69641d10c9b801ac5562c4c2e09e" title="The current form control value.">value</a>(<a class="codeRef" href="qstring.html#number">QString::number</a>(_size));
<a name="l00901"></a>00901         <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a9a30ec2a6d1728f7602cd32f5fc66ef4" title="Adds a new attribute.">setAttribute</a>(ATTR_SIZE,value);
<a name="l00902"></a>00902     }
<a name="l00903"></a>00903 }
<a name="l00904"></a>00904 
<a name="l00905"></a><a class="code" href="classDOM_1_1HTMLSelectElement.html#aeca22723f8bb8f67c91d5d7d164f342a">00905</a> <span class="keywordtype">long</span> <a class="code" href="classDOM_1_1HTMLSelectElement.html#aeca22723f8bb8f67c91d5d7d164f342a" title="Index that represents the element&#39;s position in the tabbing order.">HTMLSelectElement::tabIndex</a>()<span class="keyword"> const</span>
<a name="l00906"></a>00906 <span class="keyword"></span>{
<a name="l00907"></a>00907     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> 0;
<a name="l00908"></a>00908     <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1HTMLSelectElement.html#aeca22723f8bb8f67c91d5d7d164f342a" title="Index that represents the element&#39;s position in the tabbing order.">tabIndex</a>();
<a name="l00909"></a>00909 }
<a name="l00910"></a>00910 
<a name="l00911"></a><a class="code" href="classDOM_1_1HTMLSelectElement.html#a2f00907c46ceb35097f6a4786c7dbf59">00911</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLSelectElement.html#a2f00907c46ceb35097f6a4786c7dbf59" title="see tabIndex">HTMLSelectElement::setTabIndex</a>( <span class="keywordtype">long</span> _tabIndex )
<a name="l00912"></a>00912 {
<a name="l00913"></a>00913     <span class="keywordflow">if</span> (!impl) <span class="keywordflow">return</span>;
<a name="l00914"></a>00914     <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1HTMLSelectElement.html#a2f00907c46ceb35097f6a4786c7dbf59" title="see tabIndex">setTabIndex</a>(_tabIndex);
<a name="l00915"></a>00915 }
<a name="l00916"></a>00916 
<a name="l00917"></a><a class="code" href="classDOM_1_1HTMLSelectElement.html#a4e6f11deb69cea80a5321d931edaecab">00917</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLSelectElement.html#a4e6f11deb69cea80a5321d931edaecab" title="Add a new element to the collection of OPTION elements for this SELECT .">HTMLSelectElement::add</a>( <span class="keyword">const</span> <a class="code" href="classDOM_1_1HTMLElement.html" title="All HTML element interfaces derive from this class.">HTMLElement</a> &amp;element, <span class="keyword">const</span> <a class="code" href="classDOM_1_1HTMLElement.html" title="All HTML element interfaces derive from this class.">HTMLElement</a> &amp;before )
<a name="l00918"></a>00918 {
<a name="l00919"></a>00919     <span class="keywordflow">if</span> (!impl)
<a name="l00920"></a>00920         <span class="keywordflow">throw</span> <a class="code" href="classDOM_1_1DOMException.html" title="DOM operations only raise exceptions in "exceptional" circumstances, i.e., when an operation is impos...">DOMException</a>(DOMException::NOT_FOUND_ERR);
<a name="l00921"></a>00921 
<a name="l00922"></a>00922     <span class="keywordtype">int</span> exceptioncode = 0;
<a name="l00923"></a>00923     <span class="keyword">static_cast&lt;</span>HTMLSelectElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1HTMLSelectElement.html#a4e6f11deb69cea80a5321d931edaecab" title="Add a new element to the collection of OPTION elements for this SELECT .">add</a>( element, before, exceptioncode );
<a name="l00924"></a>00924     <span class="keywordflow">if</span> ( exceptioncode )
<a name="l00925"></a>00925         <span class="keywordflow">throw</span> <a class="code" href="classDOM_1_1DOMException.html" title="DOM operations only raise exceptions in "exceptional" circumstances, i.e., when an operation is impos...">DOMException</a>( exceptioncode );
<a name="l00926"></a>00926 }
<a name="l00927"></a>00927 
<a name="l00928"></a><a class="code" href="classDOM_1_1HTMLSelectElement.html#aa75ccdca77e1ac811713c71709f7c247">00928</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLSelectElement.html#aa75ccdca77e1ac811713c71709f7c247" title="Remove an element from the collection of OPTION elements for this SELECT .">HTMLSelectElement::remove</a>( <span class="keywordtype">long</span> index )
<a name="l00929"></a>00929 {
<a name="l00930"></a>00930     <span class="keywordflow">if</span>(impl) <span class="keyword">static_cast&lt;</span>HTMLSelectElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<span class="keyword">remove</span>( index );
<a name="l00931"></a>00931 }
<a name="l00932"></a>00932 
<a name="l00933"></a><a class="code" href="classDOM_1_1HTMLSelectElement.html#a350786a46358ccde3bfa341164e31f3f">00933</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLSelectElement.html#a350786a46358ccde3bfa341164e31f3f" title="Removes keyboard focus from this element.">HTMLSelectElement::blur</a>(  )
<a name="l00934"></a>00934 {
<a name="l00935"></a>00935     <span class="keywordflow">if</span>(impl)
<a name="l00936"></a>00936     ((HTMLSelectElementImpl*)impl)-&gt;blur();
<a name="l00937"></a>00937 }
<a name="l00938"></a>00938 
<a name="l00939"></a><a class="code" href="classDOM_1_1HTMLSelectElement.html#af73e8720a39bb086e7daf071cf3c8056">00939</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLSelectElement.html#af73e8720a39bb086e7daf071cf3c8056" title="Gives keyboard focus to this element.">HTMLSelectElement::focus</a>(  )
<a name="l00940"></a>00940 {
<a name="l00941"></a>00941     <span class="keywordflow">if</span>(impl)
<a name="l00942"></a>00942     ((HTMLSelectElementImpl*)impl)-&gt;focus();
<a name="l00943"></a>00943 }
<a name="l00944"></a>00944 
<a name="l00945"></a>00945 <span class="comment">// --------------------------------------------------------------------------</span>
<a name="l00946"></a>00946 
<a name="l00947"></a>00947 HTMLTextAreaElement::HTMLTextAreaElement() : <a class="code" href="classDOM_1_1HTMLElement.html" title="All HTML element interfaces derive from this class.">HTMLElement</a>()
<a name="l00948"></a>00948 {
<a name="l00949"></a>00949 }
<a name="l00950"></a>00950 
<a name="l00951"></a>00951 HTMLTextAreaElement::HTMLTextAreaElement(<span class="keyword">const</span> <a class="code" href="classDOM_1_1HTMLTextAreaElement.html" title="Multi-line text field.">HTMLTextAreaElement</a> &amp;other) : <a class="code" href="classDOM_1_1HTMLElement.html" title="All HTML element interfaces derive from this class.">HTMLElement</a>(other)
<a name="l00952"></a>00952 {
<a name="l00953"></a>00953 }
<a name="l00954"></a>00954 
<a name="l00955"></a>00955 HTMLTextAreaElement::HTMLTextAreaElement(HTMLTextAreaElementImpl *impl) : <a class="code" href="classDOM_1_1HTMLElement.html" title="All HTML element interfaces derive from this class.">HTMLElement</a>(impl)
<a name="l00956"></a>00956 {
<a name="l00957"></a>00957 }
<a name="l00958"></a>00958 
<a name="l00959"></a>00959 <a class="code" href="classDOM_1_1HTMLTextAreaElement.html" title="Multi-line text field.">HTMLTextAreaElement</a> &amp;HTMLTextAreaElement::operator = (<span class="keyword">const</span> <a class="code" href="classDOM_1_1Node.html" title="The Node interface is the primary datatype for the entire Document Object Model.">Node</a> &amp;other)
<a name="l00960"></a>00960 {
<a name="l00961"></a>00961     assignOther( other, ID_TEXTAREA );
<a name="l00962"></a>00962     <span class="keywordflow">return</span> *<span class="keyword">this</span>;
<a name="l00963"></a>00963 }
<a name="l00964"></a>00964 
<a name="l00965"></a>00965 <a class="code" href="classDOM_1_1HTMLTextAreaElement.html" title="Multi-line text field.">HTMLTextAreaElement</a> &amp;HTMLTextAreaElement::operator = (<span class="keyword">const</span> <a class="code" href="classDOM_1_1HTMLTextAreaElement.html" title="Multi-line text field.">HTMLTextAreaElement</a> &amp;other)
<a name="l00966"></a>00966 {
<a name="l00967"></a>00967     HTMLElement::operator = (other);
<a name="l00968"></a>00968     <span class="keywordflow">return</span> *<span class="keyword">this</span>;
<a name="l00969"></a>00969 }
<a name="l00970"></a>00970 
<a name="l00971"></a>00971 HTMLTextAreaElement::~HTMLTextAreaElement()
<a name="l00972"></a>00972 {
<a name="l00973"></a>00973 }
<a name="l00974"></a>00974 
<a name="l00975"></a><a class="code" href="classDOM_1_1HTMLTextAreaElement.html#ac380cccb06fea746b58b9edf0f185749">00975</a> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> <a class="code" href="classDOM_1_1HTMLTextAreaElement.html#ac380cccb06fea746b58b9edf0f185749" title="Stores the initial control value (i.e., the initial value of value ).">HTMLTextAreaElement::defaultValue</a>()<span class="keyword"> const</span>
<a name="l00976"></a>00976 <span class="keyword"></span>{
<a name="l00977"></a>00977     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a>();
<a name="l00978"></a>00978     <span class="keywordflow">return</span> ((HTMLTextAreaElementImpl *)impl)-&gt;defaultValue();
<a name="l00979"></a>00979 }
<a name="l00980"></a>00980 
<a name="l00981"></a><a class="code" href="classDOM_1_1HTMLTextAreaElement.html#a8947033aa8bb7af939bc6c850dee13a7">00981</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLTextAreaElement.html#a8947033aa8bb7af939bc6c850dee13a7" title="see defaultValue">HTMLTextAreaElement::setDefaultValue</a>( <span class="keyword">const</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> &amp;value )
<a name="l00982"></a>00982 {
<a name="l00983"></a>00983     <span class="keywordflow">if</span> (impl) ((HTMLTextAreaElementImpl *)impl)-&gt;setDefaultValue(value);
<a name="l00984"></a>00984 }
<a name="l00985"></a>00985 
<a name="l00986"></a><a class="code" href="classDOM_1_1HTMLTextAreaElement.html#aa56e5a669502f7b5f7daf400024ecaa5">00986</a> <a class="code" href="classDOM_1_1HTMLFormElement.html" title="The FORM element encompasses behavior similar to a collection and an element.">HTMLFormElement</a> <a class="code" href="classDOM_1_1HTMLTextAreaElement.html#aa56e5a669502f7b5f7daf400024ecaa5" title="### KDE 4.0: remove.">HTMLTextAreaElement::form</a>()<span class="keyword"> const</span>
<a name="l00987"></a>00987 <span class="keyword"></span>{
<a name="l00988"></a>00988     <span class="keywordflow">return</span> <a class="code" href="classDOM_1_1HTMLTextAreaElement.html#aa56e5a669502f7b5f7daf400024ecaa5" title="### KDE 4.0: remove.">Element::form</a>();
<a name="l00989"></a>00989 }
<a name="l00990"></a>00990 
<a name="l00991"></a><a class="code" href="classDOM_1_1HTMLTextAreaElement.html#a6cc032d30a24f775f509c302f3bb02c2">00991</a> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> <a class="code" href="classDOM_1_1HTMLTextAreaElement.html#a6cc032d30a24f775f509c302f3bb02c2" title="A single character access key to give access to the form control.">HTMLTextAreaElement::accessKey</a>()<span class="keyword"> const</span>
<a name="l00992"></a>00992 <span class="keyword"></span>{
<a name="l00993"></a>00993     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a>();
<a name="l00994"></a>00994     <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a31272d86d7acd89e7140b34cf507742e" title="Retrieves an attribute value by name.">getAttribute</a>(ATTR_ACCESSKEY);
<a name="l00995"></a>00995 }
<a name="l00996"></a>00996 
<a name="l00997"></a><a class="code" href="classDOM_1_1HTMLTextAreaElement.html#a6789dd2c132814a44ca2c45c975e5b20">00997</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLTextAreaElement.html#a6789dd2c132814a44ca2c45c975e5b20" title="see accessKey">HTMLTextAreaElement::setAccessKey</a>( <span class="keyword">const</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> &amp;value )
<a name="l00998"></a>00998 {
<a name="l00999"></a>00999     <span class="keywordflow">if</span>(impl) <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a9a30ec2a6d1728f7602cd32f5fc66ef4" title="Adds a new attribute.">setAttribute</a>(ATTR_ACCESSKEY, value);
<a name="l01000"></a>01000 }
<a name="l01001"></a>01001 
<a name="l01002"></a><a class="code" href="classDOM_1_1HTMLTextAreaElement.html#a3489bba611c69f6241a6bc5bbf06718b">01002</a> <span class="keywordtype">long</span> <a class="code" href="classDOM_1_1HTMLTextAreaElement.html#a3489bba611c69f6241a6bc5bbf06718b" title="Width of control (in characters).">HTMLTextAreaElement::cols</a>()<span class="keyword"> const</span>
<a name="l01003"></a>01003 <span class="keyword"></span>{
<a name="l01004"></a>01004     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> 0;
<a name="l01005"></a>01005     <span class="keywordflow">return</span> ((HTMLTextAreaElementImpl *)impl)-&gt;getAttribute(ATTR_COLS).toInt();
<a name="l01006"></a>01006 }
<a name="l01007"></a>01007 
<a name="l01008"></a><a class="code" href="classDOM_1_1HTMLTextAreaElement.html#ae78868979bb63a5f61d40910e5a59122">01008</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLTextAreaElement.html#ae78868979bb63a5f61d40910e5a59122" title="see cols">HTMLTextAreaElement::setCols</a>( <span class="keywordtype">long</span> _cols )
<a name="l01009"></a>01009 {
<a name="l01010"></a>01010 
<a name="l01011"></a>01011     <span class="keywordflow">if</span>(impl) {
<a name="l01012"></a>01012     <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> <a class="code" href="classDOM_1_1HTMLTextAreaElement.html#ad67c4fec4ed2484fe59b4bbc6bab080b" title="The current textual content of the multi-line text field.">value</a>(<a class="codeRef" href="qstring.html#number">QString::number</a>(_cols));
<a name="l01013"></a>01013         <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a9a30ec2a6d1728f7602cd32f5fc66ef4" title="Adds a new attribute.">setAttribute</a>(ATTR_COLS,value);
<a name="l01014"></a>01014     }
<a name="l01015"></a>01015 }
<a name="l01016"></a>01016 
<a name="l01017"></a><a class="code" href="classDOM_1_1HTMLTextAreaElement.html#a3949b0d43741c706020820957e4583f4">01017</a> <span class="keywordtype">bool</span> <a class="code" href="classDOM_1_1HTMLTextAreaElement.html#a3949b0d43741c706020820957e4583f4" title="The control is unavailable in this context.">HTMLTextAreaElement::disabled</a>()<span class="keyword"> const</span>
<a name="l01018"></a>01018 <span class="keyword"></span>{
<a name="l01019"></a>01019     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> 0;
<a name="l01020"></a>01020     <span class="keywordflow">return</span> !<span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a31272d86d7acd89e7140b34cf507742e" title="Retrieves an attribute value by name.">getAttribute</a>(ATTR_DISABLED).isNull();
<a name="l01021"></a>01021 }
<a name="l01022"></a>01022 
<a name="l01023"></a><a class="code" href="classDOM_1_1HTMLTextAreaElement.html#a12d197c403da2e346ae6a54706b308d4">01023</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLTextAreaElement.html#a12d197c403da2e346ae6a54706b308d4" title="see disabled">HTMLTextAreaElement::setDisabled</a>( <span class="keywordtype">bool</span> _disabled )
<a name="l01024"></a>01024 {
<a name="l01025"></a>01025     <span class="keywordflow">if</span>(impl) <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a9a30ec2a6d1728f7602cd32f5fc66ef4" title="Adds a new attribute.">setAttribute</a>(ATTR_DISABLED, _disabled ? <span class="stringliteral">&quot;&quot;</span> : 0);
<a name="l01026"></a>01026 }
<a name="l01027"></a>01027 
<a name="l01028"></a><a class="code" href="classDOM_1_1HTMLTextAreaElement.html#a473ff070da68a7ad2920c366ca37b76a">01028</a> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> <a class="code" href="classDOM_1_1HTMLTextAreaElement.html#a473ff070da68a7ad2920c366ca37b76a" title="Form control or object name when submitted with a form.">HTMLTextAreaElement::name</a>()<span class="keyword"> const</span>
<a name="l01029"></a>01029 <span class="keyword"></span>{
<a name="l01030"></a>01030     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a>();
<a name="l01031"></a>01031     <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span>HTMLTextAreaElementImpl* const<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1HTMLTextAreaElement.html#a473ff070da68a7ad2920c366ca37b76a" title="Form control or object name when submitted with a form.">name</a>();
<a name="l01032"></a>01032 }
<a name="l01033"></a>01033 
<a name="l01034"></a><a class="code" href="classDOM_1_1HTMLTextAreaElement.html#ab2e5061b66a48888f135da8a29ab53b7">01034</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLTextAreaElement.html#ab2e5061b66a48888f135da8a29ab53b7" title="see name">HTMLTextAreaElement::setName</a>( <span class="keyword">const</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> &amp;value )
<a name="l01035"></a>01035 {
<a name="l01036"></a>01036     <span class="keywordflow">if</span>(impl) <span class="keyword">static_cast&lt;</span>HTMLTextAreaElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1HTMLTextAreaElement.html#ab2e5061b66a48888f135da8a29ab53b7" title="see name">setName</a>(value);
<a name="l01037"></a>01037 }
<a name="l01038"></a>01038 
<a name="l01039"></a><a class="code" href="classDOM_1_1HTMLTextAreaElement.html#a8327dd52339ac729c8077d2cc5460078">01039</a> <span class="keywordtype">bool</span> <a class="code" href="classDOM_1_1HTMLTextAreaElement.html#a8327dd52339ac729c8077d2cc5460078" title="This control is read-only.">HTMLTextAreaElement::readOnly</a>()<span class="keyword"> const</span>
<a name="l01040"></a>01040 <span class="keyword"></span>{
<a name="l01041"></a>01041     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> 0;
<a name="l01042"></a>01042     <span class="keywordflow">return</span> !<span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a31272d86d7acd89e7140b34cf507742e" title="Retrieves an attribute value by name.">getAttribute</a>(ATTR_READONLY).isNull();
<a name="l01043"></a>01043 }
<a name="l01044"></a>01044 
<a name="l01045"></a><a class="code" href="classDOM_1_1HTMLTextAreaElement.html#a4242a97988a88028651b3f0d1941f16d">01045</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLTextAreaElement.html#a4242a97988a88028651b3f0d1941f16d" title="see readOnly">HTMLTextAreaElement::setReadOnly</a>( <span class="keywordtype">bool</span> _readOnly )
<a name="l01046"></a>01046 {
<a name="l01047"></a>01047     <span class="keywordflow">if</span>(impl) <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a9a30ec2a6d1728f7602cd32f5fc66ef4" title="Adds a new attribute.">setAttribute</a>(ATTR_READONLY, _readOnly ? <span class="stringliteral">&quot;&quot;</span> : 0);
<a name="l01048"></a>01048 }
<a name="l01049"></a>01049 
<a name="l01050"></a><a class="code" href="classDOM_1_1HTMLTextAreaElement.html#a89da9bb4840eaf429434335e4f46046e">01050</a> <span class="keywordtype">long</span> <a class="code" href="classDOM_1_1HTMLTextAreaElement.html#a89da9bb4840eaf429434335e4f46046e" title="Number of text rows.">HTMLTextAreaElement::rows</a>()<span class="keyword"> const</span>
<a name="l01051"></a>01051 <span class="keyword"></span>{
<a name="l01052"></a>01052     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> 0;
<a name="l01053"></a>01053     <span class="keywordflow">return</span> ((HTMLTextAreaElementImpl *)impl)-&gt;getAttribute(ATTR_ROWS).toInt();
<a name="l01054"></a>01054 }
<a name="l01055"></a>01055 
<a name="l01056"></a><a class="code" href="classDOM_1_1HTMLTextAreaElement.html#a3733eb31a01470d65da980bd866ff034">01056</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLTextAreaElement.html#a3733eb31a01470d65da980bd866ff034" title="see rows">HTMLTextAreaElement::setRows</a>( <span class="keywordtype">long</span> _rows )
<a name="l01057"></a>01057 {
<a name="l01058"></a>01058 
<a name="l01059"></a>01059     <span class="keywordflow">if</span>(impl) {
<a name="l01060"></a>01060     <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> <a class="code" href="classDOM_1_1HTMLTextAreaElement.html#ad67c4fec4ed2484fe59b4bbc6bab080b" title="The current textual content of the multi-line text field.">value</a>(<a class="codeRef" href="qstring.html#number">QString::number</a>(_rows));
<a name="l01061"></a>01061         <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a9a30ec2a6d1728f7602cd32f5fc66ef4" title="Adds a new attribute.">setAttribute</a>(ATTR_ROWS,value);
<a name="l01062"></a>01062     }
<a name="l01063"></a>01063 }
<a name="l01064"></a>01064 
<a name="l01065"></a><a class="code" href="classDOM_1_1HTMLTextAreaElement.html#acb2bbddb48d9bf782638afbc40052fae">01065</a> <span class="keywordtype">long</span> <a class="code" href="classDOM_1_1HTMLTextAreaElement.html#acb2bbddb48d9bf782638afbc40052fae" title="Index that represents the element&#39;s position in the tabbing order.">HTMLTextAreaElement::tabIndex</a>()<span class="keyword"> const</span>
<a name="l01066"></a>01066 <span class="keyword"></span>{
<a name="l01067"></a>01067     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> 0;
<a name="l01068"></a>01068     <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1HTMLTextAreaElement.html#acb2bbddb48d9bf782638afbc40052fae" title="Index that represents the element&#39;s position in the tabbing order.">tabIndex</a>();
<a name="l01069"></a>01069 }
<a name="l01070"></a>01070 
<a name="l01071"></a><a class="code" href="classDOM_1_1HTMLTextAreaElement.html#a0db54278548d90fa5103f595d8529117">01071</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLTextAreaElement.html#a0db54278548d90fa5103f595d8529117" title="see tabIndex">HTMLTextAreaElement::setTabIndex</a>( <span class="keywordtype">long</span> _tabIndex )
<a name="l01072"></a>01072 {
<a name="l01073"></a>01073     <span class="keywordflow">if</span> (!impl) <span class="keywordflow">return</span>;
<a name="l01074"></a>01074     <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1HTMLTextAreaElement.html#a0db54278548d90fa5103f595d8529117" title="see tabIndex">setTabIndex</a>(_tabIndex);
<a name="l01075"></a>01075 }
<a name="l01076"></a>01076 
<a name="l01077"></a><a class="code" href="classDOM_1_1HTMLTextAreaElement.html#a6acfd21dc179e5cd0eaa7d49e76cfee9">01077</a> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> <a class="code" href="classDOM_1_1HTMLTextAreaElement.html#a6acfd21dc179e5cd0eaa7d49e76cfee9" title="The type of this form control.">HTMLTextAreaElement::type</a>()<span class="keyword"> const</span>
<a name="l01078"></a>01078 <span class="keyword"></span>{
<a name="l01079"></a>01079     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a>();
<a name="l01080"></a>01080     <span class="keywordflow">return</span> ((HTMLTextAreaElementImpl *)impl)-&gt;type();
<a name="l01081"></a>01081 }
<a name="l01082"></a>01082 
<a name="l01083"></a><a class="code" href="classDOM_1_1HTMLTextAreaElement.html#ad67c4fec4ed2484fe59b4bbc6bab080b">01083</a> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> <a class="code" href="classDOM_1_1HTMLTextAreaElement.html#ad67c4fec4ed2484fe59b4bbc6bab080b" title="The current textual content of the multi-line text field.">HTMLTextAreaElement::value</a>()<span class="keyword"> const</span>
<a name="l01084"></a>01084 <span class="keyword"></span>{
<a name="l01085"></a>01085     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a>();
<a name="l01086"></a>01086     <span class="keywordflow">return</span> ((HTMLTextAreaElementImpl *)impl)-&gt;value();
<a name="l01087"></a>01087 }
<a name="l01088"></a>01088 
<a name="l01089"></a><a class="code" href="classDOM_1_1HTMLTextAreaElement.html#a75555c52c65d53f797f9ce644eb68c6f">01089</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLTextAreaElement.html#a75555c52c65d53f797f9ce644eb68c6f" title="see value">HTMLTextAreaElement::setValue</a>( <span class="keyword">const</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> &amp;value )
<a name="l01090"></a>01090 {
<a name="l01091"></a>01091     <span class="keywordflow">if</span>(impl) ((HTMLTextAreaElementImpl *)impl)-&gt;setValue(value);
<a name="l01092"></a>01092 }
<a name="l01093"></a>01093 
<a name="l01094"></a><a class="code" href="classDOM_1_1HTMLTextAreaElement.html#ab999ef364a7bf6fea06303b4f591fac5">01094</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLTextAreaElement.html#ab999ef364a7bf6fea06303b4f591fac5" title="Removes keyboard focus from this element.">HTMLTextAreaElement::blur</a>(  )
<a name="l01095"></a>01095 {
<a name="l01096"></a>01096     <span class="keywordflow">if</span>(impl)
<a name="l01097"></a>01097     ((HTMLTextAreaElementImpl*)impl)-&gt;blur();
<a name="l01098"></a>01098 }
<a name="l01099"></a>01099 
<a name="l01100"></a><a class="code" href="classDOM_1_1HTMLTextAreaElement.html#a20f4b7d08c69b4006f0fe42accc45dcf">01100</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLTextAreaElement.html#a20f4b7d08c69b4006f0fe42accc45dcf" title="Gives keyboard focus to this element.">HTMLTextAreaElement::focus</a>(  )
<a name="l01101"></a>01101 {
<a name="l01102"></a>01102     <span class="keywordflow">if</span>(impl)
<a name="l01103"></a>01103     ((HTMLTextAreaElementImpl*)impl)-&gt;focus();
<a name="l01104"></a>01104 }
<a name="l01105"></a>01105 
<a name="l01106"></a><a class="code" href="classDOM_1_1HTMLTextAreaElement.html#a33c900e26a7c49fa951aa16c72c04116">01106</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLTextAreaElement.html#a33c900e26a7c49fa951aa16c72c04116" title="Select the contents of the TEXTAREA .">HTMLTextAreaElement::select</a>(  )
<a name="l01107"></a>01107 {
<a name="l01108"></a>01108     <span class="keywordflow">if</span>(impl)
<a name="l01109"></a>01109     ((HTMLTextAreaElementImpl *)impl)-&gt;select(  );
<a name="l01110"></a>01110 }
<a name="l01111"></a>01111 
<a name="l01112"></a><a class="code" href="classDOM_1_1HTMLTextAreaElement.html#aeab1d11f61706194a2aa727bd442cbe1">01112</a> <span class="keywordtype">long</span> <a class="code" href="classDOM_1_1HTMLTextAreaElement.html#aeab1d11f61706194a2aa727bd442cbe1" title="Returns the character offset of beginning of selection, or if none, the cursor position.">HTMLTextAreaElement::selectionStart</a>()
<a name="l01113"></a>01113 {
<a name="l01114"></a>01114     <span class="keywordflow">if</span> (impl)
<a name="l01115"></a>01115     <span class="keywordflow">return</span> ((HTMLTextAreaElementImpl *)impl)-&gt;selectionStart(  );
<a name="l01116"></a>01116     <span class="keywordflow">return</span> 0;
<a name="l01117"></a>01117 }
<a name="l01118"></a>01118 
<a name="l01119"></a><a class="code" href="classDOM_1_1HTMLTextAreaElement.html#a1bc1bad9effa76fe1b09802eb6060b73">01119</a> <span class="keywordtype">long</span> <a class="code" href="classDOM_1_1HTMLTextAreaElement.html#a1bc1bad9effa76fe1b09802eb6060b73" title="Returns the character offset of end of selection, or if none, the cursor position.">HTMLTextAreaElement::selectionEnd</a>()
<a name="l01120"></a>01120 {
<a name="l01121"></a>01121     <span class="keywordflow">if</span> (impl)
<a name="l01122"></a>01122     <span class="keywordflow">return</span> ((HTMLTextAreaElementImpl *)impl)-&gt;selectionEnd(  );
<a name="l01123"></a>01123     <span class="keywordflow">return</span> 0;
<a name="l01124"></a>01124 }
<a name="l01125"></a>01125 
<a name="l01126"></a><a class="code" href="classDOM_1_1HTMLTextAreaElement.html#a185983004a2ab601c2006e7f95958f72">01126</a> <span class="keywordtype">long</span> <a class="code" href="classDOM_1_1HTMLTextAreaElement.html#a185983004a2ab601c2006e7f95958f72" title="Returns the length of the text.">HTMLTextAreaElement::textLength</a>()
<a name="l01127"></a>01127 {
<a name="l01128"></a>01128     <span class="keywordflow">if</span> (impl)
<a name="l01129"></a>01129     <span class="keywordflow">return</span> ((HTMLTextAreaElementImpl *)impl)-&gt;textLength(  );
<a name="l01130"></a>01130     <span class="keywordflow">return</span> 0;
<a name="l01131"></a>01131 }
<a name="l01132"></a>01132 
<a name="l01133"></a><a class="code" href="classDOM_1_1HTMLTextAreaElement.html#a0f3988ebbedc98a346a441380372c8c8">01133</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLTextAreaElement.html#a0f3988ebbedc98a346a441380372c8c8" title="Move the beginning of the selection to the given offset in text NOTE: this method is not part of the ...">HTMLTextAreaElement::setSelectionStart</a>(<span class="keywordtype">long</span> pos)
<a name="l01134"></a>01134 {
<a name="l01135"></a>01135     <span class="keywordflow">if</span> (impl)
<a name="l01136"></a>01136     ((HTMLTextAreaElementImpl *)impl)-&gt;setSelectionStart( pos );
<a name="l01137"></a>01137 }
<a name="l01138"></a>01138 
<a name="l01139"></a><a class="code" href="classDOM_1_1HTMLTextAreaElement.html#ad63674d1a72db062656e950dcc6aa9a7">01139</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLTextAreaElement.html#ad63674d1a72db062656e950dcc6aa9a7" title="Move the end of the selection (and the cursor) to the given offset in text NOTE: this method is not p...">HTMLTextAreaElement::setSelectionEnd</a>(<span class="keywordtype">long</span> pos)
<a name="l01140"></a>01140 {
<a name="l01141"></a>01141     <span class="keywordflow">if</span> (impl)
<a name="l01142"></a>01142     ((HTMLTextAreaElementImpl *)impl)-&gt;setSelectionEnd( pos );
<a name="l01143"></a>01143 }
<a name="l01144"></a>01144 
<a name="l01145"></a><a class="code" href="classDOM_1_1HTMLTextAreaElement.html#aae04b48cbf1c269fda452308836141c3">01145</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLTextAreaElement.html#aae04b48cbf1c269fda452308836141c3" title="Selects the text from start to end, and positions the cursor after the selection.">HTMLTextAreaElement::setSelectionRange</a>(<span class="keywordtype">long</span> start, <span class="keywordtype">long</span> end)
<a name="l01146"></a>01146 {
<a name="l01147"></a>01147     <span class="keywordflow">if</span> (impl)
<a name="l01148"></a>01148     ((HTMLTextAreaElementImpl *)impl)-&gt;setSelectionRange( start, end );
<a name="l01149"></a>01149 }
<a name="l01150"></a>01150 
<a name="l01151"></a>01151 <span class="comment">// --------------------------------------------------------------------------</span>
<a name="l01152"></a>01152 
<a name="l01153"></a>01153 HTMLOptionElement::HTMLOptionElement() : <a class="code" href="classDOM_1_1HTMLElement.html" title="All HTML element interfaces derive from this class.">HTMLElement</a>()
<a name="l01154"></a>01154 {
<a name="l01155"></a>01155 }
<a name="l01156"></a>01156 
<a name="l01157"></a>01157 HTMLOptionElement::HTMLOptionElement(<span class="keyword">const</span> <a class="code" href="classDOM_1_1HTMLOptionElement.html" title="A selectable choice.">HTMLOptionElement</a> &amp;other) : <a class="code" href="classDOM_1_1HTMLElement.html" title="All HTML element interfaces derive from this class.">HTMLElement</a>(other)
<a name="l01158"></a>01158 {
<a name="l01159"></a>01159 }
<a name="l01160"></a>01160 
<a name="l01161"></a>01161 HTMLOptionElement::HTMLOptionElement(HTMLOptionElementImpl *impl) : <a class="code" href="classDOM_1_1HTMLElement.html" title="All HTML element interfaces derive from this class.">HTMLElement</a>(impl)
<a name="l01162"></a>01162 {
<a name="l01163"></a>01163 }
<a name="l01164"></a>01164 
<a name="l01165"></a>01165 <a class="code" href="classDOM_1_1HTMLOptionElement.html" title="A selectable choice.">HTMLOptionElement</a> &amp;HTMLOptionElement::operator = (<span class="keyword">const</span> <a class="code" href="classDOM_1_1Node.html" title="The Node interface is the primary datatype for the entire Document Object Model.">Node</a> &amp;other)
<a name="l01166"></a>01166 {
<a name="l01167"></a>01167     assignOther( other, ID_OPTION );
<a name="l01168"></a>01168     <span class="keywordflow">return</span> *<span class="keyword">this</span>;
<a name="l01169"></a>01169 }
<a name="l01170"></a>01170 
<a name="l01171"></a>01171 <a class="code" href="classDOM_1_1HTMLOptionElement.html" title="A selectable choice.">HTMLOptionElement</a> &amp;HTMLOptionElement::operator = (<span class="keyword">const</span> <a class="code" href="classDOM_1_1HTMLOptionElement.html" title="A selectable choice.">HTMLOptionElement</a> &amp;other)
<a name="l01172"></a>01172 {
<a name="l01173"></a>01173     HTMLElement::operator = (other);
<a name="l01174"></a>01174     <span class="keywordflow">return</span> *<span class="keyword">this</span>;
<a name="l01175"></a>01175 }
<a name="l01176"></a>01176 
<a name="l01177"></a>01177 HTMLOptionElement::~HTMLOptionElement()
<a name="l01178"></a>01178 {
<a name="l01179"></a>01179 }
<a name="l01180"></a>01180 
<a name="l01181"></a><a class="code" href="classDOM_1_1HTMLOptionElement.html#a0d028041a2879fa1677e58280829556d">01181</a> <a class="code" href="classDOM_1_1HTMLFormElement.html" title="The FORM element encompasses behavior similar to a collection and an element.">HTMLFormElement</a> <a class="code" href="classDOM_1_1HTMLOptionElement.html#a0d028041a2879fa1677e58280829556d" title="### KDE 4.0: remove">HTMLOptionElement::form</a>()<span class="keyword"> const</span>
<a name="l01182"></a>01182 <span class="keyword"></span>{
<a name="l01183"></a>01183     <span class="keywordflow">return</span> <a class="code" href="classDOM_1_1HTMLOptionElement.html#a0d028041a2879fa1677e58280829556d" title="### KDE 4.0: remove">Element::form</a>();
<a name="l01184"></a>01184 }
<a name="l01185"></a>01185 
<a name="l01186"></a><a class="code" href="classDOM_1_1HTMLOptionElement.html#ad83198cfd32dd571403a179c2d8e01c2">01186</a> <span class="keywordtype">bool</span> <a class="code" href="classDOM_1_1HTMLOptionElement.html#ad83198cfd32dd571403a179c2d8e01c2" title="Stores the initial value of the selected attribute.">HTMLOptionElement::defaultSelected</a>()<span class="keyword"> const</span>
<a name="l01187"></a>01187 <span class="keyword"></span>{
<a name="l01188"></a>01188     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> 0;
<a name="l01189"></a>01189     <span class="keywordflow">return</span> !<span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a31272d86d7acd89e7140b34cf507742e" title="Retrieves an attribute value by name.">getAttribute</a>(ATTR_SELECTED).isNull();
<a name="l01190"></a>01190 }
<a name="l01191"></a>01191 
<a name="l01192"></a><a class="code" href="classDOM_1_1HTMLOptionElement.html#a224bcf4f5b15fdf931789365c40223e7">01192</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLOptionElement.html#a224bcf4f5b15fdf931789365c40223e7" title="see defaultSelected">HTMLOptionElement::setDefaultSelected</a>( <span class="keywordtype">bool</span> _defaultSelected )
<a name="l01193"></a>01193 {
<a name="l01194"></a>01194     <span class="keywordflow">if</span>(impl) <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a9a30ec2a6d1728f7602cd32f5fc66ef4" title="Adds a new attribute.">setAttribute</a>(ATTR_SELECTED, _defaultSelected ? <span class="stringliteral">&quot;&quot;</span> : 0);
<a name="l01195"></a>01195 }
<a name="l01196"></a>01196 
<a name="l01197"></a><a class="code" href="classDOM_1_1HTMLOptionElement.html#ac05647c98c88c2a5de16bbe576ae06d2">01197</a> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> <a class="code" href="classDOM_1_1HTMLOptionElement.html#ac05647c98c88c2a5de16bbe576ae06d2" title="The text contained within the option element.">HTMLOptionElement::text</a>()<span class="keyword"> const</span>
<a name="l01198"></a>01198 <span class="keyword"></span>{
<a name="l01199"></a>01199     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a>();
<a name="l01200"></a>01200     <span class="keywordflow">return</span> ((HTMLOptionElementImpl *)impl)-&gt;text();
<a name="l01201"></a>01201 }
<a name="l01202"></a>01202 
<a name="l01203"></a><a class="code" href="classDOM_1_1HTMLOptionElement.html#a34163e5afa77404dec437797e79b04a7">01203</a> <span class="keywordtype">long</span> <a class="code" href="classDOM_1_1HTMLOptionElement.html#a34163e5afa77404dec437797e79b04a7" title="The index of this OPTION in its parent SELECT .">HTMLOptionElement::index</a>()<span class="keyword"> const</span>
<a name="l01204"></a>01204 <span class="keyword"></span>{
<a name="l01205"></a>01205     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> 0;
<a name="l01206"></a>01206     <span class="keywordflow">return</span> ((HTMLOptionElementImpl *)impl)-&gt;index();
<a name="l01207"></a>01207 }
<a name="l01208"></a>01208 
<a name="l01209"></a><a class="code" href="classDOM_1_1HTMLOptionElement.html#aef582a0625af78170f0f0f18f0fa5e8f">01209</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLOptionElement.html#aef582a0625af78170f0f0f18f0fa5e8f" title="see index">HTMLOptionElement::setIndex</a>( <span class="keywordtype">long</span> <span class="comment">/*_index*/</span> )
<a name="l01210"></a>01210 {
<a name="l01211"></a>01211     <span class="keywordflow">throw</span> <a class="code" href="classDOM_1_1DOMException.html" title="DOM operations only raise exceptions in "exceptional" circumstances, i.e., when an operation is impos...">DOMException</a>(DOMException::NO_MODIFICATION_ALLOWED_ERR);
<a name="l01212"></a>01212 }
<a name="l01213"></a>01213 
<a name="l01214"></a><a class="code" href="classDOM_1_1HTMLOptionElement.html#a9bc30193a67fb70c96025c860719fee0">01214</a> <span class="keywordtype">bool</span> <a class="code" href="classDOM_1_1HTMLOptionElement.html#a9bc30193a67fb70c96025c860719fee0" title="The control is unavailable in this context.">HTMLOptionElement::disabled</a>()<span class="keyword"> const</span>
<a name="l01215"></a>01215 <span class="keyword"></span>{
<a name="l01216"></a>01216     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> 0;
<a name="l01217"></a>01217     <span class="keywordflow">return</span> !<span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a31272d86d7acd89e7140b34cf507742e" title="Retrieves an attribute value by name.">getAttribute</a>(ATTR_DISABLED).isNull();
<a name="l01218"></a>01218 }
<a name="l01219"></a>01219 
<a name="l01220"></a><a class="code" href="classDOM_1_1HTMLOptionElement.html#a703d9a43f8c980028a633cca0d572b49">01220</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLOptionElement.html#a703d9a43f8c980028a633cca0d572b49" title="see disabled">HTMLOptionElement::setDisabled</a>( <span class="keywordtype">bool</span> _disabled )
<a name="l01221"></a>01221 {
<a name="l01222"></a>01222     <span class="keywordflow">if</span>(impl) <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a9a30ec2a6d1728f7602cd32f5fc66ef4" title="Adds a new attribute.">setAttribute</a>(ATTR_DISABLED, _disabled ? <span class="stringliteral">&quot;&quot;</span> : 0);
<a name="l01223"></a>01223 }
<a name="l01224"></a>01224 
<a name="l01225"></a><a class="code" href="classDOM_1_1HTMLOptionElement.html#afd030f9a57ce6aec7aa2a0fcfc1e2538">01225</a> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> <a class="code" href="classDOM_1_1HTMLOptionElement.html#afd030f9a57ce6aec7aa2a0fcfc1e2538" title="Option label for use in hierarchical menus.">HTMLOptionElement::label</a>()<span class="keyword"> const</span>
<a name="l01226"></a>01226 <span class="keyword"></span>{
<a name="l01227"></a>01227     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a>();
<a name="l01228"></a>01228     <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a31272d86d7acd89e7140b34cf507742e" title="Retrieves an attribute value by name.">getAttribute</a>(ATTR_LABEL);
<a name="l01229"></a>01229 }
<a name="l01230"></a>01230 
<a name="l01231"></a><a class="code" href="classDOM_1_1HTMLOptionElement.html#a33b6caf812804846d2d56e5fafbc6130">01231</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLOptionElement.html#a33b6caf812804846d2d56e5fafbc6130" title="see label">HTMLOptionElement::setLabel</a>( <span class="keyword">const</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> &amp;value )
<a name="l01232"></a>01232 {
<a name="l01233"></a>01233     <span class="keywordflow">if</span>(impl) <span class="keyword">static_cast&lt;</span>ElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1Element.html#a9a30ec2a6d1728f7602cd32f5fc66ef4" title="Adds a new attribute.">setAttribute</a>(ATTR_LABEL, value);
<a name="l01234"></a>01234 }
<a name="l01235"></a>01235 
<a name="l01236"></a><a class="code" href="classDOM_1_1HTMLOptionElement.html#a6167f9a28f37cdf40910259ea5a02325">01236</a> <span class="keywordtype">bool</span> <a class="code" href="classDOM_1_1HTMLOptionElement.html#a6167f9a28f37cdf40910259ea5a02325" title="Means that this option is initially selected.">HTMLOptionElement::selected</a>()<span class="keyword"> const</span>
<a name="l01237"></a>01237 <span class="keyword"></span>{
<a name="l01238"></a>01238     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> 0;
<a name="l01239"></a>01239     <span class="keywordflow">return</span> ((HTMLOptionElementImpl *)impl)-&gt;selected();
<a name="l01240"></a>01240 }
<a name="l01241"></a>01241 
<a name="l01242"></a><a class="code" href="classDOM_1_1HTMLOptionElement.html#a4eb99ebf5a5c1800da80c5a537edf928">01242</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLOptionElement.html#a4eb99ebf5a5c1800da80c5a537edf928" title="see selected">HTMLOptionElement::setSelected</a>(<span class="keywordtype">bool</span> _selected) {
<a name="l01243"></a>01243     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span>;
<a name="l01244"></a>01244     ((HTMLOptionElementImpl *)impl)-&gt;setSelected(_selected);
<a name="l01245"></a>01245 }
<a name="l01246"></a>01246 
<a name="l01247"></a><a class="code" href="classDOM_1_1HTMLOptionElement.html#a5ccb19d585794e1ed960ddbf7e491122">01247</a> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> <a class="code" href="classDOM_1_1HTMLOptionElement.html#a5ccb19d585794e1ed960ddbf7e491122" title="The current form control value.">HTMLOptionElement::value</a>()<span class="keyword"> const</span>
<a name="l01248"></a>01248 <span class="keyword"></span>{
<a name="l01249"></a>01249     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a>();
<a name="l01250"></a>01250     <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span>HTMLOptionElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1HTMLOptionElement.html#a5ccb19d585794e1ed960ddbf7e491122" title="The current form control value.">value</a>();
<a name="l01251"></a>01251 }
<a name="l01252"></a>01252 
<a name="l01253"></a><a class="code" href="classDOM_1_1HTMLOptionElement.html#abaec816f99b890e5a66c51367e672e17">01253</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLOptionElement.html#abaec816f99b890e5a66c51367e672e17" title="see value">HTMLOptionElement::setValue</a>( <span class="keyword">const</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> &amp;value )
<a name="l01254"></a>01254 {
<a name="l01255"></a>01255     <span class="keywordflow">if</span>(impl) <span class="keyword">static_cast&lt;</span>HTMLOptionElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1HTMLOptionElement.html#abaec816f99b890e5a66c51367e672e17" title="see value">setValue</a>(value.implementation());
<a name="l01256"></a>01256 }
<a name="l01257"></a>01257 
<a name="l01258"></a>01258 <span class="comment">// -----------------------------------------------------------------------------</span>
<a name="l01259"></a>01259 
<a name="l01260"></a>01260 HTMLIsIndexElement::HTMLIsIndexElement() : <a class="code" href="classDOM_1_1HTMLElement.html" title="All HTML element interfaces derive from this class.">HTMLElement</a>()
<a name="l01261"></a>01261 {
<a name="l01262"></a>01262 }
<a name="l01263"></a>01263 
<a name="l01264"></a>01264 HTMLIsIndexElement::HTMLIsIndexElement(<span class="keyword">const</span> <a class="code" href="classDOM_1_1HTMLIsIndexElement.html" title="This element is used for single-line text input.">HTMLIsIndexElement</a> &amp;other) : <a class="code" href="classDOM_1_1HTMLElement.html" title="All HTML element interfaces derive from this class.">HTMLElement</a>(other)
<a name="l01265"></a>01265 {
<a name="l01266"></a>01266 }
<a name="l01267"></a>01267 
<a name="l01268"></a>01268 HTMLIsIndexElement::HTMLIsIndexElement(HTMLIsIndexElementImpl *impl) : <a class="code" href="classDOM_1_1HTMLElement.html" title="All HTML element interfaces derive from this class.">HTMLElement</a>(impl)
<a name="l01269"></a>01269 {
<a name="l01270"></a>01270 }
<a name="l01271"></a>01271 
<a name="l01272"></a>01272 <a class="code" href="classDOM_1_1HTMLIsIndexElement.html" title="This element is used for single-line text input.">HTMLIsIndexElement</a> &amp;HTMLIsIndexElement::operator = (<span class="keyword">const</span> <a class="code" href="classDOM_1_1Node.html" title="The Node interface is the primary datatype for the entire Document Object Model.">Node</a> &amp;other)
<a name="l01273"></a>01273 {
<a name="l01274"></a>01274     assignOther( other, ID_ISINDEX );
<a name="l01275"></a>01275     <span class="keywordflow">return</span> *<span class="keyword">this</span>;
<a name="l01276"></a>01276 }
<a name="l01277"></a>01277 
<a name="l01278"></a>01278 <a class="code" href="classDOM_1_1HTMLIsIndexElement.html" title="This element is used for single-line text input.">HTMLIsIndexElement</a> &amp;HTMLIsIndexElement::operator = (<span class="keyword">const</span> <a class="code" href="classDOM_1_1HTMLIsIndexElement.html" title="This element is used for single-line text input.">HTMLIsIndexElement</a> &amp;other)
<a name="l01279"></a>01279 {
<a name="l01280"></a>01280     HTMLElement::operator = (other);
<a name="l01281"></a>01281     <span class="keywordflow">return</span> *<span class="keyword">this</span>;
<a name="l01282"></a>01282 }
<a name="l01283"></a>01283 
<a name="l01284"></a>01284 HTMLIsIndexElement::~HTMLIsIndexElement()
<a name="l01285"></a>01285 {
<a name="l01286"></a>01286 }
<a name="l01287"></a>01287 
<a name="l01288"></a><a class="code" href="classDOM_1_1HTMLIsIndexElement.html#ac768b347556b36fa5388962fb89ea573">01288</a> <a class="code" href="classDOM_1_1HTMLFormElement.html" title="The FORM element encompasses behavior similar to a collection and an element.">HTMLFormElement</a> <a class="code" href="classDOM_1_1HTMLIsIndexElement.html#ac768b347556b36fa5388962fb89ea573" title="### KDE 4.0: remove">HTMLIsIndexElement::form</a>()<span class="keyword"> const</span>
<a name="l01289"></a>01289 <span class="keyword"></span>{
<a name="l01290"></a>01290     <span class="keywordflow">return</span> <a class="code" href="classDOM_1_1HTMLIsIndexElement.html#ac768b347556b36fa5388962fb89ea573" title="### KDE 4.0: remove">Element::form</a>();
<a name="l01291"></a>01291 }
<a name="l01292"></a>01292 
<a name="l01293"></a><a class="code" href="classDOM_1_1HTMLIsIndexElement.html#a3c64800528aad02e9311a90dab64e2fe">01293</a> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> <a class="code" href="classDOM_1_1HTMLIsIndexElement.html#a3c64800528aad02e9311a90dab64e2fe" title="The prompt message.">HTMLIsIndexElement::prompt</a>()<span class="keyword"> const</span>
<a name="l01294"></a>01294 <span class="keyword"></span>{
<a name="l01295"></a>01295     <span class="keywordflow">if</span>(!impl) <span class="keywordflow">return</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a>();
<a name="l01296"></a>01296     <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span>HTMLIsIndexElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1HTMLIsIndexElement.html#a3c64800528aad02e9311a90dab64e2fe" title="The prompt message.">prompt</a>();
<a name="l01297"></a>01297 }
<a name="l01298"></a>01298 
<a name="l01299"></a><a class="code" href="classDOM_1_1HTMLIsIndexElement.html#a4f4a3c241e871daed69b36a65aa26640">01299</a> <span class="keywordtype">void</span> <a class="code" href="classDOM_1_1HTMLIsIndexElement.html#a4f4a3c241e871daed69b36a65aa26640" title="see prompt">HTMLIsIndexElement::setPrompt</a>( <span class="keyword">const</span> <a class="code" href="classDOM_1_1DOMString.html" title="This class implements the basic string we use in the DOM.">DOMString</a> &amp;value )
<a name="l01300"></a>01300 {
<a name="l01301"></a>01301     <span class="keywordflow">if</span>(impl) <span class="keyword">static_cast&lt;</span>HTMLIsIndexElementImpl*<span class="keyword">&gt;</span>(impl)-&gt;<a class="code" href="classDOM_1_1HTMLIsIndexElement.html#a4f4a3c241e871daed69b36a65aa26640" title="see prompt">setPrompt</a>(value);
<a name="l01302"></a>01302 }
</pre></div></div>
</div>
    </div></div>


      </td>
  </tr>
  <tr>
    <td valign="top" id="leftmenu" width="25%">
      <a name="navigation"></a>
      <div class="menu_box"><h2>khtml</h2>
<div class="nav_list">
<ul><li><a href="index.html">Main Page</a></li><li><a href="namespaces.html">Namespace List</a></li><li><a href="hierarchy.html">Class Hierarchy</a></li><li><a href="classes.html">Alphabetical List</a></li><li><a href="annotated.html">Class List</a></li><li><a href="files.html">File List</a></li><li><a href="namespacemembers.html">Namespace Members</a></li><li><a href="functions.html">Class Members</a></li><li><a href="pages.html">Related Pages</a></li></ul>
<!--
<h2>Class Picker</h2>
<div style="text-align: center;">
<form name="guideform">
<select name="guidelinks" style="width:100%;" onChange="window.location=document.guideform.guidelinks.options[document.guideform.guidelinks.selectedIndex].value">
<option value="annotated.html">-- Choose --</option>
  <option value="classDOM_1_1AbstractView.html">dom::abstractview</option>,  <option value="classDOM_1_1Attr.html">dom::attr</option>,  <option value="classDOM_1_1CDATASection.html">dom::cdatasection</option>,  <option value="classDOM_1_1CharacterData.html">dom::characterdata</option>,  <option value="classDOM_1_1Comment.html">dom::comment</option>,  <option value="classDOM_1_1Counter.html">dom::counter</option>,  <option value="classDOM_1_1CSS2Azimuth.html">dom::css2azimuth</option>,  <option value="classDOM_1_1CSS2BackgroundPosition.html">dom::css2backgroundposition</option>,  <option value="classDOM_1_1CSS2BorderSpacing.html">dom::css2borderspacing</option>,  <option value="classDOM_1_1CSS2CounterIncrement.html">dom::css2counterincrement</option>,  <option value="classDOM_1_1CSS2CounterReset.html">dom::css2counterreset</option>,  <option value="classDOM_1_1CSS2Cursor.html">dom::css2cursor</option>,  <option value="classDOM_1_1CSS2FontFaceSrc.html">dom::css2fontfacesrc</option>,  <option value="classDOM_1_1CSS2FontFaceWidths.html">dom::css2fontfacewidths</option>,  <option value="classDOM_1_1CSS2PageSize.html">dom::css2pagesize</option>,  <option value="classDOM_1_1CSS2PlayDuring.html">dom::css2playduring</option>,  <option value="classDOM_1_1CSS2Properties.html">dom::css2properties</option>,  <option value="classDOM_1_1CSS2TextShadow.html">dom::css2textshadow</option>,  <option value="classDOM_1_1CSSCharsetRule.html">dom::csscharsetrule</option>,  <option value="classDOM_1_1CSSException.html">dom::cssexception</option>,  <option value="classDOM_1_1CSSFontFaceRule.html">dom::cssfontfacerule</option>,  <option value="classDOM_1_1CSSImportRule.html">dom::cssimportrule</option>,  <option value="classDOM_1_1CSSMediaRule.html">dom::cssmediarule</option>,  <option value="classDOM_1_1CSSPrimitiveValue.html">dom::cssprimitivevalue</option>,  <option value="classDOM_1_1CSSRule.html">dom::cssrule</option>,  <option value="classDOM_1_1CSSRuleList.html">dom::cssrulelist</option>,  <option value="classDOM_1_1CSSStyleDeclaration.html">dom::cssstyledeclaration</option>,  <option value="classDOM_1_1CSSStyleRule.html">dom::cssstylerule</option>,  <option value="classDOM_1_1CSSStyleSheet.html">dom::cssstylesheet</option>,  <option value="classDOM_1_1CSSUnknownRule.html">dom::cssunknownrule</option>,  <option value="classDOM_1_1CSSValue.html">dom::cssvalue</option>,  <option value="classDOM_1_1CSSValueList.html">dom::cssvaluelist</option>,  <option value="classDOM_1_1CustomNodeFilter.html">dom::customnodefilter</option>,  <option value="classDOM_1_1Document.html">dom::document</option>,  <option value="classDOM_1_1DocumentFragment.html">dom::documentfragment</option>,  <option value="classDOM_1_1DocumentType.html">dom::documenttype</option>,  <option value="classDOM_1_1DOMException.html">dom::domexception</option>,  <option value="classDOM_1_1DOMImplementation.html">dom::domimplementation</option>,  <option value="classDOM_1_1DOMString.html">dom::domstring</option>,  <option value="classDOM_1_1Element.html">dom::element</option>,  <option value="classDOM_1_1Entity.html">dom::entity</option>,  <option value="classDOM_1_1EntityReference.html">dom::entityreference</option>,  <option value="classDOM_1_1Event.html">dom::event</option>,  <option value="classDOM_1_1EventException.html">dom::eventexception</option>,  <option value="classDOM_1_1EventListener.html">dom::eventlistener</option>,  <option value="classDOM_1_1HTMLAnchorElement.html">dom::htmlanchorelement</option>,  <option value="classDOM_1_1HTMLAppletElement.html">dom::htmlappletelement</option>,  <option value="classDOM_1_1HTMLAreaElement.html">dom::htmlareaelement</option>,  <option value="classDOM_1_1HTMLBaseElement.html">dom::htmlbaseelement</option>,  <option value="classDOM_1_1HTMLBaseFontElement.html">dom::htmlbasefontelement</option>,  <option value="classDOM_1_1HTMLBlockquoteElement.html">dom::htmlblockquoteelement</option>,  <option value="classDOM_1_1HTMLBodyElement.html">dom::htmlbodyelement</option>,  <option value="classDOM_1_1HTMLBRElement.html">dom::htmlbrelement</option>,  <option value="classDOM_1_1HTMLButtonElement.html">dom::htmlbuttonelement</option>,  <option value="classDOM_1_1HTMLCollection.html">dom::htmlcollection</option>,  <option value="classDOM_1_1HTMLDirectoryElement.html">dom::htmldirectoryelement</option>,  <option value="classDOM_1_1HTMLDivElement.html">dom::htmldivelement</option>,  <option value="classDOM_1_1HTMLDListElement.html">dom::htmldlistelement</option>,  <option value="classDOM_1_1HTMLDocument.html">dom::htmldocument</option>,  <option value="classDOM_1_1HTMLElement.html">dom::htmlelement</option>,  <option value="classDOM_1_1HTMLFieldSetElement.html">dom::htmlfieldsetelement</option>,  <option value="classDOM_1_1HTMLFontElement.html">dom::htmlfontelement</option>,  <option value="classDOM_1_1HTMLFormElement.html">dom::htmlformelement</option>,  <option value="classDOM_1_1HTMLFrameElement.html">dom::htmlframeelement</option>,  <option value="classDOM_1_1HTMLFrameSetElement.html">dom::htmlframesetelement</option>,  <option value="classDOM_1_1HTMLHeadElement.html">dom::htmlheadelement</option>,  <option value="classDOM_1_1HTMLHeadingElement.html">dom::htmlheadingelement</option>,  <option value="classDOM_1_1HTMLHRElement.html">dom::htmlhrelement</option>,  <option value="classDOM_1_1HTMLHtmlElement.html">dom::htmlhtmlelement</option>,  <option value="classDOM_1_1HTMLIFrameElement.html">dom::htmliframeelement</option>,  <option value="classDOM_1_1HTMLImageElement.html">dom::htmlimageelement</option>,  <option value="classDOM_1_1HTMLInputElement.html">dom::htmlinputelement</option>,  <option value="classDOM_1_1HTMLIsIndexElement.html">dom::htmlisindexelement</option>,  <option value="classDOM_1_1HTMLLabelElement.html">dom::htmllabelelement</option>,  <option value="classDOM_1_1HTMLLayerElement.html">dom::htmllayerelement</option>,  <option value="classDOM_1_1HTMLLegendElement.html">dom::htmllegendelement</option>,  <option value="classDOM_1_1HTMLLIElement.html">dom::htmllielement</option>,  <option value="classDOM_1_1HTMLLinkElement.html">dom::htmllinkelement</option>,  <option value="classDOM_1_1HTMLMapElement.html">dom::htmlmapelement</option>,  <option value="classDOM_1_1HTMLMenuElement.html">dom::htmlmenuelement</option>,  <option value="classDOM_1_1HTMLMetaElement.html">dom::htmlmetaelement</option>,  <option value="classDOM_1_1HTMLModElement.html">dom::htmlmodelement</option>,  <option value="classDOM_1_1HTMLObjectElement.html">dom::htmlobjectelement</option>,  <option value="classDOM_1_1HTMLOListElement.html">dom::htmlolistelement</option>,  <option value="classDOM_1_1HTMLOptGroupElement.html">dom::htmloptgroupelement</option>,  <option value="classDOM_1_1HTMLOptionElement.html">dom::htmloptionelement</option>,  <option value="classDOM_1_1HTMLParagraphElement.html">dom::htmlparagraphelement</option>,  <option value="classDOM_1_1HTMLParamElement.html">dom::htmlparamelement</option>,  <option value="classDOM_1_1HTMLPreElement.html">dom::htmlpreelement</option>,  <option value="classDOM_1_1HTMLQuoteElement.html">dom::htmlquoteelement</option>,  <option value="classDOM_1_1HTMLScriptElement.html">dom::htmlscriptelement</option>,  <option value="classDOM_1_1HTMLSelectElement.html">dom::htmlselectelement</option>,  <option value="classDOM_1_1HTMLStyleElement.html">dom::htmlstyleelement</option>,  <option value="classDOM_1_1HTMLTableCaptionElement.html">dom::htmltablecaptionelement</option>,  <option value="classDOM_1_1HTMLTableCellElement.html">dom::htmltablecellelement</option>,  <option value="classDOM_1_1HTMLTableColElement.html">dom::htmltablecolelement</option>,  <option value="classDOM_1_1HTMLTableElement.html">dom::htmltableelement</option>,  <option value="classDOM_1_1HTMLTableRowElement.html">dom::htmltablerowelement</option>,  <option value="classDOM_1_1HTMLTableSectionElement.html">dom::htmltablesectionelement</option>,  <option value="classDOM_1_1HTMLTextAreaElement.html">dom::htmltextareaelement</option>,  <option value="classDOM_1_1HTMLTitleElement.html">dom::htmltitleelement</option>,  <option value="classDOM_1_1HTMLUListElement.html">dom::htmlulistelement</option>,  <option value="classDOM_1_1MediaList.html">dom::medialist</option>,  <option value="classDOM_1_1MouseEvent.html">dom::mouseevent</option>,  <option value="classDOM_1_1MutationEvent.html">dom::mutationevent</option>,  <option value="classDOM_1_1NamedNodeMap.html">dom::namednodemap</option>,  <option value="classDOM_1_1Node.html">dom::node</option>,  <option value="classDOM_1_1NodeFilter.html">dom::nodefilter</option>,  <option value="classDOM_1_1NodeIterator.html">dom::nodeiterator</option>,  <option value="classDOM_1_1NodeList.html">dom::nodelist</option>,  <option value="classDOM_1_1Notation.html">dom::notation</option>,  <option value="classDOM_1_1ProcessingInstruction.html">dom::processinginstruction</option>,  <option value="classDOM_1_1Rect.html">dom::rect</option>,  <option value="classDOM_1_1RGBColor.html">dom::rgbcolor</option>,  <option value="classDOM_1_1StyleSheet.html">dom::stylesheet</option>,  <option value="classDOM_1_1StyleSheetList.html">dom::stylesheetlist</option>,  <option value="classDOM_1_1Text.html">dom::text</option>,  <option value="classDOM_1_1TextEvent.html">dom::textevent</option>,  <option value="classDOM_1_1TreeWalker.html">dom::treewalker</option>,  <option value="classDOM_1_1UIEvent.html">dom::uievent</option>,  <option value="classKHTMLPageCache.html">khtmlpagecache</option>,  <option value="classKHTMLPart.html">khtmlpart</option>,  <option value="classKHTMLPartBrowserExtension.html">khtmlpartbrowserextension</option>,  <option value="classKHTMLPartIface.html">khtmlpartiface</option>,  <option value="classKHTMLSettings.html">khtmlsettings</option>,  <option value="classKHTMLView.html">khtmlview</option>,
</select>
</form>
</div>
-->
</div></div>
<div class="menu_box"><h2>API Dox</h2>
<div class="nav_list">
<ul>
<li><a href="../../arts/html/index.html">arts</a></li><li><a href="../../dcop/html/index.html">dcop</a></li><li><a href="../../dnssd/html/index.html">dnssd</a></li><li><a href="../../interfaces/html/index.html">interfaces</a></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<a href="../../interfaces/kimproxy/interface/html/index.html">interface</a></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<a href="../../interfaces/kimproxy/library/html/index.html">library</a></li><li>&nbsp;&nbsp;<a href="../../interfaces/kspeech/html/index.html">kspeech</a></li><li>&nbsp;&nbsp;<a href="../../interfaces/ktexteditor/html/index.html">ktexteditor</a></li><li><a href="../../kabc/html/index.html">kabc</a></li><li><a href="../../kate/html/index.html">kate</a></li><li><a href="../../kcmshell/html/index.html">kcmshell</a></li><li><a href="../../kdecore/html/index.html">kdecore</a></li><li><a href="../../kded/html/index.html">kded</a></li><li><a href="../../kdefx/html/index.html">kdefx</a></li><li><a href="../../kdeprint/html/index.html">kdeprint</a></li><li><a href="../../kdesu/html/index.html">kdesu</a></li><li><a href="../../kdeui/html/index.html">kdeui</a></li><li><a href="../../kdoctools/html/index.html">kdoctools</a></li><li><a href="../../khtml/html/index.html">khtml</a></li><li><a href="../../kimgio/html/index.html">kimgio</a></li><li><a href="../../kinit/html/index.html">kinit</a></li><li><a href="../../kio/html/index.html">kio</a></li><li>&nbsp;&nbsp;<a href="../../kio/bookmarks/html/index.html">bookmarks</a></li><li>&nbsp;&nbsp;<a href="../../kio/httpfilter/html/index.html">httpfilter</a></li><li>&nbsp;&nbsp;<a href="../../kio/kfile/html/index.html">kfile</a></li><li>&nbsp;&nbsp;<a href="../../kio/kio/html/index.html">kio</a></li><li>&nbsp;&nbsp;<a href="../../kio/kioexec/html/index.html">kioexec</a></li><li>&nbsp;&nbsp;<a href="../../kio/kpasswdserver/html/index.html">kpasswdserver</a></li><li>&nbsp;&nbsp;<a href="../../kio/kssl/html/index.html">kssl</a></li><li><a href="../../kioslave/html/index.html">kioslave</a></li><li>&nbsp;&nbsp;<a href="../../kioslave/http/html/index.html">http</a></li><li><a href="../../kjs/html/index.html">kjs</a></li><li><a href="../../kmdi/html/index.html">kmdi</a></li><li>&nbsp;&nbsp;<a href="../../kmdi/kmdi/html/index.html">kmdi</a></li><li><a href="../../knewstuff/html/index.html">knewstuff</a></li><li><a href="../../kparts/html/index.html">kparts</a></li><li><a href="../../kresources/html/index.html">kresources</a></li><li><a href="../../kspell2/html/index.html">kspell2</a></li><li><a href="../../kunittest/html/index.html">kunittest</a></li><li><a href="../../kutils/html/index.html">kutils</a></li><li><a href="../../kwallet/html/index.html">kwallet</a></li><li><a href="../../libkmid/html/index.html">libkmid</a></li><li><a href="../../libkscreensaver/html/index.html">libkscreensaver</a></li>
</ul></div></div>


        </td>
</tr>
</table>

<span class="doNotDisplay">
  <a href="http://www.kde.org/" accesskey="8">KDE Home</a> |
  <a href="http://accessibility.kde.org/" accesskey="9">KDE Accessibility Home</a> |
  <a href="http://www.kde.org/media/accesskeys.php" accesskey="0">Description of Access Keys</a>
</span>


<div style="height: 8px"></div>

<div id="footer">
  <div id="footer_left">
    Maintained by <a href="&#109;&#97;&#105;&#108;&#116;&#111;&#58;groo&#116;&#64;kde&#46;or&#x67;">Adriaan de Groot</a>
and
<a href="&#109;a&#105;&#108;&#116;&#111;&#58;w&#105;nter&#64;kde&#46;or&#x67">Allen Winter</a>.
<br/>
    KDE and K Desktop Environment are trademarks of <a href="http://www.kde.org/areas/kde-ev/" title="Homepage of the KDE non-profit Organization">KDE e.V.</a> |
    <a href="http://www.kde.org/contact/impressum.php">Legal</a>
  </div>
  <div id="footer_right"><img src="/media/images/footer_right.png" style="margin: 0px" alt="" /></div>
</div>

<!--
WARNING: DO NOT SEND MAIL TO THE FOLLOWING EMAIL ADDRESS! YOU WILL
BE BLOCKED INSTANTLY AND PERMANENTLY!
<a href="mailto:aaaatrap-425acc3b5374943f@kde.org">Block me</a>
WARNING END
-->

</body>
</html>