[Qt-interest] QAbstractFileEngine problems

Jason H scorp1us at yahoo.com
Wed Jul 7 15:03:37 CEST 2010


Thanks Eric, but do you have any tips on why my write() isn't getting called?
The create on open happens, as I can see the entry for it, but and a write is 
called by QFile, but I never see it hit by breakpoint which is on line 1 of my 
custom function.




----- Original Message ----
From: Eric Landuyt <eric at datarescue.be>
To: qt-interest at trolltech.com
Sent: Wed, July 7, 2010 2:42:20 AM
Subject: Re: [Qt-interest] QAbstractFileEngine problems

Hello,

Wednesday, July 7, 2010, 8:07:22 AM, you wrote:
TM> Please stop using file engines. They are a feature we want to get rid of.

Too bad ! Please do not deprecate/remove this (or at least not before Qt 5 ;).

As Jason, we are also using these in our application: the file engine
architecture allowed us to implement a "recovery filesystem" on top of Qt,
and auto-magically reuse many classes like QDirIterator, QImage, ... on top
of our internal view of the recovery results. So this architecture helped us
really much, and is one of the main points why we decided to switch to Qt
some years ago.
File engines are of real use to anyone wanting to implement things like
"virtual files": take KIO slaves as an example!

Cheers,

--
Eric Landuyt, Developer - mailto:eric at datarescue.be
DataRescue sa/nv - http://www.datarescue.com

_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest



      




More information about the Qt-interest-old mailing list