[Qt-interest] What is likely to be in Qt 4.8?
Scott Aron Bloom
Scott.Bloom at onshorecs.com
Fri Feb 25 09:18:24 CET 2011
-----Original Message-----
From: qt-interest-bounces+scott.bloom=onshorecs.com at qt.nokia.com
[mailto:qt-interest-bounces+scott.bloom=onshorecs.com at qt.nokia.com] On
Behalf Of Thiago Macieira
Sent: Thursday, February 24, 2011 11:45 PM
To: qt-interest at qt.nokia.com
Subject: Re: [Qt-interest] What is likely to be in Qt 4.8?
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.
--
How does the resource area fit into that view of the QFileSystem?
More information about the Qt-interest-old
mailing list