libyui-qt-pkg  2.42.5
 All Classes Functions Variables Enumerations
YQPkgMultiVersion Class Reference
Inheritance diagram for YQPkgMultiVersion:
Collaboration diagram for YQPkgMultiVersion:

Signals

void statusChanged ()
 

Public Member Functions

 YQPkgMultiVersion (QWidget *parent, ZyppSel selectable, ZyppPoolItem zyppPoolItem, bool enabled=true)
 
virtual ~YQPkgMultiVersion ()
 
ZyppSel selectable () const
 
void paintEvent (QPaintEvent *)
 

Protected Slots

void slotIconClicked ()
 

Protected Member Functions

void cycleStatus ()
 
void setStatus (ZyppStatus newStatus)
 
QPixmap statusIcon (ZyppStatus status)
 

Protected Attributes

ZyppSel _selectable
 
ZyppPoolItem _zyppPoolItem
 

Detailed Description

Definition at line 193 of file YQPkgVersionsView.h.

Constructor & Destructor Documentation

YQPkgMultiVersion::YQPkgMultiVersion ( QWidget *  parent,
ZyppSel  selectable,
ZyppPoolItem  zyppPoolItem,
bool  enabled = true 
)

Constructor. Creates a YQPkgVersion item that corresponds to the package manager object that 'pkg' refers to.

Definition at line 401 of file YQPkgVersionsView.cc.

YQPkgMultiVersion::~YQPkgMultiVersion ( )
virtual

Destructor

Definition at line 421 of file YQPkgVersionsView.cc.

Member Function Documentation

void YQPkgMultiVersion::cycleStatus ( )
protected

Cycle the package status to the next valid value.

Definition at line 437 of file YQPkgVersionsView.cc.

void YQPkgMultiVersion::paintEvent ( QPaintEvent *  )

Paints checkboxes with status icons instead of a checkmark

Definition at line 513 of file YQPkgVersionsView.cc.

ZyppSel YQPkgMultiVersion::selectable ( ) const
inline

Returns the original ZYPP selectable

Definition at line 216 of file YQPkgVersionsView.h.


The documentation for this class was generated from the following files: