Dialog that takes care of dependency checking and resolving conflicts.
More...
#include <YQPkgConflictDialog.h>
|
YQPkgConflictList * | _conflictList |
|
QMenu * | _expertMenu |
|
QLabel * | _busyPopup |
|
double | _totalSolveTime |
|
int | _solveCount |
|
Dialog that takes care of dependency checking and resolving conflicts.
◆ YQPkgConflictDialog()
YQPkgConflictDialog::YQPkgConflictDialog |
( |
QWidget * |
parent | ) |
|
◆ ~YQPkgConflictDialog()
YQPkgConflictDialog::~YQPkgConflictDialog |
( |
| ) |
|
|
virtual |
◆ askCreateSolverTestCase
void YQPkgConflictDialog::askCreateSolverTestCase |
( |
| ) |
|
|
slot |
Mini-wizard to generate solver test case:
- Inform user what this is all about
- Tell user where the files will go
- Generate test case
- Ask user if he would like to pack it all into y2logs.tgz
- Prompt user for path for y2logs.tgz
- Save y2logs.tgz
◆ averageSolveTime()
double YQPkgConflictDialog::averageSolveTime |
( |
| ) |
const |
Returns the average time in seconds used for solving or 0 if solving hasn't taken place yet.
◆ keyPressEvent()
void YQPkgConflictDialog::keyPressEvent |
( |
QKeyEvent * |
e | ) |
|
|
protected |
Event handler for keyboard input. Only very special keys are processed here.
Inherited from QWidget.
◆ prepareSolving()
void YQPkgConflictDialog::prepareSolving |
( |
| ) |
|
|
protected |
Initialize solving: Post "busy" popup etc.
◆ processSolverResult()
int YQPkgConflictDialog::processSolverResult |
( |
bool |
success | ) |
|
|
protected |
Process the result of solving: Post conflict dialog, if neccessary. 'success' is the return value of the preceding solver call. Returns either QDialog::Accepted or QDialog::Rejected.
◆ resetIgnoredDependencyProblems()
void YQPkgConflictDialog::resetIgnoredDependencyProblems |
( |
| ) |
|
|
static |
Reset all previously ignored dependency problems.
◆ sizeHint()
QSize YQPkgConflictDialog::sizeHint |
( |
| ) |
const |
|
virtual |
Reimplemented from QWidget: Reserve a reasonable amount of space.
◆ solveAndShowConflicts
int YQPkgConflictDialog::solveAndShowConflicts |
( |
| ) |
|
|
slot |
Run the package dependency solver for the current package set and open the conflict dialog if there are any conflicts. Returns only when the conflict dialog is closed.
Returns QDialog::Accepted or QDialog::Rejected.
◆ solveCount()
int YQPkgConflictDialog::solveCount |
( |
| ) |
const |
|
inline |
Returns the times solving has taken place (with this dialog).
◆ totalSolveTime()
double YQPkgConflictDialog::totalSolveTime |
( |
| ) |
const |
|
inline |
Returns the total amount of time in seconds used for solving.
◆ updatePackages
void YQPkgConflictDialog::updatePackages |
( |
| ) |
|
|
signal |
Update package states - they may have changed.
◆ verifySystem
int YQPkgConflictDialog::verifySystem |
( |
| ) |
|
|
slot |
Run the package dependency solver for the currently installed system plus the packages that are marked for installation (or update or...) and open the conflict dialog if there are any conflicts. Returns only when the conflict dialog is closed.
Returns QDialog::Accepted or QDialog::Rejected.
The documentation for this class was generated from the following files:
- /builddir/build/BUILD/libyui-4.6.0/libyui-qt-pkg/src/YQPkgConflictDialog.h
- /builddir/build/BUILD/libyui-4.6.0/libyui-qt-pkg/src/YQPkgConflictDialog.cc