Sry for the dumb question, but I'm not very experienced with C++ and I don't manage find the appropriate return type of the following function:

Qt Code:
  1. ?? MyClass::selectFile(){
  2. const QString fileName = QFileDialog::getOpenFileName(this,
  3. tr("Select file"), qgetenv("HOMEPATH")+"\\Desktop", tr("File(*.hex)"));
  4.  
  5. if(fileName==NULL)
  6. return NULL;
  7.  
  8. QFile file(fileName);
  9.  
  10. return ??;
  11.  
  12. }
To copy to clipboard, switch view to plain text mode