I have a an object I\'d like to be able to read and write to/from a QDataStream. The header is as follows:
class Compound { public: Compound(QString, QPi
If you want to overload the "extract" operator >>, your signature must be:
QDataStream & operator >> (QDataStream & in, MyClass & class);
Hope it helps.