What is the right way to do this? I need to pass QFile object to function which writes some data to file. I've tried to search example code but no success.
What is the right way to do this? I need to pass QFile object to function which writes some data to file. I've tried to search example code but no success.
Qt Code:
To copy to clipboard, switch view to plain text mode
And pass your object pointer to that function. That will make it possible to edit it.
... or for a C++ flavour, as a non-const reference to the QFile object.
Bookmarks