KNewStuff
KNS::DownloadDialog Class Reference
KNewStuff download dialog. More...
#include <downloaddialog.h>

Public Types | |
enum | EntryAction { kViewInfo, kComments, kChanges, kContactEmail, kContactJabber, kCollabTranslate, kCollabRemoval, kCollabSubscribe, kUninstall, kInstall, kCollabComment, kCollabRate } |
Public Member Functions | |
void | displayMessage (const QString &msg, KTitleWidget::MessageType type=KTitleWidget::PlainMessage, int timeOutMs=0) |
DownloadDialog (DxsEngine *engine, QWidget *parent) | |
void | installItem (Entry *entry) |
void | refresh () |
void | removeItem (Entry *entry) |
~DownloadDialog () | |
Protected Member Functions | |
virtual void | hideEvent (QHideEvent *event) |
Detailed Description
KNewStuff download dialog.The download dialog will present several categories of items to the user for installation, uninstallation and updates. Preview images as well as other meta information can be seen. If the GHNS provider supports DXS, then the dialog will offer an extended popup menu with collaborative interactions such as ratings, removal requests, comments and translation suggestions.
Please remember when changing this class that it has to render untrusted data. Do not let scripts run, make sure that data is properly escaped etc.
This class is used internally by the Engine class as part of the download workflow.
For internal use only.
Definition at line 68 of file downloaddialog.h.
Member Enumeration Documentation
- Enumerator:
-
kViewInfo kComments kChanges kContactEmail kContactJabber kCollabTranslate kCollabRemoval kCollabSubscribe kUninstall kInstall kCollabComment kCollabRate
Definition at line 76 of file downloaddialog.h.
Constructor & Destructor Documentation
Definition at line 56 of file downloaddialog.cpp.
DownloadDialog::~DownloadDialog | ( | ) |
Definition at line 160 of file downloaddialog.cpp.
Member Function Documentation
void DownloadDialog::displayMessage | ( | const QString & | msg, | |
KTitleWidget::MessageType | type = KTitleWidget::PlainMessage , |
|||
int | timeOutMs = 0 | |||
) |
Definition at line 271 of file downloaddialog.cpp.
void DownloadDialog::hideEvent | ( | QHideEvent * | event | ) | [protected, virtual] |
Definition at line 264 of file downloaddialog.cpp.
void DownloadDialog::installItem | ( | Entry * | entry | ) |
Definition at line 286 of file downloaddialog.cpp.
void DownloadDialog::refresh | ( | ) |
Definition at line 452 of file downloaddialog.cpp.
void DownloadDialog::removeItem | ( | Entry * | entry | ) |
Definition at line 299 of file downloaddialog.cpp.
The documentation for this class was generated from the following files: