I have this statement:

[
QByteArray* messageIn = new QByteArray();
*messageIn = "Hello\n";
cout << "Here I should be able to print Hello\n";
]

I need to conver the QByteArray to:
1. QString
2. String

How ?