umbrello  2.39.2
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
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 
19 
31 class XhtmlGenerator : public QObject
32 {
33  Q_OBJECT
34 public:
35 
37  virtual ~XhtmlGenerator();
38 
40  bool generateXhtmlForProjectInto(const QUrl& destDir);
41  static QString customXslFile();
42 
43 signals:
44  void finished(bool status);
45 
46 protected slots:
47 
48  void slotDocbookToXhtml(bool status);
49  void slotHtmlGenerated(const QString& tmpFileName);
50 
51  void threadFinished();
52 
53 private:
54 
56 
57  bool m_pStatus;
59 
60  QUrl m_destDir;
62 };
63 
64 #endif // XHTMLGENERATOR_H
Generates XHtml from Docbook.
Definition: docbook2xhtmlgeneratorjob.h:22
Definition: umldoc.h:63
Definition: xhtmlgenerator.h:32
XhtmlGenerator()
Definition: xhtmlgenerator.cpp:34
void slotHtmlGenerated(const QString &tmpFileName)
Definition: xhtmlgenerator.cpp:120
virtual ~XhtmlGenerator()
Definition: xhtmlgenerator.cpp:45
UMLDoc * m_umlDoc
Definition: xhtmlgenerator.h:61
bool generateXhtmlForProject()
Definition: xhtmlgenerator.cpp:58
QUrl m_destDir
Destination directory where the final documentation will be written.
Definition: xhtmlgenerator.h:60
bool m_pThreadFinished
Definition: xhtmlgenerator.h:58
void finished(bool status)
Definition: moc_xhtmlgenerator.cpp:148
void slotDocbookToXhtml(bool status)
Definition: xhtmlgenerator.cpp:92
bool generateXhtmlForProjectInto(const QUrl &destDir)
Definition: xhtmlgenerator.cpp:75
void threadFinished()
Definition: xhtmlgenerator.cpp:168
static QString customXslFile()
Definition: xhtmlgenerator.cpp:180
bool m_pStatus
Definition: xhtmlgenerator.h:57
Docbook2XhtmlGeneratorJob * m_d2xg
Definition: xhtmlgenerator.h:55