• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

KNewStuff

KNS::DownloadDialog

KNS::DownloadDialog Class Reference

#include <downloaddialog.h>

Inheritance diagram for KNS::DownloadDialog:

Inheritance graph
[legend]

List of all members.


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 70 of file 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)

Member Enumeration Documentation

enum KNS::DownloadDialog::EntryAction

Enumerator:
kViewInfo 
kComments 
kChanges 
kContactEmail 
kContactJabber 
kCollabTranslate 
kCollabRemoval 
kCollabSubscribe 
kUninstall 
kInstall 
kCollabComment 
kCollabRate 

Definition at line 78 of file downloaddialog.h.


Constructor & Destructor Documentation

DownloadDialog::DownloadDialog ( DxsEngine *  engine,
QWidget *  parent 
)

Definition at line 57 of file downloaddialog.cpp.

DownloadDialog::~DownloadDialog (  ) 

Definition at line 157 of file downloaddialog.cpp.


Member Function Documentation

void DownloadDialog::displayMessage ( const QString &  msg,
KTitleWidget::MessageType  type = KTitleWidget::PlainMessage,
int  timeOutMs = 0 
)

Definition at line 258 of file downloaddialog.cpp.

void DownloadDialog::hideEvent ( QHideEvent *  event  )  [protected, virtual]

Reimplemented from KDialog.

Definition at line 251 of file downloaddialog.cpp.

void DownloadDialog::installItem ( Entry *  entry  ) 

Definition at line 273 of file downloaddialog.cpp.

void DownloadDialog::refresh (  ) 

Definition at line 432 of file downloaddialog.cpp.

void DownloadDialog::removeItem ( Entry *  entry  ) 

Definition at line 286 of file downloaddialog.cpp.


The documentation for this class was generated from the following files:
  • downloaddialog.h
  • downloaddialog.cpp

KNewStuff

Skip menu "KNewStuff"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • KIO
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal