KNS::Provider Class Reference
KNewStuff provider container. More...
#include <provider.h>
Collaboration diagram for KNS::Provider:

Public Types | |
typedef QPtrList< Provider > | List |
Public Member Functions | |
Provider () | |
Provider (const QDomElement &) | |
~Provider () | |
void | setName (const QString &) |
QString | name () const |
void | setDownloadUrl (const KURL &) |
KURL | downloadUrl () const |
void | setUploadUrl (const KURL &) |
KURL | uploadUrl () const |
void | setNoUploadUrl (const KURL &) |
KURL | noUploadUrl () const |
void | setNoUpload (bool) |
bool | noUpload () const |
void | setIcon (const KURL &) |
KURL | icon () const |
Protected Member Functions | |
void | parseDomElement (const QDomElement &) |
QDomElement | createDomElement (QDomDocument &, QDomElement &parent) |
Detailed Description
KNewStuff provider container.This class provides accessors for the provider object. as used by KNewStuff. It should probably not be used directly by the application.
- Author:
- Cornelius Schumacher (schumacher@kde.org)
- Maintainer:
- Josef Spillner (spillner@kde.org)
Definition at line 46 of file provider.h.
Constructor & Destructor Documentation
|
Constructor.
Definition at line 33 of file provider.cpp. |
|
Constructor with XML feed.
Definition at line 37 of file provider.cpp. References parseDomElement(). |
|
Destructor.
Definition at line 42 of file provider.cpp. |
Member Function Documentation
|
Sets the common name of the provider.
Definition at line 47 of file provider.cpp. Referenced by parseDomElement(). |
|
Retrieves the common name of the provider.
Definition at line 52 of file provider.cpp. Referenced by createDomElement(). |
|
Sets the download URL.
Definition at line 69 of file provider.cpp. Referenced by parseDomElement(). |
|
Retrieves the download URL.
Definition at line 74 of file provider.cpp. |
|
Sets the upload URL.
Definition at line 80 of file provider.cpp. Referenced by parseDomElement(). |
|
Retrieves the upload URL.
Definition at line 85 of file provider.cpp. |
|
Sets the URL where a user is led if the provider does not support uploads.
Definition at line 91 of file provider.cpp. Referenced by parseDomElement(). |
|
Retrieves the URL where a user is led if the provider does not support uploads.
Definition at line 96 of file provider.cpp. |
|
Indicate whether provider supports uploads.
Definition at line 102 of file provider.cpp. Referenced by parseDomElement(). |
|
Query whether provider supports uploads.
Definition at line 107 of file provider.cpp. |
|
Sets the URL for an icon for this provider. The icon should be in 32x32 format. If not set, the default icon of KDialogBase is used. Definition at line 58 of file provider.cpp. Referenced by parseDomElement(). |
|
Retrieves the icon URL for this provider.
Definition at line 63 of file provider.cpp. |
The documentation for this class was generated from the following files: