Toolbox Qt
|
Display a link with a custom text. More...
Public Member Functions | |
RichLink (const QUrl &link, const QString &display=QString()) | |
Create a RichLink object. | |
const QUrl & | getUrl () const |
Get URL used in the link. | |
const QString & | getTextDisplayed () const |
Get displayed text of the link. | |
QString | toHtml () const |
Convert rich link to html string that can be used (like in QLabel for example) | |
Display a link with a custom text.
Include with:
|
explicit |
const QString & tbq::RichLink::getTextDisplayed | ( | ) | const |
Get displayed text of the link.
const QUrl & tbq::RichLink::getUrl | ( | ) | const |
Get URL used in the link.
QString tbq::RichLink::toHtml | ( | ) | const |
Convert rich link to html string that can be used (like in QLabel
for example)