[patch] do not display links (KUrlLabel) with =?utf-8?q?ampersands=09?=(accelerators)

Simon Hausmann hausmann at kde.org
Tue Aug 22 15:43:15 BST 2006


On Tuesday 22 August 2006 15:42, Krzysztof Lichota wrote:
> Olivier Goffart napisał(a):
> > Le mardi 22 août 2006 14:31, Jarosław Staniek a écrit :
> >> Stephan Kulow said the following, On 2006-08-22 14:20:
> >>> Am Dienstag, 22. August 2006 13:59 schrieb Jarosław Staniek:
> >>>> OK to commit, or is there cleaner way to do this?
> >>>>
> >>>> Optionally we could provide a way to display accelerators for links,
> >>>> e.g. stronger underline, or displaying a letter in bold.
> >>>
> >>> Wasn't KURLLabel going to die?
> >>
> >> http://websvn.kde.org/*checkout*/trunk/KDE/kdelibs/KDE4PORTING.html does
> >> not inform about this...
> >>
> >> If so, is there accessible replacement?
> >
> > QLabel("<a href='http://yoururl'>My website</a>")
> >
> > Really, I'm not sure KUrlLabel gives any convenience. Does it ?
>
> Does the above emit a signal when link is clicked?
> I don't see any in Qt 4.1 docs.

Check the Qt 4.2 docs ;-)

Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060822/330bfea6/attachment.sig>


More information about the kde-core-devel mailing list