refactor(tree): move the journal and the preferences out of src/ and include/
The journal and the preferences were two of the many things src/ held, so "where does this live" meant reading the file to find out. They now have a folder each — logging/ and preferences/ — with the header next to its source, the way pages/ has always been laid out. Flat #include still resolves: the folders join the include path.
This commit is contained in:
9 files changed
+37
-36
No files matched your search
@@ -0,0 +1,11 @@
|
||||
#pragma once
|
||||
|
||||
#include <QLoggingCategory>
|
||||
|
||||
// Structured log categories (P4 quality): use qCDebug/qCInfo/qCWarning with
|
||||
// these instead of scattering qDebug() so logs can be filtered per area with
|
||||
// QT_LOGGING_RULES="pacmgr.ui.debug=true" etc.
|
||||
Q_DECLARE_LOGGING_CATEGORY(pacmgrUi)
|
||||
Q_DECLARE_LOGGING_CATEGORY(pacmgrOp)
|
||||
Q_DECLARE_LOGGING_CATEGORY(pacmgrPlugin)
|
||||
Q_DECLARE_LOGGING_CATEGORY(pacmgrUpdate)
|
||||
Reference in new issue
Block a user