I am writing a plugin for a Qt desktop app using PythonQT. I wonder how to use << operator in python.
QTextStream stream(&file);
stream << doc.toString();
Any hints? How may I ask Python to list all methods for a given class like QTextStream? Or is there another way in Python to write a QDomDocument to a QFile?