#include <splitcollectiondialog.h>
Inheritance diagram for SplitCollectionDialog:

Public Slots | |
| void | accept () |
Public Member Functions | |
| SplitCollectionDialog (int collectionId, DigestDbController *controller, QWidget *parent=0, Qt::WFlags f=0) | |
Protected Member Functions | |
| DEFINE_CUSTOM_VIEWEVENT_HANDLER void | resetEvent (VEvent *) |
| void | collectionsEvent (VCollectionsEvent *) |
The dialog does not yet handle changes to the database while the window is open. Thus, it should only be executed as application-modal, not window-model.
| SplitCollectionDialog::SplitCollectionDialog | ( | int | collectionId, | |
| DigestDbController * | controller, | |||
| QWidget * | parent = 0, |
|||
| Qt::WFlags | f = 0 | |||
| ) |
Constructs a new dialog for splitting collections.
Note: The collectionId must be a positive integer and the controller must be non-null.
Note: If the collectionId is not valid, the the user will be alerted with a critical error message, as this never be allowed to occur, but if it does, we wan't to fail gracefully.
| void SplitCollectionDialog::accept | ( | ) | [slot] |
| void SplitCollectionDialog::resetEvent | ( | VEvent * | ) | [protected, virtual] |
A view receives this event when the controller() needs to reset / synchronise the view's knowledge (and possibly display) of the model().
When the view receives a VModelChangedEvent, a reset event will automatically be posted to the view by the modelChangedEvent() handler if the model is non-null.
This implementation does nothing.
It should be re-implemented it to suit the specific view sub-classs.
Reimplemented from AbstractDigestDbView.
| void SplitCollectionDialog::collectionsEvent | ( | VCollectionsEvent * | ) | [protected, virtual] |
Reimplemented from AbstractDigestDbView.
1.5.2