http://doc.trolltech.com/4.1/qstring.html

Look for methods that return QByteArray.