[Qt-interest] QAbstractFileEngine problems

Thiago Macieira thiago at kde.org
Thu Jul 8 00:05:12 CEST 2010


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
-------------- 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/20100708/a18562ec/attachment.bin 


More information about the Qt-interest-old mailing list