KNS::Button Class Reference
#include <knewstuffbutton.h>
Detailed Description
KHotNewStuff push button that makes using KHNS in an application more convenient by encapsulating most of the details involved in using KHotNewStuff in the button itself.
- Since:
- 3.4
Definition at line 37 of file knewstuffbutton.h.
Signals | |
void | aboutToShowDialog () |
void | dialogFinished () |
Public Member Functions | |
Button (const QString &what, const QString &providerList, const QString &resourceType, QWidget *parent, const char *name) | |
Button (QWidget *parent, const char *name) | |
void | setProviderList (const QString &providerList) |
void | setResourceType (const QString &resourceType) |
void | setButtonText (const QString &what) |
Protected Slots | |
void | showDialog () |
Constructor & Destructor Documentation
|
Constructor used when the details of the KHotNewStuff download is known when the button is created.
Definition at line 30 of file knewstuffbutton.cpp. |
|
Constructor used when the details of the KHotNewStuff download is not known in advance of the button being created.
Definition at line 44 of file knewstuffbutton.cpp. |
Member Function Documentation
|
emitted when the Hot New Stuff dialog is about to be shown, usually as a result of the user having click on the button
|
|
emitted when the Hot New Stuff dialog has been closed
|
|
set the text that should appear on the button. will be prefaced with i18n("Download New") Definition at line 59 of file knewstuffbutton.cpp. |
|
set the URL to the list of providers for this button to use
Definition at line 64 of file knewstuffbutton.cpp. |
|
the Hotstuff data type for this downlaod such as "korganizer/calendar"
Definition at line 69 of file knewstuffbutton.cpp. |
The documentation for this class was generated from the following files: