summaryrefslogtreecommitdiffstats
path: root/src/qdoc/qmlmarkupvisitor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qdoc/qmlmarkupvisitor.h')
-rw-r--r--src/qdoc/qmlmarkupvisitor.h15
1 files changed, 5 insertions, 10 deletions
diff --git a/src/qdoc/qmlmarkupvisitor.h b/src/qdoc/qmlmarkupvisitor.h
index a0e3f870b..c9a012ae8 100644
--- a/src/qdoc/qmlmarkupvisitor.h
+++ b/src/qdoc/qmlmarkupvisitor.h
@@ -35,8 +35,8 @@
#include <QtCore/qstring.h>
#ifndef QT_NO_DECLARATIVE
-#include <private/qqmljsastvisitor_p.h>
-#include <private/qqmljsengine_p.h>
+# include <private/qqmljsastvisitor_p.h>
+# include <private/qqmljsengine_p.h>
#endif
QT_BEGIN_NAMESPACE
@@ -45,13 +45,9 @@ QT_BEGIN_NAMESPACE
class QmlMarkupVisitor : public QQmlJS::AST::Visitor
{
public:
- enum ExtraType{
- Comment,
- Pragma
- };
+ enum ExtraType { Comment, Pragma };
- QmlMarkupVisitor(const QString &code,
- const QVector<QQmlJS::AST::SourceLocation> &pragmas,
+ QmlMarkupVisitor(const QString &code, const QVector<QQmlJS::AST::SourceLocation> &pragmas,
QQmlJS::Engine *engine);
virtual ~QmlMarkupVisitor();
@@ -148,8 +144,7 @@ protected:
private:
typedef QHash<QString, QString> StringHash;
void addExtra(quint32 start, quint32 finish);
- void addMarkedUpToken(QQmlJS::AST::SourceLocation &location,
- const QString &text,
+ void addMarkedUpToken(QQmlJS::AST::SourceLocation &location, const QString &text,
const StringHash &attributes = StringHash());
void addVerbatim(QQmlJS::AST::SourceLocation first,
QQmlJS::AST::SourceLocation last = QQmlJS::AST::SourceLocation());