What about adding a pointer to a QDataStream member variable?
And then:
As for writing to the data stream, you can use:Qt Code:
void SomeClass::initDataStream() { }To copy to clipboard, switch view to plain text mode
This is pretty clear. Don't forget to delete the data stream when you're finished with it.Qt Code:
*mDataStream << someInput;To copy to clipboard, switch view to plain text mode
Regards
Bookmarks