/***************************************************************************
                            kde_HTMLLabelElement.h -  description
                             -------------------
    begin                : Wed Feb  6 15:12:26 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Feb  6 15:12:26 2002, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This library is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU Library General Public License as       *
 *   published by the Free Software Foundation; either version 2 of the    *
 *   License, or (at your option) any later version.                       *
 *                                                                         *
 ***************************************************************************/

#ifndef KDE_HTMLLABELELEMENT
#define KDE_HTMLLABELELEMENT

#include <qtc/qtc_types.h>

#include <kdec/kde_types.h>

/**

 Form field label text. See the <a
 href="http://www.w3.org/TR/REC-html40/interact/forms.html#edef-LABEL">
 LABEL element definition </a> in HTML 4.0.

 
 @short 
 Form field label text.
*/
kde_HTMLLabelElement * kde_new_HTMLLabelElement();
kde_HTMLLabelElement * kde_new_HTMLLabelElement1(kde_HTMLLabelElement* other);
kde_HTMLLabelElement * kde_new_HTMLLabelElement2(kde_DOMNode* other);
void kde_del_HTMLLabelElement( kde_HTMLLabelElement* p );

/** 
 Returns the <code> FORM </code> element containing this
 control. Returns null if this control is not within the context
 of a form.
 deprecated - don't use. Provided for KDE2 compatibility only.
     
*/
kde_HTMLFormElement* kde_HTMLLabelElement_form(kde_HTMLLabelElement* instPointer);

/** 
 A single character access key to give access to the form
 control. See the <a
 href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-accesskey">
 accesskey attribute definition </a> in HTML 4.0.

     
*/
kde_DOMString* kde_HTMLLabelElement_accessKey(kde_HTMLLabelElement* instPointer);

/** 
 see @ref accessKey
     
*/
void kde_HTMLLabelElement_setAccessKey(kde_HTMLLabelElement* instPointer,kde_DOMString* arg1);

/** 
 This attribute links this label with another form control by
 <code> id </code> attribute. See the <a
 href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-for">
 for attribute definition </a> in HTML 4.0.

     
*/
kde_DOMString* kde_HTMLLabelElement_htmlFor(kde_HTMLLabelElement* instPointer);

/** 
 see @ref htmlFor
     
*/
void kde_HTMLLabelElement_setHtmlFor(kde_HTMLLabelElement* instPointer,kde_DOMString* arg1);

#endif
