Alkimia API
alkdownloadengine.cpp
68#if QT_VERSION < QT_VERSION_CHECK(5,0,0) || defined(BUILD_WITH_WEBKIT) || defined(BUILD_WITH_WEBENGINE)
122 connect(&manager, SIGNAL(finished(QNetworkReply*)), this, SLOT(downloadUrlDoneQt(QNetworkReply*)));
206 disconnect(m_webPage, SIGNAL(loadFinished(bool)), this, SLOT(slotFinishedJavaScriptEngine(bool)));
Wrapper for debug output.
The DownloadEngine class provides a general interface for the supported implementation for downloadin...
Definition alkdownloadengine.h:25
void setTimeout(int timeout=-1)
Set timeout for download operation A timeout value of -1 disables timeout support.
Definition alkdownloadengine.cpp:229
bool downloadUrl(const QUrl &url, Type type)
Download content from a URL using the engine specified by the type.
Definition alkdownloadengine.cpp:239
void error(const QUrl &url, const QString &message)
Emitted in case of of errors.
void finishedPage(const QUrl &url, AlkWebPage *page)
Is emitted if the type parameter of AlkDownloadEngine::downloadUrl() is JavaScriptEngineCSS.
void redirected(const QUrl &url, const QUrl &newUrl)
Is emitted if the url has been redirected.
void finished(const QUrl &url, const QString &data)
Is emitted if the type parameter of AlkDownloadEngine::downloadUrl() is AlkDownloadEngine::DefaultEng...
void setWebPage(AlkWebPage *webPage)
Specifies a custom instance of the HTML engine that is used to download content.
Definition alkdownloadengine.cpp:224
void setAcceptedLanguage(const QString &language)
Set specific language to be accepted for the download.
Definition alkdownloadengine.cpp:263
The AlkWebPage class provides an object to load and view web documents to provide functionality like ...
Definition alkwebpage.h:100
NoError
ExcludeUserInputEvents
QString errorString() const const
QByteArray readAll()
NoError
QVariant attribute(QNetworkRequest::Attribute code) const const
NetworkError error() const const
const QList< RawHeaderPair > & rawHeaderPairs() const const
QNetworkRequest request() const const
QUrl url() const const
RedirectionTargetAttribute
QByteArray rawHeader(const QByteArray &headerName) const const
QList< QByteArray > rawHeaderList() const const
void setRawHeader(const QByteArray &headerName, const QByteArray &headerValue)
void setUrl(const QUrl &url)
Q_EMITQ_EMIT
Q_OBJECTQ_OBJECT
Q_SLOTSQ_SLOTS
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
bool disconnect(const QMetaObject::Connection &connection)
QObject * parent() const const
bool isEmpty() const const
QByteArray toLocal8Bit() const const
singleShot
bool isEmpty() const const
QUrl resolved(const QUrl &relative) const const
QUrl toUrl() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:01:13 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:01:13 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.