Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

YQPkgConflictList Class Reference

Display package dependency conflicts in a tree list and let the user choose how to resolve each conflict. More...

#include <YQPkgConflictList.h>

Inheritance diagram for YQPkgConflictList:

QY2ListView List of all members.

Public Slots

void applyResolutions ()
void ignoreAll ()
void askSaveToFile () const

Signals

void updatePackages ()

Public Member Functions

 YQPkgConflictList (QWidget *parent)
virtual ~YQPkgConflictList ()
void fill (PkgDep::ErrorResultList &badList)
bool choicesComplete ()
bool isEmpty () const
int count () const
void saveToFile (const QString filename, bool interactive) const

Protected Member Functions

void saveItemToFile (FILE *file, const QListViewItem *item) const

Detailed Description

Display package dependency conflicts in a tree list and let the user choose how to resolve each conflict.


Constructor & Destructor Documentation

YQPkgConflictList::YQPkgConflictList QWidget *  parent  ) 
 

Constructor.

YQPkgConflictList::~YQPkgConflictList  )  [virtual]
 

Destructor.


Member Function Documentation

void YQPkgConflictList::applyResolutions  )  [slot]
 

Apply the choices the user made.

void YQPkgConflictList::askSaveToFile  )  const [slot]
 

Ask for a file name and save the current conflict list to file.

bool YQPkgConflictList::choicesComplete  ) 
 

Check if the user choices are complete.

int YQPkgConflictList::count  )  const [inline]
 

Returns the number of conflicts in the list.

void YQPkgConflictList::fill PkgDep::ErrorResultList badList  ) 
 

Fill the list with the specified bad list.

void YQPkgConflictList::ignoreAll  )  [slot]
 

Ignore all conflicts.

bool YQPkgConflictList::isEmpty  )  const [inline]
 

Check if the conflict list is empty.

void YQPkgConflictList::saveItemToFile FILE *  file,
const QListViewItem *  item
const [protected]
 

( Recursively ) save one item to file.

void YQPkgConflictList::saveToFile const QString  filename,
bool  interactive
const
 

Save the conflict list in its current state to a file. Retains the current 'expanded' state, i.e. writes only those entries that are currently open ( not collapsed ) in the tree.

Posts error popups if 'interactive' is 'true' ( only log entries otherwise ).

void YQPkgConflictList::updatePackages  )  [signal]
 

Update package states - they may have changed.


The documentation for this class was generated from the following files:
Generated on Fri Oct 14 19:03:48 2005 for yast2-qt by doxygen 1.3.6