Hi all,
I'm trying to implement an "open recently opened files" menu. For now I have successfully implemented the functions that write and retrieve the list of frequently needed files on the disk. I have also a piece of code that creates the menu entries dynamically.
My problem is that I need to connect the menu qActions to the function that will actually load the files, something like openFiles(QString& filename). How can you do the connection? I don't think something like
connect(my_action,SIGNAL(triggered(),this,SLOT(openFiles(myfile)));
connect(my_action,SIGNAL(triggered(),this,SLOT(openFiles(myfile)));
To copy to clipboard, switch view to plain text mode
is legal
. Any insights?
Bookmarks