libyui-qt-pkg
2.42.5
|
#include <YQPackageSelectorBase.h>
Public Slots | |
int | resolveDependencies () |
int | verifySystem () |
int | checkDiskUsage () |
void | showAutoPkgList () |
bool | reject () |
void | accept () |
void | repoManager () |
void | onlineUpdateConfiguration () |
void | webpinSearch () |
void | notImplemented () |
Signals | |
void | resolvingStarted () |
void | resolvingFinished () |
Public Member Functions | |
virtual void | setEnabling (bool enabled) |
virtual int | preferredWidth () |
virtual int | preferredHeight () |
virtual void | setSize (int newWidth, int newHeight) |
virtual bool | setKeyboardFocus () |
Protected Slots | |
void | resetIgnoredDependencyProblems () |
Protected Member Functions | |
YQPackageSelectorBase (YWidget *parent, long modeFlags=0) | |
virtual | ~YQPackageSelectorBase () |
bool | showPendingLicenseAgreements () |
bool | showPendingLicenseAgreements (ZyppPoolIterator begin, ZyppPoolIterator end) |
virtual void | keyPressEvent (QKeyEvent *ev) |
Protected Attributes | |
YQPkgSelWmCloseHandler * | _wmCloseHandler |
bool | _showChangesDialog |
YQPkgConflictDialog * | _pkgConflictDialog |
YQPkgDiskUsageList * | _diskUsageList |
QAction * | _actionResetIgnoredDependencyProblems |
Abstract base class for package selectors.
Definition at line 64 of file YQPackageSelectorBase.h.
|
protected |
Constructor
Will initialize package and selection managers and create conflict dialogs.
Definition at line 74 of file YQPackageSelectorBase.cc.
|
protectedvirtual |
Destructor
Definition at line 114 of file YQPackageSelectorBase.cc.
|
slot |
Close processing and accept changes
Definition at line 277 of file YQPackageSelectorBase.cc.
|
slot |
Check for disk overflow and post a warning dialog if necessary. The user can choose to override this warning.
Returns QDialog::Accepted if no warning is necessary or if the user wishes to override the warning, QDialog::Rejected otherwise.
Definition at line 173 of file YQPackageSelectorBase.cc.
|
protectedvirtual |
Event handler for keyboard input - for debugging and testing.
Reimplemented from QWidget.
Definition at line 441 of file YQPackageSelectorBase.cc.
|
slot |
Inform user about a feature that is not implemented yet. This should NEVER show up in the final version.
Definition at line 425 of file YQPackageSelectorBase.cc.
|
slot |
Close processing and request start of the online update configuration
Definition at line 348 of file YQPackageSelectorBase.cc.
|
virtual |
Preferred height of the widget.
Reimplemented from YWidget.
Definition at line 468 of file YQPackageSelectorBase.cc.
|
virtual |
Preferred width of the widget.
Reimplemented from YWidget.
Definition at line 462 of file YQPackageSelectorBase.cc.
|
slot |
Close processing and abandon changes. If there were changes, this will post an "Abandon all changes?" pop-up.
Return 'true' if the user really wants to reject (or if there were no changes anyway), 'false' if not.
Definition at line 223 of file YQPackageSelectorBase.cc.
|
slot |
Close processing and request start of the repository manager
Definition at line 341 of file YQPackageSelectorBase.cc.
|
protectedslot |
Reset all previously ignored dependency problems.
Definition at line 434 of file YQPackageSelectorBase.cc.
|
slot |
Resolve dependencies (unconditionally) for all resolvables.
Returns QDialog::Accepted or QDialog::Rejected.
Definition at line 126 of file YQPackageSelectorBase.cc.
|
signal |
Emitted when package resolving is finished.
|
signal |
Emitted when package resolving is started. This can be used for some kind of "busy display".
|
virtual |
Set enabled/disabled state.
Reimplemented from YWidget.
Definition at line 482 of file YQPackageSelectorBase.cc.
|
virtual |
Accept the keyboard focus.
Reimplemented from YWidget.
Definition at line 489 of file YQPackageSelectorBase.cc.
|
virtual |
Set the new size of the widget.
Reimplemented from YWidget.
Definition at line 475 of file YQPackageSelectorBase.cc.
|
slot |
Display a list of automatically selected packages (excluding packages contained in any selections that are to be installed)
Definition at line 200 of file YQPackageSelectorBase.cc.
|
protected |
Show all license agreements the user has not confirmed yet (for all packages that will be installed, and in YOU mode also for patches).
Returns 'true' if all licenses were confirmed, 'false' if one or more licenses were not confirmed (in which case some packages might be set to S_TABOO, which might require another resolver run).
Definition at line 362 of file YQPackageSelectorBase.cc.
|
protected |
Show all license agreements in a resolvable range. To be used with zyppPkgBegin() and zyppPkgEnd() or with zyppPatchesBegin() and zyppPatchesEnd().
Definition at line 378 of file YQPackageSelectorBase.cc.
|
slot |
Verifies dependencies of the currently installed system.
Returns QDialog::Accepted or QDialog::Rejected.
Definition at line 148 of file YQPackageSelectorBase.cc.