umbrello  2.32.1
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
cmdlineexportallviewsevent.h
Go to the documentation of this file.
1 /*
2  SPDX-License-Identifier: GPL-2.0-or-later
3  SPDX-FileCopyrightText: 2006-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4 */
5 
6 #ifndef CMDLINEEXPORTALLVIEWSEVENT_H
7 #define CMDLINEEXPORTALLVIEWSEVENT_H
8 
9 #include <QUrl>
10 #include <QEvent>
11 
22 class CmdLineExportAllViewsEvent : public QEvent
23 {
24 public:
25 
26  static QEvent::Type eventType();
27 
28  CmdLineExportAllViewsEvent(const QString &imageType, const QUrl &directory, const bool useFolders);
29 
31 
32  void exportAllViews();
33 
34 private:
35 
36  static const QEvent::Type type_;
37 
38  QString m_imageType;
39  QUrl m_directory;
40  bool m_useFolders;
41 
42 };
43 
44 #endif
CmdLineExportAllViewsEvent::m_useFolders
bool m_useFolders
If tree structure of the views in the document must be created in the target directory.
Definition: cmdlineexportallviewsevent.h:40
CmdLineExportAllViewsEvent::CmdLineExportAllViewsEvent
CmdLineExportAllViewsEvent(const QString &imageType, const QUrl &directory, const bool useFolders)
Definition: cmdlineexportallviewsevent.cpp:46
CmdLineExportAllViewsEvent::m_directory
QUrl m_directory
The url of the directory where the images will be saved.
Definition: cmdlineexportallviewsevent.h:39
umlviewimageexportermodel.h
UMLViewImageExporterModel
Definition: umlviewimageexportermodel.h:28
Uml::ID::Type
std::string Type
Definition: basictypes.h:371
it
and that you know you can do these things To protect your we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights These restrictions translate to certain responsibilities for you if you distribute copies of the or if you modify it For if you distribute copies of such a whether gratis or for a you must give the recipients all the rights that you have You must make sure that receive or can get the source code And you must show them these terms so they know their rights We protect your rights with two distribute and or modify the software for each author s protection and we want to make certain that everyone understands that there is no warranty for this free software If the software is modified by someone else and passed we want its recipients to know that what they have is not the so that any problems introduced by others will not reflect on the original authors reputations any free program is threatened constantly by software patents We wish to avoid the danger that redistributors of a free program will individually obtain patent in effect making the program proprietary To prevent we have made it clear that any patent must be licensed for everyone s free use or not licensed at all The precise terms and conditions for distribution and modification follow TERMS AND CONDITIONS FOR DISTRIBUTION AND MODIFICATION This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License The refers to any such program or and a work based on the Program means either the Program or any derivative work under copyright a work containing the Program or a portion of it
Definition: GPL-2.0-only.txt:64
CmdLineExportAllViewsEvent::type_
static const QEvent::Type type_
Definition: cmdlineexportallviewsevent.h:36
uDebug
#define uDebug()
Definition: debug_utils.h:108
CmdLineExportAllViewsEvent::m_imageType
QString m_imageType
The type of the images the views will be exported to.
Definition: cmdlineexportallviewsevent.h:38
UMLViewImageExporterModel::exportViews
QStringList exportViews(const UMLViewList &views, const QString &imageType, const QUrl &directory, bool useFolders) const
Definition: umlviewimageexportermodel.cpp:209
UMLApp::app
static UMLApp * app()
Definition: uml.cpp:275
cmdlineexportallviewsevent.h
uError
#define uError()
Definition: debug_utils.h:109
uml.h
debug_utils.h
CmdLineExportAllViewsEvent::eventType
static QEvent::Type eventType()
Definition: cmdlineexportallviewsevent.cpp:34
CmdLineExportAllViewsEvent::~CmdLineExportAllViewsEvent
virtual ~CmdLineExportAllViewsEvent()
Definition: cmdlineexportallviewsevent.cpp:58
UMLViewList
QList< QPointer< UMLView > > UMLViewList
Definition: umlviewlist.h:14
UMLDoc::viewIterator
UMLViewList viewIterator() const
Definition: umldoc.cpp:3076
CmdLineExportAllViewsEvent
Definition: cmdlineexportallviewsevent.h:22
UMLApp::document
UMLDoc * document() const
Definition: uml.cpp:1063
CmdLineExportAllViewsEvent::exportAllViews
void exportAllViews()
Definition: cmdlineexportallviewsevent.cpp:67
umldoc.h