KNewStuff
#include <downloaddialog.h>
Public Types | |
enum | EntryAction { kViewInfo, kComments, kChanges, kContactEmail, kContactJabber, kCollabTranslate, kCollabRemoval, kCollabSubscribe, kUninstall, kInstall, kCollabComment, kCollabRate } |
Public Member Functions | |
DownloadDialog (DxsEngine *engine, QWidget *parent) | |
~DownloadDialog () | |
void | displayMessage (const QString &msg, KTitleWidget::MessageType type=KTitleWidget::PlainMessage, int timeOutMs=0) |
void | installItem (Entry *entry) |
void | refresh () |
void | removeItem (Entry *entry) |
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.
Definition at line 68 of file knewstuff2/ui/downloaddialog.h.
Member Enumeration Documentation
Enumerator | |
---|---|
kViewInfo | |
kComments | |
kChanges | |
kContactEmail | |
kContactJabber | |
kCollabTranslate | |
kCollabRemoval | |
kCollabSubscribe | |
kUninstall | |
kInstall | |
kCollabComment | |
kCollabRate |
Definition at line 76 of file knewstuff2/ui/downloaddialog.h.
Constructor & Destructor Documentation
Definition at line 56 of file knewstuff2/ui/downloaddialog.cpp.
DownloadDialog::~DownloadDialog | ( | ) |
Definition at line 160 of file knewstuff2/ui/downloaddialog.cpp.
Member Function Documentation
void DownloadDialog::displayMessage | ( | const QString & | msg, |
KTitleWidget::MessageType | type = KTitleWidget::PlainMessage , |
||
int | timeOutMs = 0 |
||
) |
Definition at line 273 of file knewstuff2/ui/downloaddialog.cpp.
|
protectedvirtual |
Definition at line 266 of file knewstuff2/ui/downloaddialog.cpp.
void DownloadDialog::installItem | ( | Entry * | entry | ) |
Definition at line 288 of file knewstuff2/ui/downloaddialog.cpp.
void DownloadDialog::refresh | ( | ) |
Definition at line 454 of file knewstuff2/ui/downloaddialog.cpp.
void DownloadDialog::removeItem | ( | Entry * | entry | ) |
Definition at line 301 of file knewstuff2/ui/downloaddialog.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:49 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.