|
browserchooser 0.0.2
A simple browser chooser.
|
#include <expected>#include <QtCore/QString>

Go to the source code of this file.
Enumerations | |
| enum class | ParseUrlError { EmptyUrl } |
Functions | |
| std::expected< QString, ParseUrlError > | parseUrl (const QString &url) |
|
strong |
Error code for URL parsing.
|
nodiscard |
Parses the given URL and returns the domain (host for http(s), filename for file).
| url | The URL or path to parse. |