I see how with QUrl, you can get the host, query string, fragment, path, authority from a given URL. Is there an easy way to get the filename from the URL? For instance, for http://doc.trolltech.com/4.3/qurl.html#path, I want just the "qurl.html" ...?