#include <YQPkgList.h>
Inheritance diagram for YQPkgList:

Public Slots | |
| void | addPkgItem (PMPackagePtr pmPkg) |
| virtual void | pkgObjClicked (int button, QListViewItem *item, int col, const QPoint &pos) |
| virtual void | updateActions (YQPkgObjListItem *item) |
| virtual QSize | sizeHint () const |
| void | askExportList () const |
| void | setInstallCurrentSourceRpm () |
| void | setDontInstallCurrentSourceRpm () |
| void | setInstallListSourceRpms () |
| void | setDontInstallListSourceRpms () |
Public Member Functions | |
| YQPkgList (QWidget *parent) | |
| virtual | ~YQPkgList () |
| int | srpmStatusCol () const |
| void | exportList (const QString filename, bool interactive) const |
| virtual QPopupMenu * | addAllInListSubMenu (QPopupMenu *menu) |
Public Attributes | |
| QAction * | actionInstallSourceRpm |
| QAction * | actionDontInstallSourceRpm |
| QAction * | actionInstallListSourceRpms |
| QAction * | actionDontInstallListSourceRpms |
Protected Member Functions | |
| void | createActions () |
| virtual void | createNotInstalledContextMenu () |
| virtual void | createInstalledContextMenu () |
| void | createSourceRpmContextMenu () |
| void | setInstallCurrentSourceRpm (bool inst, bool selectNextItem=false) |
| void | setInstallListSourceRpms (bool inst) |
Protected Attributes | |
| int | _srpmStatusCol |
| QPopupMenu * | _sourceRpmContextMenu |
|
|
Constructor |
|
|
Destructor |
|
|
Add a submenu "All in this list..." to 'menu'. Returns the newly created submenu. Reimplemented from YQPkgObjList. Reimplemented from YQPkgObjList. |
|
|
Add a pkg to the list. Connect a filter's filterMatch() signal to this slot. Remember to connect filterStart() to clear() (inherited from QListView). |
|
|
Ask for a file name and save the current pkg list to file. |
|
|
Create ( additional ) actions for the context menus. Reimplemented from YQPkgObjList. |
|
|
Create the context menu for installed items. Reimplemented from YQPkgObjList. Reimplemented from YQPkgObjList. |
|
|
Create the context menu for items that are not installed. Reimplemented from YQPkgObjList. Reimplemented from YQPkgObjList. |
|
|
Create context menu for source RPMs. |
|
||||||||||||
|
Save the pkg list to a file. Posts error popups if 'interactive' is 'true' ( only log entries otherwise ). |
|
||||||||||||||||||||
|
Dispatcher slot for mouse click: Take care of source RPM status. Let the parent class handle the normal status. Reimplemented from YQPkgObjList. Reimplemented from YQPkgObjList. |
|
|
|
|
|
|
|
||||||||||||
|
Sets the currently selected item's source RPM status. Automatically selects the next item if 'selectNextItem' is 'true'. |
|
|
|
|
|
Sets the source RPM status of all items in this list. |
|
|
|
|
|
Reimplemented from QListView / QWidget: Reserve a reasonable amount of space. |
|
|
|
|
|
Update the internal actions: What actions are available for 'item'? Reimplemented from YQPkgObjList Reimplemented from YQPkgObjList. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.4