Source Code (Use browser search to find items of interest.)

Class Index

kdelibs'HTMLHeadingElement (./kdelibs/khtml/dom/html_block.h:205)

class HTMLHeadingElement : public HTMLElement
{
public:
    HTMLHeadingElement();
    HTMLHeadingElement(const HTMLHeadingElement &other);
    HTMLHeadingElement(const Node &other) : HTMLElement()
         {(*this)=other;}
protected:
    HTMLHeadingElement(HTMLHeadingElementImpl *impl);
public:

    HTMLHeadingElement & operator = (const HTMLHeadingElement &other);
    HTMLHeadingElement & operator = (const Node &other);

    ~HTMLHeadingElement();

    /**
     * Horizontal text alignment. See the <a
     * href="http://www.w3.org/TR/REC-html40/present/graphics.html#adef-align">
     * align attribute definition </a> in HTML 4.0. This attribute is
     * deprecated in HTML 4.0.
     *
     */
    DOMString align() const;

    /**
     * see @ref align
     */
    void setAlign( const DOMString & );
};

// --------------------------------------------------------------------------


kdelibs'HTMLHeadingElement::HTMLHeadingElement() (./kdelibs/khtml/dom/html_block.cpp:210)

HTMLHeadingElement::HTMLHeadingElement() : HTMLElement()
{
}


kdelibs'HTMLHeadingElement::HTMLHeadingElement() (./kdelibs/khtml/dom/html_block.cpp:214)

HTMLHeadingElement::HTMLHeadingElement(const HTMLHeadingElement &other) : HTMLElement(other)
{
}


kdelibs'HTMLHeadingElement::HTMLHeadingElement() (./kdelibs/khtml/dom/html_block.cpp:218)

HTMLHeadingElement::HTMLHeadingElement(HTMLHeadingElementImpl *impl) : HTMLElement(impl)
{
}


kdelibs'HTMLHeadingElement::~HTMLHeadingElement() (./kdelibs/khtml/dom/html_block.cpp:244)

HTMLHeadingElement::~HTMLHeadingElement()
{
}


kdelibs'HTMLHeadingElement::align() (./kdelibs/khtml/dom/html_block.cpp:248)

DOMString HTMLHeadingElement::align() const
{
    if(!impl) return 0;
    return ((ElementImpl *)impl)->getAttribute(ATTR_ALIGN);
}


kdelibs'HTMLHeadingElement::setAlign() (./kdelibs/khtml/dom/html_block.cpp:254)

void HTMLHeadingElement::setAlign( const DOMString &value )
{
    if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_ALIGN, value);
}

// --------------------------------------------------------------------------