org.kde.koala
public class URLArgs extends Object implements QtSupport
UNKNOWN: URLArgs is a set of arguments bundled into a structure, to allow specifying how a URL should be opened by openURL().
Constructor Summary | |
---|---|
protected | URLArgs(Class dummy) |
URLArgs() | |
URLArgs(URLArgs args) | |
URLArgs(boolean reload, int xOffset, int yOffset, String serviceType) | |
URLArgs(boolean reload, int xOffset, int yOffset) |
Method Summary | |
---|---|
String | contentType()
KHTML-specific field, header defining the type of the POST data. |
boolean | doPost()
KHTML-specific field, whether to do a POST instead of a GET,
for the next openURL. |
boolean | forcesNewWindow()
Whether the URL specifies to be opened in a new window |
boolean | lockHistory() |
boolean | newTab() |
boolean | redirectedRequest() |
void | setContentType(String contentType)
KHTML-specific field, header defining the type of the POST data. |
void | setDoPost(boolean enable)
KHTML-specific field, whether to do a POST instead of a GET,
for the next openURL. |
void | setForcesNewWindow(boolean forcesNewWindow)
Set whether the URL specifies to be opened in a new window |
void | setLockHistory(boolean lock)
Whether to lock the history when opening the next URL.
|
void | setNewTab(boolean newTab)
Whether the URL should be opened in a new tab instead in a new window. |
void | setRedirectedRequest(boolean redirected)
Set the redirect flag to indicate URL is a result of either a META redirect
or HTTP redirect. |
UNKNOWN: KHTML-specific field, header defining the type of the POST data.
UNKNOWN: KHTML-specific field, whether to do a POST instead of a GET, for the next openURL.
UNKNOWN: Whether the URL specifies to be opened in a new window
Returns: true if the request was a result of a META refresh/redirect request or HTTP redirect.
UNKNOWN:
UNKNOWN: KHTML-specific field, header defining the type of the POST data.
UNKNOWN: KHTML-specific field, whether to do a POST instead of a GET, for the next openURL.
UNKNOWN: Set whether the URL specifies to be opened in a new window
UNKNOWN: Whether to lock the history when opening the next URL.
UNKNOWN: Whether the URL should be opened in a new tab instead in a new window.
Parameters: redirected @short Set the redirect flag to indicate URL is a result of either a META redirect or HTTP redirect.