Wt  4.13.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Wt::WUrlFavicon Class Reference

A WFavicon located at a given URL. More...

#include <Wt/WUrlFavicon.h>

Inheritance diagram for Wt::WUrlFavicon:
[legend]

Public Member Functions

 WUrlFavicon (const std::string &url)
 Constructs a WUrlFavicon.
 
void setUrl (const std::string &url)
 Sets the URL.
 
std::string url () const override
 Returns the url to the favicon.
 
- Public Member Functions inherited from Wt::WFavicon
void update ()
 Sets the favicon in its update state.
 
void reset ()
 Sets the favicon in its default state.
 
bool isUpdated () const
 Returns whether the favicon is in its update state or not.
 

Additional Inherited Members

- Protected Member Functions inherited from Wt::WFavicon
virtual void doUpdate ()
 Updates the favicon.
 
virtual void doReset ()
 Resets the favicon.
 

Detailed Description

A WFavicon located at a given URL.

See also
WApplication::setFavicon()

Constructor & Destructor Documentation

◆ WUrlFavicon()

Wt::WUrlFavicon::WUrlFavicon ( const std::string &  url)

Constructs a WUrlFavicon.

Constructs a WUrlFavicon from the given url.

Member Function Documentation

◆ url()

std::string Wt::WUrlFavicon::url ( ) const
overridevirtual

Returns the url to the favicon.

This should return the absolute url to the favicon.

Implements Wt::WFavicon.