Falkon Develop
Cross-platform Qt-based web browser
LoadRequest Class Reference

#include <loadrequest.h>

Public Types

enum  Operation { GetOperation = 0 , PostOperation = 1 }
 

Public Member Functions

 LoadRequest ()
 
 LoadRequest (const LoadRequest &other)
 
 LoadRequest (const QUrl &url, Operation op=GetOperation, const QByteArray &data=QByteArray())
 
LoadRequestoperator= (const LoadRequest &other)
 
bool isValid () const
 
QUrl url () const
 
void setUrl (const QUrl &url)
 
QString urlString () const
 
Operation operation () const
 
void setOperation (Operation op)
 
QByteArray data () const
 
void setData (const QByteArray &data)
 
QWebEngineHttpRequest webRequest () const
 

Detailed Description

Definition at line 26 of file loadrequest.h.

Member Enumeration Documentation

◆ Operation

Enumerator
GetOperation 
PostOperation 

Definition at line 29 of file loadrequest.h.

Constructor & Destructor Documentation

◆ LoadRequest() [1/3]

LoadRequest::LoadRequest ( )

Definition at line 20 of file loadrequest.cpp.

◆ LoadRequest() [2/3]

LoadRequest::LoadRequest ( const LoadRequest other)
default

◆ LoadRequest() [3/3]

LoadRequest::LoadRequest ( const QUrl &  url,
LoadRequest::Operation  op = GetOperation,
const QByteArray &  data = QByteArray() 
)

Definition at line 29 of file loadrequest.cpp.

Member Function Documentation

◆ data()

QByteArray LoadRequest::data ( ) const

Definition at line 69 of file loadrequest.cpp.

◆ isValid()

bool LoadRequest::isValid ( ) const

Definition at line 39 of file loadrequest.cpp.

◆ operation()

LoadRequest::Operation LoadRequest::operation ( ) const

Definition at line 59 of file loadrequest.cpp.

◆ operator=()

LoadRequest & LoadRequest::operator= ( const LoadRequest other)
default

◆ setData()

void LoadRequest::setData ( const QByteArray &  data)

Definition at line 74 of file loadrequest.cpp.

◆ setOperation()

void LoadRequest::setOperation ( LoadRequest::Operation  op)

Definition at line 64 of file loadrequest.cpp.

◆ setUrl()

void LoadRequest::setUrl ( const QUrl &  url)

Definition at line 49 of file loadrequest.cpp.

◆ url()

QUrl LoadRequest::url ( ) const

Definition at line 44 of file loadrequest.cpp.

◆ urlString()

QString LoadRequest::urlString ( ) const

Definition at line 54 of file loadrequest.cpp.

◆ webRequest()

QWebEngineHttpRequest LoadRequest::webRequest ( ) const

Definition at line 79 of file loadrequest.cpp.


The documentation for this class was generated from the following files: