Hi,
On Editeur * ouvrirFichier(QStringList listeEmplacements, int numLigne=-1, bool modeSilencieux=false);
listeEmplacements is a list of location for ONE file and open the first good location on the list.
I don't know why do you want open files on main function because QIde save all opens file on file settings. This files are open when QIde starts.
But if you want replace
#
/* list of file */
#
if (list.size() > 0) {
#
main->ouvrirFichier(list);
#
}
#
/* list of file */
#
#
/* list of file */
#
if (list.size() > 0) {
#
main->ouvrirFichier(list);
#
}
#
/* list of file */
#
To copy to clipboard, switch view to plain text mode
by
#
/* list of file */
#
#
main->ouvrirFichier(name);
#
}
#
/* list of file */
#
#
/* list of file */
#
foreach(QString name, list) {
#
main->ouvrirFichier(name);
#
}
#
/* list of file */
#
To copy to clipboard, switch view to plain text mode
Bookmarks