Functions related to the QUrl class.
More...
Functions related to the QUrl class.
◆ dos_qurl_create()
DOS_API DosQUrl* dos_qurl_create |
( |
const char * |
url, |
|
|
int |
parsingMode |
|
) |
| |
Create a new QUrl.
- Parameters
-
url | The UTF-8 string that represents an url |
parsingMode | The parsing mode |
- Note
- The retuned QUrl should be freed using the dos_qurl_delete() function
◆ dos_qurl_delete()
DOS_API void dos_qurl_delete |
( |
DosQUrl * |
vptr | ) |
|
Free the memory allocated for the QUrl.
- Parameters
-
◆ dos_qurl_isValid()
DOS_API bool dos_qurl_isValid |
( |
const DosQUrl * |
vptr | ) |
|
Class the QUrl::isValid() function.
- Parameters
-
- Returns
- True if the QUrl is valid, false otherwise
◆ dos_qurl_to_string()
DOS_API char* dos_qurl_to_string |
( |
const DosQUrl * |
vptr | ) |
|
Calls the QUrl::toString() function.
- Parameters
-
- Returns
- The url as an UTF-8 string
- Note
- The returned string should be freed using the dos_chararray_delete() function