Feedback wanted regarding prettyURL()

Thiago Macieira thiago at
Sat Aug 18 00:51:33 BST 2007

Dirk Mueller wrote:
>On Friday, 17. August 2007, Thiago Macieira wrote:
>> >[0]
>> How about always squeezing any long URL in the Location bar? Or, even
>> better, intelligently squeezing the parts that come before ref and
>> query.
>how do you want to do that? make the addressbar re-parse the prettyURL
> and squeeze cleverly, as long as we`re not editing?
>I guess this wouldn`t be a too difficult solution. I`ll try.

The result of a prettyUrl is a QString. So, if there's a ? or #, squeeze 
up to it. If there isn't, squeeze the entire thing so it fits.

  Thiago Macieira  -  thiago (AT) - thiago (AT)
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <>

More information about the kde-core-devel mailing list