umbrello 2.38.4
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
22class CmdLineExportAllViewsEvent : public QEvent
23{
24public:
25
26 static QEvent::Type eventType();
27
28 CmdLineExportAllViewsEvent(const QString &imageType, const QUrl &directory, const bool useFolders);
29
31
32 void exportAllViews();
33
34private:
35
36 static const QEvent::Type type_;
37
38 QString m_imageType;
41
42};
43
44#endif
Definition cmdlineexportallviewsevent.h:23
QString m_imageType
The type of the images the views will be exported to.
Definition cmdlineexportallviewsevent.h:38
void exportAllViews()
Definition cmdlineexportallviewsevent.cpp:63
virtual ~CmdLineExportAllViewsEvent()
Definition cmdlineexportallviewsevent.cpp:54
static QEvent::Type eventType()
Definition cmdlineexportallviewsevent.cpp:30
static const QEvent::Type type_
Definition cmdlineexportallviewsevent.h:36
bool m_useFolders
If tree structure of the views in the document must be created in the target directory.
Definition cmdlineexportallviewsevent.h:40
QUrl m_directory
The url of the directory where the images will be saved.
Definition cmdlineexportallviewsevent.h:39