linklocator.h
void setMaxUrlLen(int length)
Sets the maximum length of URLs that will be matched by getUrl().
Definition linklocator.cpp:67
static TQString pngToDataUrl(const TQString &iconPath)
Embed the given PNG image into a data URL.
Definition linklocator.cpp:353
void setMaxAddressLen(int length)
Sets the maximum length of email addresses that will be matched by getEmailAddress().
Definition linklocator.cpp:77
static TQString convertToHtml(const TQString &plainText, int flags=0, int maxUrlLen=4096, int maxAddressLen=255)
Converts plaintext into html.
Definition linklocator.cpp:225
LinkLocator(const TQString &text, int pos=0)
Constructs a LinkLocator that will search a plaintext string from a given starting point.
Definition linklocator.cpp:43
TQString mText
The plaintext string being scanned for URLs and email addresses.
Definition linklocator.h:157
TQString getUrl()
Attempts to grab a URL starting at the current scan position.
Definition linklocator.cpp:87
