Helper function for Url handling.
§ get_base_url()
QString Helper::Url::get_base_url |
( |
const QString & |
url | ) |
|
get url until the first /
- Parameters
-
- Returns
- the first letters before first /, url if there is no /
§ get_filename()
QString Helper::Url::get_filename |
( |
const QString & |
url | ) |
|
get everything behind the last /
- Parameters
-
- Returns
- everything behind last /, or empty string, if there is no /
§ get_protocol()
QString Helper::Url::get_protocol |
( |
const QString & |
url | ) |
|
get protocol string without ://
- Parameters
-
- Returns
- the first letters before ://