KNewStuff
KNS::KDXSButton Class Reference
#include <kdxsbutton.h>

Detailed Description
KNewStuff DXS interaction button.This button and its associated popup menu appear beside each item in the download dialog. The user may use it to perform all the actions on the item including installation, uninstallation and collaborative actions.
This class is used internally by the DownloadDialog class.
Definition at line 51 of file kdxsbutton.h.
Public Slots | |
void | slotCategories (QList< KNS::Category * > categories) |
void | slotChanges (QStringList entries) |
void | slotClicked () |
void | slotComment (bool success) |
void | slotComments (QStringList comments) |
void | slotEntries (QList< KNS::Entry * > entries) |
void | slotError () |
void | slotFault () |
void | slotHistory (QStringList entries) |
void | slotInfo (QString provider, QString server, QString version) |
void | slotPayloadFailed (KNS::Entry *) |
void | slotPayloadLoaded (KUrl url) |
void | slotRating (bool success) |
void | slotRemoval (bool success) |
void | slotSubscription (bool success) |
void | slotTriggered (QAction *action) |
void | slotVersionsActivated (int id) |
void | slotVersionsHighlighted (int id) |
Public Member Functions | |
KDXSButton (QWidget *parent) | |
void | setEngine (KNS::DxsEngine *engine) |
void | setEntry (KNS::Entry *e) |
void | setProvider (const KNS::Provider *provider) |
~KDXSButton () |
Constructor & Destructor Documentation
KDXSButton::KDXSButton | ( | QWidget * | parent | ) |
Definition at line 54 of file kdxsbutton.cpp.
KDXSButton::~KDXSButton | ( | ) |
Definition at line 122 of file kdxsbutton.cpp.
Member Function Documentation
void KDXSButton::setEngine | ( | KNS::DxsEngine * | engine | ) |
Definition at line 202 of file kdxsbutton.cpp.
void KDXSButton::setEntry | ( | KNS::Entry * | e | ) |
- Todo:
- Set different button text when string freeze is over? "Install again"
Definition at line 126 of file kdxsbutton.cpp.
void KDXSButton::setProvider | ( | const KNS::Provider * | provider | ) |
Definition at line 168 of file kdxsbutton.cpp.
void KDXSButton::slotCategories | ( | QList< KNS::Category * > | categories | ) | [slot] |
Definition at line 263 of file kdxsbutton.cpp.
void KDXSButton::slotChanges | ( | QStringList | entries | ) | [slot] |
Definition at line 291 of file kdxsbutton.cpp.
void KDXSButton::slotClicked | ( | ) | [slot] |
Definition at line 505 of file kdxsbutton.cpp.
void KDXSButton::slotComment | ( | bool | success | ) | [slot] |
Definition at line 365 of file kdxsbutton.cpp.
void KDXSButton::slotComments | ( | QStringList | comments | ) | [slot] |
Definition at line 279 of file kdxsbutton.cpp.
void KNS::KDXSButton::slotEntries | ( | QList< KNS::Entry * > | entries | ) | [slot] |
void KDXSButton::slotError | ( | ) | [slot] |
Definition at line 385 of file kdxsbutton.cpp.
void KDXSButton::slotFault | ( | ) | [slot] |
Definition at line 378 of file kdxsbutton.cpp.
void KDXSButton::slotHistory | ( | QStringList | entries | ) | [slot] |
Definition at line 303 of file kdxsbutton.cpp.
Definition at line 252 of file kdxsbutton.cpp.
void KDXSButton::slotPayloadFailed | ( | KNS::Entry * | ) | [slot] |
Definition at line 548 of file kdxsbutton.cpp.
void KDXSButton::slotPayloadLoaded | ( | KUrl | url | ) | [slot] |
Definition at line 530 of file kdxsbutton.cpp.
void KDXSButton::slotRating | ( | bool | success | ) | [slot] |
Definition at line 352 of file kdxsbutton.cpp.
void KDXSButton::slotRemoval | ( | bool | success | ) | [slot] |
Definition at line 326 of file kdxsbutton.cpp.
void KDXSButton::slotSubscription | ( | bool | success | ) | [slot] |
Definition at line 339 of file kdxsbutton.cpp.
void KDXSButton::slotTriggered | ( | QAction * | action | ) | [slot] |
Definition at line 400 of file kdxsbutton.cpp.
void KDXSButton::slotVersionsActivated | ( | int | id | ) | [slot] |
Definition at line 392 of file kdxsbutton.cpp.
void KDXSButton::slotVersionsHighlighted | ( | int | id | ) | [slot] |
Definition at line 491 of file kdxsbutton.cpp.
The documentation for this class was generated from the following files: