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. |
|
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. |
|
Retrieves the common name of the provider.
Referenced by KNS::DownloadDialog::addProvider(), and KNS::DownloadDialog::slotProviders(). |
|
Sets the download URL. Definition at line 69 of file provider.cpp. |
|
Retrieves the download URL.
|
|
Sets the upload URL. Definition at line 80 of file provider.cpp. |
|
Retrieves the upload URL.
Referenced by KNS::Engine::upload(). |
|
Sets the URL where a user is led if the provider does not support uploads.
|
|
Retrieves the URL where a user is led if the provider does not support uploads.
Referenced by KNS::Engine::upload(). |
|
Indicate whether provider supports uploads. Definition at line 102 of file provider.cpp. |
|
Query whether provider supports uploads.
Referenced by KNS::Engine::upload(). |
|
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. |
|
Retrieves the icon URL for this provider.
Referenced by KNS::DownloadDialog::addProvider(). |
The documentation for this class was generated from the following files: