KNewStuff
providerhandler.cpp
Go to the documentation of this file.
QString i18n(const char *text)
KUrl noUploadUrl() const
Retrieves the URL where a user is led if the provider does not support uploads.
Definition: knewstuff2/core/provider.cpp:94
void setWebAccess(const KUrl &)
Sets the URL of a web frontend for the provider.
Definition: knewstuff2/core/provider.cpp:99
void setNoUploadUrl(const KUrl &)
Sets the URL where a user is led if the provider does not support uploads.
Definition: knewstuff2/core/provider.cpp:89
KTranslatable name() const
Retrieves the common name of the provider.
Definition: knewstuff2/core/provider.cpp:64
QDomNode appendChild(const QDomNode &newChild)
ProviderHandler(const QDomElement &providerxml)
Definition: providerhandler.cpp:40
QString attribute(const QString &name, const QString &defValue) const
String class with multiple localized representations.
Definition: ktranslatable.h:41
void addString(const QString &lang, const QString &string)
Adds a string to the contents of this object.
Definition: ktranslatable.cpp:59
void setName(const KTranslatable &name)
Sets the common name of the provider.
Definition: knewstuff2/core/provider.cpp:59
const char * name(StandardAction id)
void setWebService(const KUrl &)
Sets the URL of the DXS, if offered by the provider.
Definition: knewstuff2/core/provider.cpp:109
QString translated(const QString &lang) const
Returns the string which matches most closely the specified language.
Definition: ktranslatable.cpp:89
KUrl icon() const
Retrieves the icon URL for this provider.
Definition: knewstuff2/core/provider.cpp:74
QString i18nc(const char *ctxt, const char *text)
void setPath(const QString &path)
QDomNode nextSibling() const
QDomElement toElement() const
void addDownloadUrlFeed(const QString &feedtype, Feed *feed)
Adds a feed URL.
Definition: knewstuff2/core/provider.cpp:44
QString text() const
Feed * downloadUrlFeed(const QString &feedtype) const
Feed to retrieve for the given feed type.
Definition: knewstuff2/core/provider.cpp:50
void setAttribute(const QString &name, const QString &value)
bool isEmpty() const
QString trimmed() const
QDomText createTextNode(const QString &value)
iterator end()
bool isNull() const
bool isValid() const
QDomNode firstChild() const
void setIcon(const KUrl &)
Sets the URL for an icon for this provider.
Definition: knewstuff2/core/provider.cpp:69
QStringList languages() const
Returns the list of all languages for which strings are stored.
Definition: ktranslatable.cpp:96
typedef ConstIterator
QString url(AdjustPathOption trailing=LeaveTrailingSlash) const
QString tagName() const
KUrl webService() const
Retrieves the URL to the DXS Web Service.
Definition: knewstuff2/core/provider.cpp:114
QDomElement createElement(const QString &tagName)
iterator begin()
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:25:43 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:25:43 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.