Core: Use FilePath in some functions related to opening files

Change-Id: I9610855a914d315d7934996c755fb69ad399320f
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2021-07-23 10:33:02 +02:00
parent dbdea46f66
commit 906cfb060b
13 changed files with 46 additions and 40 deletions

View File

@@ -804,14 +804,14 @@ void ICore::registerWindow(QWidget *window, const Context &context)
}
/*!
Opens files using \a arguments and \a flags like it would be
Opens files using \a filePaths and \a flags like it would be
done if they were given to \QC on the command line, or
they were opened via \uicontrol File > \uicontrol Open.
*/
void ICore::openFiles(const QStringList &arguments, ICore::OpenFilesFlags flags)
void ICore::openFiles(const FilePaths &filePaths, ICore::OpenFilesFlags flags)
{
MainWindow::openFiles(arguments, flags);
MainWindow::openFiles(filePaths, flags);
}
/*!