KParts
KParts::OpenUrlArguments Class Reference
#include <part.h>
Public Member Functions | |
OpenUrlArguments () | |
OpenUrlArguments (const OpenUrlArguments &other) | |
~OpenUrlArguments () | |
bool | actionRequestedByUser () const |
QMap< QString, QString > & | metaData () |
const QMap< QString, QString > & | metaData () const |
QString | mimeType () const |
OpenUrlArguments & | operator= (const OpenUrlArguments &other) |
bool | reload () const |
void | setActionRequestedByUser (bool userRequested) |
void | setMimeType (const QString &mime) |
void | setReload (bool b) |
void | setXOffset (int x) |
void | setYOffset (int y) |
int | xOffset () const |
int | yOffset () const |
Detailed Description
OpenUrlArguments is the set of arguments that specify how a URL should be opened by KParts::ReadOnlyPart::openUrl().
For instance reload() indicates that the url should be loaded from the network even if it matches the current url of the part.
All setter methods in this class are for the class that calls openUrl (usually the hosting application), all the getter methods are for the part.
Constructor & Destructor Documentation
KParts::OpenUrlArguments::OpenUrlArguments | ( | const OpenUrlArguments & | other | ) |
Member Function Documentation
bool KParts::OpenUrlArguments::actionRequestedByUser | ( | ) | const |
Meta-data to associate with the KIO operation that will be used to open the URL.
This method can be used to add or retrieve metadata.
- See also
- KIO::TransferJob etc.
QString KParts::OpenUrlArguments::mimeType | ( | ) | const |
KParts::OpenUrlArguments & KParts::OpenUrlArguments::operator= | ( | const OpenUrlArguments & | other | ) |
bool KParts::OpenUrlArguments::reload | ( | ) | const |
void KParts::OpenUrlArguments::setActionRequestedByUser | ( | bool | userRequested | ) |
void KParts::OpenUrlArguments::setMimeType | ( | const QString & | mime | ) |
void KParts::OpenUrlArguments::setReload | ( | bool | b | ) |
int KParts::OpenUrlArguments::xOffset | ( | ) | const |
int KParts::OpenUrlArguments::yOffset | ( | ) | const |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:42 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:42 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.