KVIrc  4.9.2
DeveloperAPIs
Functions | Variables
KvsObject_http.cpp File Reference
#include "KvsObject_http.h"
#include "kvi_debug.h"
#include "KviError.h"
#include "KviLocale.h"
#include <qhttp.h>
#include <QUrl>
#include <QSslError>

Functions

getDict clear ()
 
 connect (m_pHttp, SIGNAL(requestFinished(int, bool)), this, SLOT(slotRequestFinished(int, bool)))
 
 connect (m_pHttp, SIGNAL(done(bool)), this, SLOT(slotDone(bool)))
 
 connect (m_pHttp, SIGNAL(requestStarted(int)), this, SLOT(slotRequestStarted(int)))
 
 connect (m_pHttp, SIGNAL(dataSendProgress(int, int)), this, SLOT(slotDataSendProgress(int, int)))
 
 connect (m_pHttp, SIGNAL(dataReadProgress(int, int)), this, SLOT(slotDataReadProgress(int, int)))
 
 connect (m_pHttp, SIGNAL(responseHeaderReceived(const QHttpResponseHeader &)), this, SLOT(slotResponseHeaderReceived(const QHttpResponseHeader &)))
 
 connect (m_pHttp, SIGNAL(readyRead(const QHttpResponseHeader &)), this, SLOT(slotReadyRead(const QHttpResponseHeader &)))
 
 connect (m_pHttp, SIGNAL(sslErrors(const QList< QSslError > &)), this, SLOT(slotSslErrors(const QList< QSslError > &)))
 
 connect (m_pHttp, SIGNAL(stateChanged(int)), this, SLOT(slotStateChanged(int)))
 
QHashIterator< int, QFile * > t (getDict)
 
 while (t.hasNext())
 

Variables

 m_bAbort = false
 
 m_bEnableForceRedirect = false
 
 m_pHttp = new QHttp()
 
const char *const ssl_errors_tbl []
 

Function Documentation

getDict clear ( )
connect ( m_pHttp  ,
SIGNAL(requestFinished(int, bool))  ,
this  ,
SLOT(slotRequestFinished(int, bool))   
)
connect ( m_pHttp  ,
SIGNAL(done(bool))  ,
this  ,
SLOT(slotDone(bool))   
)
connect ( m_pHttp  ,
SIGNAL(requestStarted(int))  ,
this  ,
SLOT(slotRequestStarted(int))   
)
connect ( m_pHttp  ,
SIGNAL(dataSendProgress(int, int))  ,
this  ,
SLOT(slotDataSendProgress(int, int))   
)
connect ( m_pHttp  ,
SIGNAL(dataReadProgress(int, int))  ,
this  ,
SLOT(slotDataReadProgress(int, int))   
)
connect ( m_pHttp  ,
SIGNAL(responseHeaderReceived(const QHttpResponseHeader &))  ,
this  ,
SLOT(slotResponseHeaderReceived(const QHttpResponseHeader &))   
)
connect ( m_pHttp  ,
SIGNAL(readyRead(const QHttpResponseHeader &))  ,
this  ,
SLOT(slotReadyRead(const QHttpResponseHeader &))   
)
connect ( m_pHttp  ,
SIGNAL(sslErrors(const QList< QSslError > &))  ,
this  ,
SLOT(slotSslErrors(const QList< QSslError > &))   
)
connect ( m_pHttp  ,
SIGNAL(stateChanged(int))  ,
this  ,
SLOT(slotStateChanged(int))   
)
QHashIterator<int, QFile *> t ( getDict  )

Referenced by ActionEditorTreeWidgetItem::ActionEditorTreeWidgetItem(), KviIrcContextDisplayAction::activeContextChanged(), KviIrcContextDisplayAction::activeContextStateChanged(), AddonListViewItem::AddonListViewItem(), KviKvsTimerManager::addTimer(), KviConnectAction::addToPopupMenu(), KviGoAwayAction::addToPopupMenu(), DccBroker::addZeroPortTag(), KviPointerList< KviPointerHashTableEntry< QString, KviAction > >::append(), KviTheme::apply(), KviPointerList< KviPointerHashTableEntry< QString, KviAction > >::at(), OptionsWidget_mediaTypes::commit(), KviApplication::completeDirectory(), KviPointerList< KviPointerHashTableEntry< QString, KviAction > >::copyFrom(), FileTransferWindow::copyLocalFileToClipboard(), CustomizeToolBarsDialog::CustomizeToolBarsDialog(), dcc_kvs_cmd_chat(), DccFileTransferBandwidthDialog::DccFileTransferBandwidthDialog(), dccModuleParseDccChat(), dccModuleParseDccSend(), KviKvsTimerManager::deleteAllTimers(), KviKvsTimerManager::deleteTimer(), CustomizeToolBarsDialog::deleteToolBar(), HttpFileTransfer::done(), DccFileTransfer::done(), KviKvsTreeNodeDataList::dump(), KviKvsTreeNodeDataList::evaluate(), KviTrayIconWidget::event(), KviSoundPlayer::event(), CustomizeToolBarsDialog::exportToolBar(), FileTransferItem::FileTransferItem(), FileTransferWindow::fillTransferView(), OptionsWidget_mediaTypes::fillTreeWidget(), KviKvsSwitchList::find(), FileTransferWindow::findItem(), KviPointerList< KviPointerHashTableEntry< QString, KviAction > >::findRef(), DccBroker::findZeroPortTag(), KviStringConversion::fromString(), KviTrayIconWidget::grabActivityInfo(), DccFileTransfer::handleResumeAccepted(), DccBroker::handleResumeRequest(), DccFileTransfer::handleResumeRequest(), KviFileTransferManager::killAllTransfers(), kvi_irc_vsnprintf(), kvi_vsnprintf(), KviKvsPopupMenuItem::KviKvsPopupMenuItem(), KviThemedLineEdit::KviThemedLineEdit(), KVSO_CLASS_FUNCTION(), OptionsWidget_soundGeneral::mediaFillBox(), KviMainWindow::moduleExtensionToolBar(), SinglePopupEditor::newItemAbove(), SinglePopupEditor::newItemBelow(), CustomizeToolBarsDialog::newToolBar(), KviPointerHashTable< QString, KviActionCategory >::next(), KviPointerHashTable< QString, KviActionCategory >::nextEntry(), DccFileTransfer::nonFailedTransferWithLocalFileName(), objects_kvs_fnc_variables(), FileTransferWindow::openFilePopupActivated(), FileTransferWindow::openLocalFile(), FileTransferWindow::openLocalFileFolder(), FileTransferWindow::openLocalFileTerminal(), FileTransferWindow::openLocalFileWith(), KviImageDialogItem::paint(), KviIrcServerParser::parseNumericTopicWhoTime(), PopupTreeWidgetItem::PopupTreeWidgetItem(), KviPointerList< KviPointerHashTableEntry< QString, KviAction > >::prepend(), QFtpPI::processReply(), HelpIndex::query(), RegisteredUsersDialogItem::RegisteredUsersDialogItem(), KviCustomToolBarDescriptor::registerToolBar(), CustomizeToolBarsDialog::renameToolBar(), DccBroker::rsendExecute(), DccFileTransfer::runningTransfersCount(), OptionsWidget_mediaTypes::saveLastItem(), KviMainWindow::saveModuleExtensionToolBars(), HelpWindow::searchInIndex(), Idle::secondsIdle(), SingleActionEditor::setActionData(), KviMainWindow::setButtonStyle(), KviIrcConnectionStatistics::setConnectionStartTime(), KviActionManager::setCurrentToolBar(), KviMainWindow::setIconSize(), KviIrcConnectionStatistics::setLastMessageTime(), KviIrcConnectionNetsplitDetectorData::setLastNetsplitOnQuitTime(), KviHttpRequest::setProcessingType(), DccDescriptor::setTransfer(), AliasEditorTreeWidgetItem::setType(), HelpIndex::setupDummyTerm(), KvsObject_http::slotRequestFinished(), OptionsWidget_soundGeneral::soundFillBox(), KviIrcConnectionTargetResolver::start(), KviSoundPlayer::stopAllSoundThreads(), KviKvsTimerManager::timerEvent(), KviStatusBarClock::timerEvent(), KviMainWindow::toolbarsPopupSelected(), while(), window_kvs_fnc_activityLevel(), window_kvs_fnc_activityTemperature(), KviMainWindow::~KviMainWindow(), and KviThreadManager::~KviThreadManager().

while ( t.  hasNext())

References t().

Variable Documentation

m_bAbort = false
m_bEnableForceRedirect = false
delete m_pHttp = new QHttp()
const char* const ssl_errors_tbl[]
Initial value:
= {
"NoError",
"UnableToGetIssuerCertificate",
"UnableToDecryptCertificateSignature",
"UnableToDecodeIssuerPublicKey",
"CertificateSignatureFailed",
"CertificateNotYetValid",
"CertificateExpired",
"InvalidNotBeforeField",
"InvalidNotAfterField",
"SelfSignedCertificate",
"SelfSignedCertificateInChain",
"UnableToGetLocalIssuerCertificate",
"UnableToVerifyFirstCertificate",
"CertificateRevoked",
"InvalidCaCertificate",
"PathLengthExceeded",
"InvalidPurpose",
"CertificateUntrusted",
"CertificateRejected",
"SubjectIssuerMismatch",
"AuthorityIssuerSerialNumberMismatch",
"NoPeerCertificate",
"HostNameMismatch",
"UnspecifiedError",
"NoSslSupport"
}

Referenced by KvsObject_http::slotSslErrors().