umbrello  2.31.90
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
docbook2xhtmlgeneratorjob.h
Go to the documentation of this file.
1 /***************************************************************************
2  * This program is free software; you can redistribute it and/or modify *
3  * it under the terms of the GNU General Public License as published by *
4  * the Free Software Foundation; either version 2 of the License, or *
5  * (at your option) any later version. *
6  * *
7  * copyright (C) 2007-2020 *
8  * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
9  ***************************************************************************/
10 
11 #ifndef DOCBOOK2XHTMLGENERATORJOB_H
12 #define DOCBOOK2XHTMLGENERATORJOB_H
13 
14 #include <QThread>
15 
16 #if QT_VERSION >= 0x050000
17 #include <QUrl>
18 #else
19 #include <KUrl>
20 #endif
21 
31 class Docbook2XhtmlGeneratorJob : public QThread
32 {
33  Q_OBJECT
34  public:
35 #if QT_VERSION >= 0x050000
36  Docbook2XhtmlGeneratorJob(QUrl& docBookUrl, QObject* parent);
37 #else
38  Docbook2XhtmlGeneratorJob(KUrl& docBookUrl, QObject* parent);
39 #endif
40  protected:
41  void run();
42 
43  private:
44 #if QT_VERSION >= 0x050000
45  QUrl m_docbookUrl;
46 #else
48 #endif
49 
50  signals:
51  void xhtmlGenerated(const QString&);
52 };
53 
54 #endif
Docbook2XhtmlGeneratorJob::Docbook2XhtmlGeneratorJob
Docbook2XhtmlGeneratorJob(KUrl &docBookUrl, QObject *parent)
Definition: docbook2xhtmlgeneratorjob.cpp:59
Docbook2XhtmlGeneratorJob::m_docbookUrl
KUrl m_docbookUrl
Definition: docbook2xhtmlgeneratorjob.h:47
Docbook2XhtmlGeneratorJob::run
void run()
Definition: docbook2xhtmlgeneratorjob.cpp:65
Docbook2XhtmlGeneratorJob::xhtmlGenerated
void xhtmlGenerated(const QString &)
File_Utils::xmlCatalogFilePath
QString xmlCatalogFilePath()
Definition: file_utils.cpp:26
i18n
#define i18n
Definition: main.cpp:39
UMLDoc::writeToStatusBar
void writeToStatusBar(const QString &text)
Definition: umldoc.cpp:1208
file_utils.h
uDebug
#define uDebug()
Definition: debug_utils.h:122
Docbook2XhtmlGeneratorJob
Generates XHtml from Docbook.
Definition: docbook2xhtmlgeneratorjob.h:32
UMLApp::app
static UMLApp * app()
Definition: uml.cpp:278
UMLDoc
Definition: umldoc.h:75
XhtmlGenerator::customXslFile
static QString customXslFile()
Definition: xhtmlgenerator.cpp:239
uml.h
debug_utils.h
xmlLoadExtDtdDefaultValue
int xmlLoadExtDtdDefaultValue
docbook2xhtmlgeneratorjob.h
UMLApp::document
UMLDoc * document() const
Definition: uml.cpp:1064
umldoc.h
xhtmlgenerator.h