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

KNewStuff

  • KNS
  • KDXSButton
Public Slots | Public Member Functions | List of all members
KNS::KDXSButton Class Reference

#include <kdxsbutton.h>

Inheritance diagram for KNS::KDXSButton:
QToolButton

Public Slots

void slotCategories (QList< KNS::Category * > categories)
 
void slotChanges (QStringList entries)
 
void slotClicked ()
 
void slotComment (bool success)
 
void slotComments (QStringList comments)
 
void slotEntries (QList< KNS::Entry * > entries)
 
void slotError ()
 
void slotFault ()
 
void slotHistory (QStringList entries)
 
void slotInfo (QString provider, QString server, QString version)
 
void slotPayloadFailed (KNS::Entry *)
 
void slotPayloadLoaded (KUrl url)
 
void slotRating (bool success)
 
void slotRemoval (bool success)
 
void slotSubscription (bool success)
 
void slotTriggered (QAction *action)
 
void slotVersionsActivated (int id)
 
void slotVersionsHighlighted (int id)
 

Public Member Functions

 KDXSButton (QWidget *parent)
 
 ~KDXSButton ()
 
void setEngine (KNS::DxsEngine *engine)
 
void setEntry (KNS::Entry *e)
 
void setProvider (const KNS::Provider *provider)
 

Detailed Description

KNewStuff DXS interaction button.

This button and its associated popup menu appear beside each item in the download dialog. The user may use it to perform all the actions on the item including installation, uninstallation and collaborative actions.

This class is used internally by the DownloadDialog class.

Definition at line 49 of file kdxsbutton.h.

Constructor & Destructor Documentation

◆ KDXSButton()

KDXSButton::KDXSButton ( QWidget *  parent)

Definition at line 52 of file kdxsbutton.cpp.

◆ ~KDXSButton()

KDXSButton::~KDXSButton ( )

Definition at line 120 of file kdxsbutton.cpp.

Member Function Documentation

◆ setEngine()

void KDXSButton::setEngine ( KNS::DxsEngine *  engine)

Definition at line 200 of file kdxsbutton.cpp.

◆ setEntry()

void KDXSButton::setEntry ( KNS::Entry *  e)
Todo:
Set different button text when string freeze is over? "Install again"

Definition at line 124 of file kdxsbutton.cpp.

◆ setProvider()

void KDXSButton::setProvider ( const KNS::Provider *  provider)

Definition at line 166 of file kdxsbutton.cpp.

◆ slotCategories

void KDXSButton::slotCategories ( QList< KNS::Category * >  categories)
slot

Definition at line 261 of file kdxsbutton.cpp.

◆ slotChanges

void KDXSButton::slotChanges ( QStringList  entries)
slot

Definition at line 289 of file kdxsbutton.cpp.

◆ slotClicked

void KDXSButton::slotClicked ( )
slot

Definition at line 503 of file kdxsbutton.cpp.

◆ slotComment

void KDXSButton::slotComment ( bool  success)
slot

Definition at line 363 of file kdxsbutton.cpp.

◆ slotComments

void KDXSButton::slotComments ( QStringList  comments)
slot

Definition at line 277 of file kdxsbutton.cpp.

◆ slotEntries

void KDXSButton::slotEntries ( QList< KNS::Entry * >  entries)
slot

Definition at line 269 of file kdxsbutton.cpp.

◆ slotError

void KDXSButton::slotError ( )
slot

Definition at line 383 of file kdxsbutton.cpp.

◆ slotFault

void KDXSButton::slotFault ( )
slot

Definition at line 376 of file kdxsbutton.cpp.

◆ slotHistory

void KDXSButton::slotHistory ( QStringList  entries)
slot

Definition at line 301 of file kdxsbutton.cpp.

◆ slotInfo

void KDXSButton::slotInfo ( QString  provider,
QString  server,
QString  version 
)
slot

Definition at line 250 of file kdxsbutton.cpp.

◆ slotPayloadFailed

void KDXSButton::slotPayloadFailed ( KNS::Entry *  )
slot

Definition at line 546 of file kdxsbutton.cpp.

◆ slotPayloadLoaded

void KDXSButton::slotPayloadLoaded ( KUrl  url)
slot

Definition at line 528 of file kdxsbutton.cpp.

◆ slotRating

void KDXSButton::slotRating ( bool  success)
slot

Definition at line 350 of file kdxsbutton.cpp.

◆ slotRemoval

void KDXSButton::slotRemoval ( bool  success)
slot

Definition at line 324 of file kdxsbutton.cpp.

◆ slotSubscription

void KDXSButton::slotSubscription ( bool  success)
slot

Definition at line 337 of file kdxsbutton.cpp.

◆ slotTriggered

void KDXSButton::slotTriggered ( QAction *  action)
slot

Definition at line 398 of file kdxsbutton.cpp.

◆ slotVersionsActivated

void KDXSButton::slotVersionsActivated ( int  id)
slot

Definition at line 390 of file kdxsbutton.cpp.

◆ slotVersionsHighlighted

void KDXSButton::slotVersionsHighlighted ( int  id)
slot

Definition at line 489 of file kdxsbutton.cpp.


The documentation for this class was generated from the following files:
  • kdxsbutton.h
  • kdxsbutton.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 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-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 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
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
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