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

KNewStuff

KNS::DownloadDialog

KNS::DownloadDialog Class Reference

KNewStuff download dialog. More...

#include <downloaddialog.h>

Inheritance diagram for KNS::DownloadDialog:

Inheritance graph
[legend]

List of all members.


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

enum KNS::DownloadDialog::EntryAction

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

Definition at line 76 of file downloaddialog.h.


Constructor & Destructor Documentation

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

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:
  • 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
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.7
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