I also like foreach because its easy to use, avoids unnecessary copying and very readable and the performance is ok:
Qt Code:
foreach(const QUrl& url, event->mimeData()->urls()) { //work }To copy to clipboard, switch view to plain text mode
I also like foreach because its easy to use, avoids unnecessary copying and very readable and the performance is ok:
Qt Code:
foreach(const QUrl& url, event->mimeData()->urls()) { //work }To copy to clipboard, switch view to plain text mode
Bookmarks