Commit 5706c33a authored by Paul Wicking's avatar Paul Wicking
Browse files

QDoc: Remove QDocGlobals


This change moves the setting of configuration options from QDocGlobals
to Config. This allows for the removal of the entire QDocGlobals class.
Some methods (getters/setters) are part of the move, others were used
exclusively by Config:: and are therefore dropped entirely.

Also, move the ownership of QDocCommandLineParser from main() to
Config - this makes Config the authoritative source of all settings,
whether from the command line or .qdocconf variables, and makes it
possible to reset() the full state of the Config.

Finally, remove the QDocGlobals auto-test, as it is no longer needed.

Change-Id: I8e39931c828c763cb0462cbbdf3fe1a39b2ad70b
Reviewed-by: default avatarTopi Reiniö <topi.reinio@qt.io>
Reviewed-by: default avatarEdward Welbourne <edward.welbourne@qt.io>
parent d1004517
Showing with 165 additions and 650 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment