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

Class Index

kdelibs'HTMLTitleElement (./kdelibs/khtml/dom/html_head.h:548)

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

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

    ~HTMLTitleElement();

    /**
     * The specified title as a string.
     *
     */
    DOMString text() const;

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

}; //namespace

kdelibs'HTMLTitleElement::HTMLTitleElement() (./kdelibs/khtml/dom/html_head.cpp:541)

HTMLTitleElement::HTMLTitleElement() : HTMLElement()
{
}


kdelibs'HTMLTitleElement::HTMLTitleElement() (./kdelibs/khtml/dom/html_head.cpp:545)

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


kdelibs'HTMLTitleElement::HTMLTitleElement() (./kdelibs/khtml/dom/html_head.cpp:549)

HTMLTitleElement::HTMLTitleElement(HTMLTitleElementImpl *impl) : HTMLElement(impl)
{
}


kdelibs'HTMLTitleElement::~HTMLTitleElement() (./kdelibs/khtml/dom/html_head.cpp:570)

HTMLTitleElement::~HTMLTitleElement()
{
}


kdelibs'HTMLTitleElement::text() (./kdelibs/khtml/dom/html_head.cpp:574)

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


kdelibs'HTMLTitleElement::setText() (./kdelibs/khtml/dom/html_head.cpp:580)

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