summaryrefslogtreecommitdiff
path: root/src/qdoc/helpprojectwriter.h
diff options
context:
space:
mode:
authorPaul Wicking <paul.wicking@qt.io>2019-08-07 20:37:57 +0200
committerPaul Wicking <paul.wicking@qt.io>2019-08-08 07:23:16 +0200
commit455bda44cb83b622fddd5954bf27c61a99bf2eba (patch)
tree6df4dd58025ba85e6baa39fa3bb819dba3aa1eca /src/qdoc/helpprojectwriter.h
parent000f678697fcc8c5512f4ae96c2a49eea9ba8066 (diff)
downloadqttools-455bda44cb83b622fddd5954bf27c61a99bf2eba.tar.gz
QDoc: Clean up whitespace
Ensure that QDoc conforms to Qt style, whitespace edition. For the most part, the change involves moving the pointer operators. Also remove whitespace following an opening parenthesis, or immediately preceding a closing one. In some cases, adjust the following line accordingly in methods that span multiple lines. Change-Id: I56ae125a2acf09c669c0a73dc814d05f13575f39 Reviewed-by: Martin Smith <martin.smith@qt.io>
Diffstat (limited to 'src/qdoc/helpprojectwriter.h')
-rw-r--r--src/qdoc/helpprojectwriter.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/qdoc/helpprojectwriter.h b/src/qdoc/helpprojectwriter.h
index 05460769c..64ad3aaec 100644
--- a/src/qdoc/helpprojectwriter.h
+++ b/src/qdoc/helpprojectwriter.h
@@ -39,7 +39,7 @@ QT_BEGIN_NAMESPACE
class QDocDatabase;
class Generator;
-typedef QPair<QString, const Node*> QStringNodePair;
+typedef QPair<QString, const Node *> QStringNodePair;
using NodeTypeSet = QSet<unsigned char>;
@@ -71,7 +71,7 @@ struct HelpProject
QSet<QString> files;
QSet<QString> extraFiles;
QSet<QString> filterAttributes;
- QHash<QString, QSet<QString> > customFilters;
+ QHash<QString, QSet<QString>> customFilters;
QSet<QString> excluded;
QList<SubProject> subprojects;
QHash<const Node *, NodeStatusSet> memberStatus;
@@ -85,10 +85,10 @@ class HelpProjectWriter
public:
HelpProjectWriter(const Config &config,
const QString &defaultFileName,
- Generator* g);
+ Generator *g);
void reset(const Config &config,
const QString &defaultFileName,
- Generator* g);
+ Generator *g);
void addExtraFile(const QString &file);
void addExtraFiles(const QSet<QString> &files);
void generate();
@@ -108,8 +108,8 @@ private:
void writeSection(QXmlStreamWriter &writer, const QString &path,
const QString &value);
- QDocDatabase* qdb_;
- Generator* gen_;
+ QDocDatabase *qdb_;
+ Generator *gen_;
QString outputDir;
QList<HelpProject> projects;