umbrello/umbrello
#include <cmdlineexportallviewsevent.h>
Public Member Functions | |
CmdLineExportAllViewsEvent (const QString &imageType, const KUrl &directory, const bool useFolders) | |
virtual | ~CmdLineExportAllViewsEvent () |
void | exportAllViews () |
Static Public Member Functions | |
static QEvent::Type | eventType () |
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 27 of file cmdlineexportallviewsevent.h.
Constructor & Destructor Documentation
CmdLineExportAllViewsEvent::CmdLineExportAllViewsEvent | ( | const QString & | imageType, |
const KUrl & | directory, | ||
const bool | useFolders | ||
) |
Constructor.
- Parameters
-
imageType The type of the images the views will be exported to. directory The url of the directory where the images will be saved. useFolders If the tree structure of the views in the document must be created in the target directory.
Definition at line 45 of file cmdlineexportallviewsevent.cpp.
|
virtual |
Destructor for CmdLineExportAllViewsEvent.
Definition at line 57 of file cmdlineexportallviewsevent.cpp.
Member Function Documentation
|
static |
Returns the type of the event.
- Returns
- event type
Definition at line 33 of file cmdlineexportallviewsevent.cpp.
void CmdLineExportAllViewsEvent::exportAllViews | ( | ) |
Exports all the views using UMLViewImageExporterModel, prints the errors occurred in the error output and quits the application.
To export the views, it uses the attributes set when the event was created.
Definition at line 66 of file cmdlineexportallviewsevent.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:06:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.