struct URLArgs

URLArgs is a set of arguments bundled into a structure, to allow specifying how a URL should be opened by openURL(). More...

Full nameKParts::URLArgs
Definition#include <browserextension.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Members


Detailed Description

URLArgs is a set of arguments bundled into a structure, to allow specifying how a URL should be opened by openURL(). In other words, this is like arguments to openURL(), but without have to change the signature of openURL() (since openURL is a generic KParts method). The parts (with a browser extension) who care about urlargs will use those arguments, others will ignore them.

This can also be used the other way round, when a part asks for a URL to be opened (with openURLRequest or createNewWindow).

 URLArgs ()

URLArgs

 URLArgs ( const URLArgs &args )

URLArgs

URLArgs & operator= ( const URLArgs &args)

operator=

 URLArgs ( bool reload, int xOffset, int yOffset, const QString &serviceType = QString::null )

URLArgs

 ~URLArgs ()

~URLArgs

[virtual]

QStringList docState

docState

bool reload

reload

int xOffset

xOffset

int yOffset

yOffset

QString serviceType

serviceType

QByteArray postData

postData

void  setContentType ( const QString & contentType )

setContentType

KHTML-specific field, header defining the type of the POST data.

QString  contentType ()

contentType

[const]

KHTML-specific field, header defining the type of the POST data.

void  setDoPost ( bool enable )

setDoPost

KHTML-specific field, whether to do a POST instead of a GET, for the next openURL.

bool  doPost ()

doPost

[const]

KHTML-specific field, whether to do a POST instead of a GET, for the next openURL.

void  setLockHistory ( bool lock )

setLockHistory

Whether to lock the history when opening the next URL. This is used during e.g. a redirection, to avoid a new entry in the history.

bool  lockHistory ()

lockHistory

[const]

QMap<QString, QString> & metaData ()

metaData

Meta-data to associate with the next KIO operation

See also: TransferJob, etc.

QString frameName

frameName

bool trustedSource

trustedSource

URLArgsPrivate * d

d


Generated by: dfaure on faure on Tue Apr 16 08:50:22 2002, using kdoc 2.0a53.