[Qt-interest] QAbstractFileEngine problems

Jason H scorp1us at yahoo.com
Thu Jul 8 00:27:25 CEST 2010


Sorry, but there seems to be some messages not being delivered to my webmail 
interface, but my phone pulls them up just fine. Hrm. Yahoo!
My mailprovider's bad.




----- Original Message ----
From: Thiago Macieira <thiago at kde.org>
To: qt-interest at trolltech.com
Sent: Wed, July 7, 2010 6:05:12 PM
Subject: Re: [Qt-interest] QAbstractFileEngine problems

On Wednesday 7. July 2010 22.49.47 Jason H wrote:
> You never did answer my question though. Given my DatabaseFileEngine
> impements write() why is QFile never calling it?

Read the other reply I sent to you, which says:

> > And you didn't answer my question. What needs to happen to have me write
> > data? The file creation on open() happens, but my custom write (const
> > char *, qint64) handler never gets called.
> 
> No, I didn't. I don't know what's wrong. I simply took the opportunity to
> recommend you redesign your approach for your new application.
>
> I suggest debugging into QIODevice::write / QFile::writeData to see where it
> ends up.

-- 
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



      




More information about the Qt-interest-old mailing list