libyui-qt-pkg  2.42.5
 All Classes Functions Variables Enumerations
YQPkgConflict Class Reference

Root item for each individual conflict. More...

#include <YQPkgConflictList.h>

Inheritance diagram for YQPkgConflict:
Collaboration diagram for YQPkgConflict:

Signals

void expanded ()
 

Public Member Functions

 YQPkgConflict (QWidget *parent, zypp::ResolverProblem_Ptr problem)
 
virtual ~YQPkgConflict ()
 
zypp::ResolverProblem_Ptr problem () const
 
zypp::ProblemSolution_Ptr userSelectedResolution ()
 
void saveToFile (QFile &file) const
 

Protected Slots

void detailsExpanded ()
 

Protected Member Functions

void formatHeading ()
 
void addSolutions ()
 

Protected Attributes

zypp::ResolverProblem_Ptr _problem
 
QLabel * _resolutionsHeader
 
QList< zypp::ProblemSolution_Ptr > _resolutions
 
QMap< QRadioButton
*, zypp::ProblemSolution_Ptr > 
_solutions
 
QMap< QLabel
*, zypp::ProblemSolution_Ptr > 
_details
 
QVBoxLayout * _layout
 

Detailed Description

Root item for each individual conflict.

Definition at line 144 of file YQPkgConflictList.h.

Constructor & Destructor Documentation

YQPkgConflict::YQPkgConflict ( QWidget *  parent,
zypp::ResolverProblem_Ptr  problem 
)

Constructor.

Definition at line 243 of file YQPkgConflictList.cc.

Here is the call graph for this function:

virtual YQPkgConflict::~YQPkgConflict ( )
inlinevirtual

Destructor.

Definition at line 159 of file YQPkgConflictList.h.

Member Function Documentation

void YQPkgConflict::addSolutions ( )
protected

Add suggestions how to resolve this conflict.

Definition at line 293 of file YQPkgConflictList.cc.

Here is the call graph for this function:

void YQPkgConflict::formatHeading ( )
protected

Format the text heading line for this item.

Definition at line 266 of file YQPkgConflictList.cc.

Here is the call graph for this function:

zypp::ResolverProblem_Ptr YQPkgConflict::problem ( ) const
inline

Returns the corresponding ResolverProblem.

Definition at line 164 of file YQPkgConflictList.h.

void YQPkgConflict::saveToFile ( QFile &  file) const

save one item to file.

Definition at line 394 of file YQPkgConflictList.cc.

Here is the call graph for this function:

zypp::ProblemSolution_Ptr YQPkgConflict::userSelectedResolution ( )

Returns the resolution the user selected or 0 if he didn't select one

Definition at line 372 of file YQPkgConflictList.cc.


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