KVIrc 5.2.6
Developer APIs
KvsObject_http Class Reference

#include <KvsObject_http.h>

+ Inheritance diagram for KvsObject_http:

Protected Slots

void slotDataReadProgress (int done, int total)
 
void slotDataSendProgress (int done, int total)
 
void slotDone (bool error)
 
void slotReadyRead (const QHttpResponseHeader &r)
 
void slotRequestFinished (int id, bool error)
 
void slotRequestStarted (int id)
 
void slotResponseHeaderReceived (const QHttpResponseHeader &r)
 
void slotSslErrors (QList< QSslError >)
 
void slotStateChanged (int state)
 
- Protected Slots inherited from KviKvsObject
void delayedDie ()
 
void objectDestroyed ()
 

Protected Member Functions

bool functionAbort (KviKvsObjectFunctionCall *c)
 
bool functionCurrentId (KviKvsObjectFunctionCall *c)
 
bool functionDataReadProgressEvent (KviKvsObjectFunctionCall *c)
 
bool functionDataSendProgressEvent (KviKvsObjectFunctionCall *c)
 
bool functionDoneEvent (KviKvsObjectFunctionCall *c)
 
bool functionErrorString (KviKvsObjectFunctionCall *c)
 
bool functionFollowRedirect (KviKvsObjectFunctionCall *c)
 
bool functionGet (KviKvsObjectFunctionCall *c)
 
bool functionIgnoreSslErrors (KviKvsObjectFunctionCall *c)
 
bool functionPost (KviKvsObjectFunctionCall *c)
 
bool functionReadAll (KviKvsObjectFunctionCall *c)
 
bool functionReadyReadEvent (KviKvsObjectFunctionCall *c)
 
bool functionRequestFinishedEvent (KviKvsObjectFunctionCall *c)
 
bool functionRequestStartedEvent (KviKvsObjectFunctionCall *c)
 
bool functionResponseHeaderReceivedEvent (KviKvsObjectFunctionCall *c)
 
bool functionSetHost (KviKvsObjectFunctionCall *c)
 
bool functionSetProxy (KviKvsObjectFunctionCall *c)
 
bool functionSetUser (KviKvsObjectFunctionCall *c)
 
bool functionSslErrorsEvent (KviKvsObjectFunctionCall *c)
 
bool functionStateChangedEvent (KviKvsObjectFunctionCall *c)
 
void redirect (QString &file, const QHttpResponseHeader &r)
 
- Protected Member Functions inherited from KviKvsObject
bool eventFilter (QObject *o, QEvent *e) override
 
bool function_childCount (KviKvsObjectFunctionCall *c)
 
bool function_children (KviKvsObjectFunctionCall *c)
 
bool function_className (KviKvsObjectFunctionCall *c)
 
bool function_destructor (KviKvsObjectFunctionCall *c)
 
bool function_emit (KviKvsObjectFunctionCall *c)
 
bool function_findChild (KviKvsObjectFunctionCall *c)
 
bool function_killTimer (KviKvsObjectFunctionCall *c)
 
bool function_listProperties (KviKvsObjectFunctionCall *c)
 
bool function_name (KviKvsObjectFunctionCall *c)
 
bool function_parent (KviKvsObjectFunctionCall *c)
 
bool function_property (KviKvsObjectFunctionCall *c)
 
bool function_setProperty (KviKvsObjectFunctionCall *c)
 
bool function_signalName (KviKvsObjectFunctionCall *c)
 
bool function_signalSender (KviKvsObjectFunctionCall *c)
 
bool function_startTimer (KviKvsObjectFunctionCall *c)
 
virtual bool init (KviKvsRunTimeContext *pContext, KviKvsVariantList *pParams)
 
void registerChild (KviKvsObject *c)
 
void registerConnection (KviKvsObjectConnection *con)
 
void timerEvent (QTimerEvent *e) override
 
void unregisterChild (KviKvsObject *c)
 
bool unregisterConnection (KviKvsObjectConnection *con)
 

Protected Attributes

QHash< int, QFile * > getDict
 
bool m_bAbort
 
bool m_bEnableForceRedirect
 
QHttpm_pHttp
 
- Protected Attributes inherited from KviKvsObject
bool m_bAboutToDie = false
 
bool m_bDestructorCalled = false
 
bool m_bInDelayedDeath = false
 
bool m_bObjectOwner = true
 
kvs_hobject_t m_hObject
 
kvs_hobject_t m_hSignalSender
 
KviPointerList< KviKvsObject > * m_pChildList = nullptr
 
KviKvsObjectClassm_pClass = nullptr
 
KviKvsObjectConnectionListm_pConnectionList = nullptr
 
KviKvsHashm_pDataContainer = nullptr
 
KviPointerHashTable< QString, KviKvsObjectFunctionHandler > * m_pFunctionHandlers = nullptr
 
QObject * m_pObject = nullptr
 
KviPointerHashTable< QString, KviKvsObjectConnectionList > * m_pSignalDict = nullptr
 
QString m_szName
 
QString m_szSignalName
 

Additional Inherited Members

- Public Member Functions inherited from KviKvsObject
bool callFunction (KviKvsObject *pCaller, const QString &fncName, const QString &classOverride, KviKvsRunTimeContext *pContext, KviKvsVariant *pRetVal, KviKvsVariantList *pParams)
 
bool callFunction (KviKvsObject *pCaller, const QString &fncName, KviKvsVariant *pRetVal, KviKvsVariantList *pParams=nullptr)
 
bool callFunction (KviKvsObject *pCaller, const QString &fncName, KviKvsVariantList *pParams=nullptr)
 
bool connectSignal (const QString &sigName, KviKvsObject *target, const QString &slotName)
 
KviKvsHashdataContainer ()
 
bool die ()
 
bool dieNow ()
 
bool disconnectSignal (const QString &sigName, KviKvsObject *target, const QString &slotName)
 
bool disconnectSignal (const QString &sigName, KviKvsObjectConnection *con)
 
int emitSignal (const QString &sigName, KviKvsObjectFunctionCall *pOuterCall, KviKvsVariantList *pParams=nullptr)
 
KviKvsObjectfindChild (const QString &szClass, const QString &szName)
 
KviPointerHashTable< QString, KviKvsObjectFunctionHandler > * functionHandlers ()
 
KviKvsObjectClassgetClass (const QString &classOverride=QString())
 
KviKvsObjectClassgetExactClass ()
 
const QString & getName () const
 
kvs_hobject_t handle ()
 
bool inheritsClass (const QString &szClass)
 
bool inheritsClass (KviKvsObjectClass *pClass)
 
void killAllChildrenWithClass (KviKvsObjectClass *cl)
 
 KviKvsObject (KviKvsObjectClass *pClass, KviKvsObject *pParent, const QString &szName)
 
KviKvsObjectFunctionHandlerlookupFunctionHandler (const QString &funcName, const QString &classOverride=QString())
 
QObject * object () const
 
KviKvsObjectparentObject ()
 
QWidget * parentScriptWidget ()
 
void registerPrivateImplementation (const QString &szFunctionName, const QString &szCode)
 
void setObject (QObject *o, bool bIsOwned=true)
 
void setSignalName (const QString &szSigName)
 
void setSignalSender (kvs_hobject_t hObject)
 
kvs_hobject_t signalSender ()
 
 ~KviKvsObject ()
 

Member Function Documentation

◆ functionAbort()

bool KvsObject_http::functionAbort ( KviKvsObjectFunctionCall * c)
protected

◆ functionCurrentId()

◆ functionDataReadProgressEvent()

bool KvsObject_http::functionDataReadProgressEvent ( KviKvsObjectFunctionCall * c)
protected

◆ functionDataSendProgressEvent()

bool KvsObject_http::functionDataSendProgressEvent ( KviKvsObjectFunctionCall * c)
protected

◆ functionDoneEvent()

bool KvsObject_http::functionDoneEvent ( KviKvsObjectFunctionCall * c)
protected

◆ functionErrorString()

◆ functionFollowRedirect()

bool KvsObject_http::functionFollowRedirect ( KviKvsObjectFunctionCall * c)
protected

◆ functionGet()

◆ functionIgnoreSslErrors()

bool KvsObject_http::functionIgnoreSslErrors ( KviKvsObjectFunctionCall * c)
protected

◆ functionPost()

◆ functionReadAll()

◆ functionReadyReadEvent()

bool KvsObject_http::functionReadyReadEvent ( KviKvsObjectFunctionCall * c)
protected

◆ functionRequestFinishedEvent()

bool KvsObject_http::functionRequestFinishedEvent ( KviKvsObjectFunctionCall * c)
protected

◆ functionRequestStartedEvent()

bool KvsObject_http::functionRequestStartedEvent ( KviKvsObjectFunctionCall * c)
protected

◆ functionResponseHeaderReceivedEvent()

bool KvsObject_http::functionResponseHeaderReceivedEvent ( KviKvsObjectFunctionCall * c)
protected

◆ functionSetHost()

◆ functionSetProxy()

◆ functionSetUser()

◆ functionSslErrorsEvent()

bool KvsObject_http::functionSslErrorsEvent ( KviKvsObjectFunctionCall * c)
protected

◆ functionStateChangedEvent()

bool KvsObject_http::functionStateChangedEvent ( KviKvsObjectFunctionCall * c)
protected

◆ redirect()

void KvsObject_http::redirect ( QString & file,
const QHttpResponseHeader & r )
protected

◆ slotDataReadProgress

void KvsObject_http::slotDataReadProgress ( int done,
int total )
protectedslot

◆ slotDataSendProgress

void KvsObject_http::slotDataSendProgress ( int done,
int total )
protectedslot

◆ slotDone

void KvsObject_http::slotDone ( bool error)
protectedslot

◆ slotReadyRead

void KvsObject_http::slotReadyRead ( const QHttpResponseHeader & r)
protectedslot

◆ slotRequestFinished

void KvsObject_http::slotRequestFinished ( int id,
bool error )
protectedslot

◆ slotRequestStarted

void KvsObject_http::slotRequestStarted ( int id)
protectedslot

◆ slotResponseHeaderReceived

void KvsObject_http::slotResponseHeaderReceived ( const QHttpResponseHeader & r)
protectedslot

◆ slotSslErrors

void KvsObject_http::slotSslErrors ( QList< QSslError > sslerrors)
protectedslot

◆ slotStateChanged

Member Data Documentation

◆ getDict

QHash<int, QFile *> KvsObject_http::getDict
protected

◆ m_bAbort

bool KvsObject_http::m_bAbort
protected

◆ m_bEnableForceRedirect

bool KvsObject_http::m_bEnableForceRedirect
protected

◆ m_pHttp


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