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

Class Index

kdelibs'HTMLBodyElement (./kdelibs/khtml/dom/html_base.h:39)

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

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

    ~HTMLBodyElement();

    /**
     * Color of active links (after mouse-button down, but before
     * mouse-button up). See the <a
     * href="http://www.w3.org/TR/REC-html40/struct/global.html#adef-alink">
     * alink attribute definition </a> in HTML 4.0. This attribute is
     * deprecated in HTML 4.0.
     *
     */
    DOMString aLink() const;

    /**
     * see @ref aLink
     */
    void setALink( const DOMString & );

    /**
     * URI of the background texture tile image. See the <a
     * href="http://www.w3.org/TR/REC-html40/struct/global.html#adef-background">
     * background attribute definition </a> in HTML 4.0. This
     * attribute is deprecated in HTML 4.0.
     *
     */
    DOMString background() const;

    /**
     * see @ref background
     */
    void setBackground( const DOMString & );

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

    /**
     * see @ref bgColor
     */
    void setBgColor( const DOMString & );

    /**
     * Color of links that are not active and unvisited. See the <a
     * href="http://www.w3.org/TR/REC-html40/struct/global.html#adef-link">
     * link attribute definition </a> in HTML 4.0. This attribute is
     * deprecated in HTML 4.0.
     *
     */
    DOMString link() const;

    /**
     * see @ref link
     */
    void setLink( const DOMString & );

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

    /**
     * see @ref text
     */
    void setText( const DOMString & );

    /**
     * Color of links that have been visited by the user. See the <a
     * href="http://www.w3.org/TR/REC-html40/struct/global.html#adef-vlink">
     * vlink attribute definition </a> in HTML 4.0. This attribute is
     * deprecated in HTML 4.0.
     *
     */
    DOMString vLink() const;

    /**
     * see @ref vLink
     */
    void setVLink( const DOMString & );
};

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


kdelibs'HTMLBodyElement::HTMLBodyElement() (./kdelibs/khtml/dom/html_base.cpp:34)

HTMLBodyElement::HTMLBodyElement() : HTMLElement()
{
}


kdelibs'HTMLBodyElement::HTMLBodyElement() (./kdelibs/khtml/dom/html_base.cpp:38)

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


kdelibs'HTMLBodyElement::HTMLBodyElement() (./kdelibs/khtml/dom/html_base.cpp:42)

HTMLBodyElement::HTMLBodyElement(HTMLBodyElementImpl *impl) : HTMLElement(impl)
{
}


kdelibs'HTMLBodyElement::~HTMLBodyElement() (./kdelibs/khtml/dom/html_base.cpp:63)

HTMLBodyElement::~HTMLBodyElement()
{
}


kdelibs'HTMLBodyElement::aLink() (./kdelibs/khtml/dom/html_base.cpp:67)

DOMString HTMLBodyElement::aLink() const
{
    if(!impl) return 0;
    return ((ElementImpl *)impl)->getAttribute(ATTR_ALINK);
}


kdelibs'HTMLBodyElement::setALink() (./kdelibs/khtml/dom/html_base.cpp:73)

void HTMLBodyElement::setALink( const DOMString &value )
{
    if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_ALINK, value);
}


kdelibs'HTMLBodyElement::background() (./kdelibs/khtml/dom/html_base.cpp:78)

DOMString HTMLBodyElement::background() const
{
    if(!impl) return 0;
    return ((ElementImpl *)impl)->getAttribute(ATTR_BACKGROUND);
}


kdelibs'HTMLBodyElement::setBackground() (./kdelibs/khtml/dom/html_base.cpp:84)

void HTMLBodyElement::setBackground( const DOMString &value )
{
    if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_BACKGROUND, value);
}


kdelibs'HTMLBodyElement::bgColor() (./kdelibs/khtml/dom/html_base.cpp:89)

DOMString HTMLBodyElement::bgColor() const
{
    if(!impl) return 0;
    return ((ElementImpl *)impl)->getAttribute(ATTR_BGCOLOR);
}


kdelibs'HTMLBodyElement::setBgColor() (./kdelibs/khtml/dom/html_base.cpp:95)

void HTMLBodyElement::setBgColor( const DOMString &value )
{
    if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_BGCOLOR, value);
}


kdelibs'HTMLBodyElement::link() (./kdelibs/khtml/dom/html_base.cpp:100)

DOMString HTMLBodyElement::link() const
{
    if(!impl) return 0;
    return ((ElementImpl *)impl)->getAttribute(ATTR_LINK);
}


kdelibs'HTMLBodyElement::setLink() (./kdelibs/khtml/dom/html_base.cpp:106)

void HTMLBodyElement::setLink( const DOMString &value )
{
    if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_LINK, value);
}


kdelibs'HTMLBodyElement::text() (./kdelibs/khtml/dom/html_base.cpp:111)

DOMString HTMLBodyElement::text() const
{
    if(!impl) return 0;
    return ((ElementImpl *)impl)->getAttribute(ATTR_TEXT);
}


kdelibs'HTMLBodyElement::setText() (./kdelibs/khtml/dom/html_base.cpp:117)

void HTMLBodyElement::setText( const DOMString &value )
{
    if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_TEXT, value);
}


kdelibs'HTMLBodyElement::vLink() (./kdelibs/khtml/dom/html_base.cpp:122)

DOMString HTMLBodyElement::vLink() const
{
    if(!impl) return 0;
    return ((ElementImpl *)impl)->getAttribute(ATTR_VLINK);
}


kdelibs'HTMLBodyElement::setVLink() (./kdelibs/khtml/dom/html_base.cpp:128)

void HTMLBodyElement::setVLink( const DOMString &value )
{
    if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_VLINK, value);
}

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