CmdLineExportAllViewsEvent Class Reference
This class provides an event that is posted to the UMLApp when the "export all views" option was set in the command line. More...
#include <cmdlineexportallviewsevent.h>
Public Member Functions | |
| CmdLineExportAllViewsEvent (const QString &imageType, const KURL &directory, const bool useFolders) | |
| Constructor for CmdLineExportAllViewsEvent. | |
| virtual | ~CmdLineExportAllViewsEvent () |
| Destructor for CmdLineExportAllViewsEvent. | |
| void | exportAllViews () |
| Exports all the views using UMLViewImageExporterModel, prints the errors occurred in the error output and sends a close event to the application to finish it. | |
Static Public Member Functions | |
| static int | getType () |
| Returns the type of the event. | |
Detailed Description
This class provides an event that is posted to the UMLApp when the "export all views" option was set in the command line.Once the QT main loop begins, the event is processed.
The processing made in UMLApp is execute the exportAllViews method in the event. This method exports all the views using UMLViewImageExporterModel and then finishes the application using a close event.
- See also:
- UMLViewImageExporterModel
Definition at line 28 of file cmdlineexportallviewsevent.h.
Constructor & Destructor Documentation
|
||||||||||||||||
|
Constructor for CmdLineExportAllViewsEvent.
Definition at line 31 of file cmdlineexportallviewsevent.cpp. |
|
|
Destructor for CmdLineExportAllViewsEvent.
Definition at line 49 of file cmdlineexportallviewsevent.h. |
Member Function Documentation
|
|
Returns the type of the event.
Definition at line 27 of file cmdlineexportallviewsevent.cpp. Referenced by UMLApp::customEvent(). |
|
|
Exports all the views using UMLViewImageExporterModel, prints the errors occurred in the error output and sends a close event to the application to finish it. To export the views, it uses the attributes set when the event was created. Definition at line 38 of file cmdlineexportallviewsevent.cpp. Referenced by UMLApp::customEvent(). |
The documentation for this class was generated from the following files:
