KIO
KIO::AccessManager Class Reference
#include <accessmanager.h>

Public Types | |
enum | Attribute { MetaData = QNetworkRequest::User, KioError } |
Public Member Functions | |
AccessManager (QObject *parent) | |
bool | isExternalContentAllowed () const |
void | setExternalContentAllowed (bool allowed) |
virtual | ~AccessManager () |
Protected Member Functions | |
virtual QNetworkReply * | createRequest (Operation op, const QNetworkRequest &req, QIODevice *outgoingData=0) |
Detailed Description
Definition at line 42 of file accessmanager.h.
Member Enumeration Documentation
Extensions to QNetworkRequest::Attribute enums.
- Since:
- 4.3.2
- Enumerator:
MetaData KioError < Used to send KIO MetaData back and forth.
type: QVariant::Map. Used to send KIO error codes that cannot be mapped into QNetworkReply::NetworkError. type: QVariant::Int
Definition at line 50 of file accessmanager.h.
Constructor & Destructor Documentation
AccessManager::AccessManager | ( | QObject * | parent | ) |
Definition at line 50 of file accessmanager.cpp.
AccessManager::~AccessManager | ( | ) | [virtual] |
Definition at line 55 of file accessmanager.cpp.
Member Function Documentation
QNetworkReply * AccessManager::createRequest | ( | Operation | op, | |
const QNetworkRequest & | req, | |||
QIODevice * | outgoingData = 0 | |||
) | [protected, virtual] |
Definition at line 70 of file accessmanager.cpp.
bool AccessManager::isExternalContentAllowed | ( | ) | const |
returns if external content will be fetched, see setExternalContentAllowed().
Definition at line 65 of file accessmanager.cpp.
void AccessManager::setExternalContentAllowed | ( | bool | allowed | ) |
Set allowed
to false if you don't want any external content to be fetched, by default external content is allowed.
Definition at line 60 of file accessmanager.cpp.
The documentation for this class was generated from the following files: