umbrello: umbrello/cmdlineexportallviewsevent.h Source File

umbrello 2.37.0 Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

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{
24public:
25
26 static QEvent::Type eventType();
27
28 CmdLineExportAllViewsEvent(const QString &imageType, const QUrl &directory, const bool useFolders);
29
30 virtual ~CmdLineExportAllViewsEvent();
31
32 void exportAllViews();
33
34private:
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
Definition: cmdlineexportallviewsevent.h:23
CmdLineExportAllViewsEvent::m_imageType
QString m_imageType
The type of the images the views will be exported to.
Definition: cmdlineexportallviewsevent.h:38
CmdLineExportAllViewsEvent::exportAllViews
void exportAllViews()
Definition: cmdlineexportallviewsevent.cpp:70
CmdLineExportAllViewsEvent::~CmdLineExportAllViewsEvent
virtual ~CmdLineExportAllViewsEvent()
Definition: cmdlineexportallviewsevent.cpp:61
CmdLineExportAllViewsEvent::eventType
static QEvent::Type eventType()
Definition: cmdlineexportallviewsevent.cpp:37
CmdLineExportAllViewsEvent::type_
static const QEvent::Type type_
Definition: cmdlineexportallviewsevent.h:36
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::m_directory
QUrl m_directory
The url of the directory where the images will be saved.
Definition: cmdlineexportallviewsevent.h:39