'lightweight' QDir::isAbsolutePath replacement ?

Thiago Macieira thiago at kde.org
Thu Mar 6 14:58:20 GMT 2008

On Thursday 06 March 2008 13:42:08 Ralf Habacker wrote:
> The only static method Qt provides to handle this platform independent
> is QDir::isAbsolutePath(). Unfortunally this method seems to be very
> time expensive because it creates a temporary QDir instance.

QDir, QFile and QFileInfo's performance are areas that we want to focus on for 
Qt 4.5. If this isn't performance critical now, I'd recommend not going to 
extra lengths to duplicate the code.

  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    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: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080306/7324b78c/attachment.sig>

More information about the kde-core-devel mailing list