libyui-qt-pkg
2.42.13
|
Dialog that takes care of dependency checking and resolving conflicts. More...
#include <YQPkgConflictDialog.h>
Public Slots | |
int | solveAndShowConflicts () |
int | verifySystem () |
void | askCreateSolverTestCase () |
Signals | |
void | updatePackages () |
Public Member Functions | |
YQPkgConflictDialog (QWidget *parent) | |
virtual | ~YQPkgConflictDialog () |
virtual QSize | sizeHint () const |
double | averageSolveTime () const |
double | totalSolveTime () const |
int | solveCount () const |
Static Public Member Functions | |
static void | resetIgnoredDependencyProblems () |
Protected Member Functions | |
void | prepareSolving () |
int | processSolverResult (bool success) |
void | keyPressEvent (QKeyEvent *e) |
Protected Attributes | |
YQPkgConflictList * | _conflictList |
QMenu * | _expertMenu |
QLabel * | _busyPopup |
double | _totalSolveTime |
int | _solveCount |
Dialog that takes care of dependency checking and resolving conflicts.
Definition at line 59 of file YQPkgConflictDialog.h.
YQPkgConflictDialog::YQPkgConflictDialog | ( | QWidget * | parent | ) |
Constructor. Does not pop up a dialog yet. Use solveAndShowConflicts().
Definition at line 82 of file YQPkgConflictDialog.cc.
|
virtual |
Destructor.
Definition at line 235 of file YQPkgConflictDialog.cc.
|
slot |
Mini-wizard to generate solver test case:
Definition at line 384 of file YQPkgConflictDialog.cc.
double YQPkgConflictDialog::averageSolveTime | ( | ) | const |
Returns the average time in seconds used for solving or 0 if solving hasn't taken place yet.
Definition at line 374 of file YQPkgConflictDialog.cc.
|
protected |
Event handler for keyboard input. Only very special keys are processed here.
Inherited from QWidget.
Definition at line 435 of file YQPkgConflictDialog.cc.
|
protected |
Initialize solving: Post "busy" popup etc.
Definition at line 289 of file YQPkgConflictDialog.cc.
|
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.
Definition at line 328 of file YQPkgConflictDialog.cc.
|
static |
Reset all previously ignored dependency problems.
Definition at line 367 of file YQPkgConflictDialog.cc.
|
virtual |
Reimplemented from QWidget: Reserve a reasonable amount of space.
Definition at line 242 of file YQPkgConflictDialog.cc.
|
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.
Definition at line 249 of file YQPkgConflictDialog.cc.
|
inline |
Returns the times solving has taken place (with this dialog).
Definition at line 96 of file YQPkgConflictDialog.h.
|
inline |
Returns the total amount of time in seconds used for solving.
Definition at line 91 of file YQPkgConflictDialog.h.
|
signal |
Update package states - they may have changed.
|
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.
Definition at line 272 of file YQPkgConflictDialog.cc.