[PyKDE] Using QDataStream

Eron Lloyd eronlloyd at gmail.com
Wed Apr 6 01:39:38 BST 2005


Hello again,

Since pickle doesn't allow objects wrapping QObjects, I guess QDataStream is 
the next best bet. I haven't found any good examples of it in action, so was 
wondering if anyone has any suggestions. Basically I have a class that acts 
as a data model, and I'd like to store it's members (both python and 
QObjects) as serialized files. I've been spoiled by pickle up 'til now...

Thanks,

Eron




More information about the PyQt mailing list