Alkimia API
alkdownloadengine.cpp
62#if QT_VERSION < QT_VERSION_CHECK(5,0,0) || defined(BUILD_WITH_WEBKIT) || defined(BUILD_WITH_WEBENGINE)
115 connect(&manager, SIGNAL(finished(QNetworkReply*)), this, SLOT(downloadUrlDoneQt(QNetworkReply*)));
198 disconnect(m_webPage, SIGNAL(loadFinished(bool)), this, SLOT(slotFinishedJavaScriptEngine(bool)));
Wrapper for debug output.
void setTimeout(int timeout=-1)
Set timeout for download operation A timeout value of -1 disables timeout support.
Definition alkdownloadengine.cpp:221
bool downloadUrl(const QUrl &url, Type type)
Download content from a URL using the engine specified by the type.
Definition alkdownloadengine.cpp:231
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:216
void setAcceptedLanguage(const QString &language)
Set specific language to be accepted for the download.
Definition alkdownloadengine.cpp:253
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)
QObject(QObject *parent)
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-2025 The KDE developers.
Generated on Thu Jan 23 2025 18:59:03 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Thu Jan 23 2025 18:59:03 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.