MauiKit File Browsing
XMLHelper.cpp
21 QString href = response.elementsByTagNameNS(webdavNS, QStringLiteral("href")).at(0).toElement().text();
22 QString creationDate = response.elementsByTagNameNS(webdavNS, QStringLiteral("creationdate")).at(0).toElement().text();
23 QString lastModified = response.elementsByTagNameNS(webdavNS, QStringLiteral("getlastmodified")).at(0).toElement().text();
24 QString displayName = response.elementsByTagNameNS(webdavNS, QStringLiteral("displayname")).at(0).toElement().text();
25 QString contentType = response.elementsByTagNameNS(webdavNS, QStringLiteral("getcontenttype")).at(0).toElement().text();
26 QString contentLength = response.elementsByTagNameNS(webdavNS, QStringLiteral("getcontentlength")).at(0).toElement().text();
29 if (response.elementsByTagNameNS(webdavNS, QStringLiteral("resourcetype")).at(0).toElement().elementsByTagNameNS(webdavNS, QStringLiteral("collection")).size() == 1) {
35 items.append(WebDAVItem(webdavClient, href, creationDate, lastModified, displayName, contentType, contentLength, isCollection));
AKONADI_CALENDAR_EXPORT QString displayName(Akonadi::ETMCalendar *calendar, const Akonadi::Collection &collection)
QDomNodeList elementsByTagNameNS(const QString &nsURI, const QString &localName)
ParseResult setContent(QAnyStringView text, ParseOptions options)
QDomNodeList elementsByTagNameNS(const QString &nsURI, const QString &localName) const const
QString text() const const
QDomElement toElement() const const
QDomNode at(int index) const const
int length() const const
void append(QList< T > &&value)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:58:02 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 16:58:02 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.