umbrello 26.03.70-1a62d36 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

xhtmlgenerator.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-2.0-or-later
3
4 SPDX-FileCopyrightText: 2006 Gael de Chalendar (aka Kleag) kleag@free.fr
5 SPDX-FileCopyrightText: 2006-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
6*/
7
8#ifndef XHTMLGENERATOR_H
9#define XHTMLGENERATOR_H
10
11#include "basictypes.h"
12
13#include <QObject>
14#include <QUrl>
15
16 class UMLDoc;
17
18 class Docbook2XhtmlGeneratorJob;
19
31 class XhtmlGenerator : public QObject
32{
33 Q_OBJECT
34 public:
35
36 XhtmlGenerator();
37 virtual ~XhtmlGenerator();
38
39 bool generateXhtmlForProject();
40 bool generateXhtmlForProjectInto(const QUrl& destDir);
41 static QString customXslFile();
42
43Q_SIGNALS:
44 void finished(bool status);
45
46 protected Q_SLOTS:
47
48 void slotDocbookToXhtml(bool status);
49 void slotHtmlGenerated(const QString& tmpFileName);
50
51 void threadFinished();
52
53 private:
54
55 Docbook2XhtmlGeneratorJob* m_d2xg;
56
57 bool m_pStatus;
58 bool m_pThreadFinished;
59
60 QUrl m_destDir;
61 UMLDoc* m_umlDoc;
62};
63
64#endif // XHTMLGENERATOR_H
basictypes.h
Docbook2XhtmlGeneratorJob
Generates XHtml from Docbook.
Definition: docbook2xhtmlgeneratorjob.h:22
UMLDoc
Definition: umldoc.h:63
XhtmlGenerator
Definition: xhtmlgenerator.h:32
XhtmlGenerator::XhtmlGenerator
XhtmlGenerator()
Definition: xhtmlgenerator.cpp:34
XhtmlGenerator::slotHtmlGenerated
void slotHtmlGenerated(const QString &tmpFileName)
Definition: xhtmlgenerator.cpp:120
XhtmlGenerator::~XhtmlGenerator
virtual ~XhtmlGenerator()
Definition: xhtmlgenerator.cpp:45
XhtmlGenerator::m_umlDoc
UMLDoc * m_umlDoc
Definition: xhtmlgenerator.h:61
XhtmlGenerator::generateXhtmlForProject
bool generateXhtmlForProject()
Definition: xhtmlgenerator.cpp:58
XhtmlGenerator::m_destDir
QUrl m_destDir
Destination directory where the final documentation will be written.
Definition: xhtmlgenerator.h:60
XhtmlGenerator::m_pThreadFinished
bool m_pThreadFinished
Definition: xhtmlgenerator.h:58
XhtmlGenerator::finished
void finished(bool status)
XhtmlGenerator::slotDocbookToXhtml
void slotDocbookToXhtml(bool status)
Definition: xhtmlgenerator.cpp:92
XhtmlGenerator::generateXhtmlForProjectInto
bool generateXhtmlForProjectInto(const QUrl &destDir)
Definition: xhtmlgenerator.cpp:75
XhtmlGenerator::threadFinished
void threadFinished()
Definition: xhtmlgenerator.cpp:176
XhtmlGenerator::customXslFile
static QString customXslFile()
Definition: xhtmlgenerator.cpp:188
XhtmlGenerator::m_pStatus
bool m_pStatus
Definition: xhtmlgenerator.h:57
XhtmlGenerator::m_d2xg
Docbook2XhtmlGeneratorJob * m_d2xg
Definition: xhtmlgenerator.h:55