[Qt-interest] What is likely to be in Qt 4.8?
Thiago Macieira
thiago at kde.org
Fri Feb 25 08:44:57 CET 2011
On Thursday, 24 de February de 2011 21:26:23 Stephen Chu wrote:
> On 2/22/2011 3:27 PM, Thiago Macieira wrote:ility reasons).
>
> >> I'm curious what will replace the FileEngine stuff? I've done some
> >> cool
> >> things with it.
> >
> > QFileSystem. Take a look at the current 4.8.
>
> Does it allow custom file handling like with file engine?
No. QFileSystem gives you access to *the* filesystem on your system. There
aren't two.
If you want custom, please consider modifying your operating system's kernel,
or using a virtual filesystem layer. Trying to make QFile be a VFS was a
mistake back in Qt 4.1 days we're only now correcting.
> I use custom
> file engine to handle different compression schemes of our files so the
> code that reads them doesn't have to know which type they are. will this
> still be possible in the new file system?
You can still do the same by using your own classes deriving from QIODevice
instead of relying on QFile. KDE has been doing that with the KArchive classes
for 10 years.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Senior Product Manager - Nokia, Qt Development Frameworks
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110225/7a80ace7/attachment.bin
More information about the Qt-interest-old
mailing list