summaryrefslogtreecommitdiffstats
path: root/src/qdoc/location.h
diff options
context:
space:
mode:
authorPaul Wicking <paul.wicking@qt.io>2020-02-12 15:16:50 +0100
committerPaul Wicking <paul.wicking@qt.io>2020-03-04 11:41:27 +0100
commit94ee5927f5551d32876f5854c8b0f630b68b4659 (patch)
treef38dbb99e08e4409c5160a84f7519b0e22196d3b /src/qdoc/location.h
parente0c75e0bb8a2e71e2d6a583158ebd7a825bfd234 (diff)
QDoc: Disentangle Generator and Config
* Keep track of use of DocBook extensions in Config. * Let Location query Config about use of Timestamps in logging. * Set writeQaPages in Config and get it from there. * Let Location query Config about whether logging is enabled or not. * Let Config track if QDoc is running in single or dual exec mode. * Move phase information to Config and track the current phase state there. * Remove the inclusion of generator.h from config.cpp, clangcodeparser.cpp. Task-number: QTBUG-82106 Change-Id: I06c8aeb40417e5c83cfa693f5f1ab2c210d34469 Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'src/qdoc/location.h')
-rw-r--r--src/qdoc/location.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/qdoc/location.h b/src/qdoc/location.h
index 818984b63..68ab28845 100644
--- a/src/qdoc/location.h
+++ b/src/qdoc/location.h
@@ -84,8 +84,6 @@ public:
static void terminate();
static void information(const QString &message);
static void internalError(const QString &hint);
- static void startLoggingProgress() { logProgress_ = true; }
- static void stopLoggingProgress() { logProgress_ = false; }
static QString canonicalRelativePath(const QString &path);
static int exitCode();
@@ -117,7 +115,6 @@ private:
static QString programName;
static QString project;
static QRegExp *spuriousRegExp;
- static bool logProgress_;
};
Q_DECLARE_TYPEINFO(Location::StackEntry, Q_MOVABLE_TYPE);
Q_DECLARE_TYPEINFO(Location, Q_COMPLEX_TYPE); // stkTop = &stkBottom