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

KNewStuff

  • KNS
  • DownloadDialog
Public Types | Public Member Functions | Protected Member Functions | List of all members
KNS::DownloadDialog Class Reference

#include <downloaddialog.h>

Inheritance diagram for KNS::DownloadDialog:
Inheritance graph
[legend]

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

enum KNS::DownloadDialog::EntryAction
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

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

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.

void DownloadDialog::hideEvent ( QHideEvent *  event)
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:
  • knewstuff2/ui/downloaddialog.h
  • knewstuff2/ui/downloaddialog.cpp
This file is part of the KDE documentation.
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.

KNewStuff

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

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal