.....................................................................................................
```c QStringList fileToStringList( const QString &fileName, const QString &caller ) { QStringList text; QFile file(fileName); if( !file.open( QFile::ReadOnly | QFile::Text) ) { QMessageBox::warning( 0l, caller, "Cannot read file " +fileName+":\n" +file.errorString()); return text; } QTextStream in( &file ); while( !in.atEnd() ) text.append( in.readLine() ); file.close(); return text; } ```
.....................................................................................................