diff options
Diffstat (limited to 'Source/WebKit2/UIProcess/API/cpp/qt/WKURLQt.h')
-rw-r--r-- | Source/WebKit2/UIProcess/API/cpp/qt/WKURLQt.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/Source/WebKit2/UIProcess/API/cpp/qt/WKURLQt.h b/Source/WebKit2/UIProcess/API/cpp/qt/WKURLQt.h index 2e4147330..b12f97459 100644 --- a/Source/WebKit2/UIProcess/API/cpp/qt/WKURLQt.h +++ b/Source/WebKit2/UIProcess/API/cpp/qt/WKURLQt.h @@ -25,7 +25,18 @@ #include <WebKit2/WKBase.h> #include <WebKit2/WKURL.h> +WK_EXPORT WKURLRef WKURLCreateWithQString(const QString& url); +WK_EXPORT QString WKURLCopyQString(WKURLRef url); + WK_EXPORT WKURLRef WKURLCreateWithQUrl(const QUrl& url); -QUrl WKURLCopyQUrl(WKURLRef url); +WK_EXPORT QUrl WKURLCopyQUrl(WKURLRef url); + +namespace WebKit { +QString adoptToQString(WKURLRef); +QUrl adoptToQUrl(WKURLRef); +} /* namespace WebKit */ + +using WebKit::adoptToQString; +using WebKit::adoptToQUrl; #endif /* WKURLCF_h */ |