Skip to content

Commit 3c1a8d5

Browse files
committed
chore: adapt debugging settings function
Using linuxdeepin/dde-control-center f86903a87b52048189d0d869c1828fc13da28c03 as reference. Log:
1 parent 4fbcb93 commit 3c1a8d5

32 files changed

+198
-30
lines changed

REUSE.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ SPDX-FileCopyrightText = "None"
8282
SPDX-License-Identifier = "CC0-1.0"
8383

8484
[[annotations]]
85-
path = "misc/**.service"
85+
path = ["misc/**.service", "misc/**.json"]
8686
precedence = "aggregate"
8787
SPDX-FileCopyrightText = "None"
8888
SPDX-License-Identifier = "CC0-1.0"

applets/dde-apps/amappitemmodel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#include <DUtil>
1212
#include <QtConcurrent>
1313

14-
Q_LOGGING_CATEGORY(appsLog, "dde.shell.dde-apps.amappitemmodel")
14+
Q_LOGGING_CATEGORY(appsLog, "org.deepin.dde.shell.dde-apps.amappitemmodel")
1515

1616
namespace apps
1717
{

applets/dde-apps/appgroup.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#include <QLoggingCategory>
1111
#include <algorithm>
1212

13-
Q_LOGGING_CATEGORY(appGroupLog, "org.deepin.ds.dde-apps.appgroup")
13+
Q_LOGGING_CATEGORY(appGroupLog, "org.deepin.dde.shell.dde-apps.appgroup")
1414

1515
namespace apps {
1616
AppGroup::AppGroup(const QString &groupId, const QString &name, const QList<QStringList> &appIDs)

frame/layershell/dlayershellwindow.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#include "x11dlayershellemulation.h"
1717
#endif
1818

19-
Q_LOGGING_CATEGORY(layershellwindow, "dde.shell.layershell.window")
19+
Q_LOGGING_CATEGORY(layershellwindow, "org.deepin.dde.shell.layershell.window")
2020

2121
DS_BEGIN_NAMESPACE
2222

frame/layershell/qwaylandlayershellsurface.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#include <QtWaylandClient/private/qwaylandsurface_p.h>
1616
#include <QtWaylandClient/private/qwaylandwindow_p.h>
1717

18-
Q_LOGGING_CATEGORY(layershellsurface, "dde.shell.layershell.surface")
18+
Q_LOGGING_CATEGORY(layershellsurface, "org.deepin.dde.shell.layershell.surface")
1919

2020
DS_BEGIN_NAMESPACE
2121

frame/layershell/x11dlayershellemulation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
DS_BEGIN_NAMESPACE
2121

22-
Q_LOGGING_CATEGORY(layershell, "dde.shell.layershell")
22+
Q_LOGGING_CATEGORY(layershell, "org.deepin.dde.shell.layershell")
2323

2424
LayerShellEmulation::LayerShellEmulation(QWindow* window, QObject *parent)
2525
: QObject(parent)

frame/pluginmetadata.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
DS_BEGIN_NAMESPACE
1616

17-
Q_LOGGING_CATEGORY(dsLog, "dde.shell")
17+
Q_LOGGING_CATEGORY(dsLog, "org.deepin.dde.shell")
1818

1919
class DPluginMetaDataPrivate : public QSharedData
2020
{

frame/quick/dsquickdrag.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
DS_BEGIN_NAMESPACE
2020

21-
Q_LOGGING_CATEGORY(dsDragLog, "dde.shell.drag")
21+
Q_LOGGING_CATEGORY(dsDragLog, "org.deepin.dde.shell.drag")
2222

2323
class DragWindowEventFilter : public QObject {
2424
public:
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"name": "dde-shell",
3+
"group": "dde",
4+
"submodules": [
5+
{
6+
"name": "org.deepin.dde.shell",
7+
"exec": "org.deepin.dde.shell.sh"
8+
}
9+
],
10+
"version": "V1.0"
11+
}
Lines changed: 152 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,152 @@
1+
{
2+
"name": "dde-shell",
3+
"group": "dde",
4+
"submodules": [
5+
{
6+
"name": "shell.dde-apps.amappitemmodel",
7+
"filter": "org.deepin.dde.shell.dde-apps.amappitemmodel",
8+
"exec": "/usr/bin/dde-shell",
9+
"logType": "journal"
10+
},
11+
{
12+
"name": "shell.dde-apps.appgroup",
13+
"filter": "org.deepin.dde.shell.dde-apps.appgroup",
14+
"exec": "/usr/bin/dde-shell",
15+
"logType": "journal"
16+
},
17+
{
18+
"name": "shell",
19+
"filter": "org.deepin.dde.shell",
20+
"exec": "/usr/bin/dde-shell",
21+
"logType": "journal"
22+
},
23+
{
24+
"name": "shell.layershell.window",
25+
"filter": "org.deepin.dde.shell.layershell.window",
26+
"exec": "/usr/bin/dde-shell",
27+
"logType": "journal"
28+
},
29+
{
30+
"name": "shell.layershell.surface",
31+
"filter": "org.deepin.dde.shell.layershell.surface",
32+
"exec": "/usr/bin/dde-shell",
33+
"logType": "journal"
34+
},
35+
{
36+
"name": "shell.layershell",
37+
"filter": "org.deepin.dde.shell.layershell",
38+
"exec": "/usr/bin/dde-shell",
39+
"logType": "journal"
40+
},
41+
{
42+
"name": "shell.drag",
43+
"filter": "org.deepin.dde.shell.drag",
44+
"exec": "/usr/bin/dde-shell",
45+
"logType": "journal"
46+
},
47+
{
48+
"name": "shell.dock",
49+
"filter": "org.deepin.dde.shell.dock",
50+
"exec": "/usr/bin/dde-shell",
51+
"logType": "journal"
52+
},
53+
{
54+
"name": "shell.dock.docksettings",
55+
"filter": "org.deepin.dde.shell.dock.docksettings",
56+
"exec": "/usr/bin/dde-shell",
57+
"logType": "journal"
58+
},
59+
{
60+
"name": "shell.dock.x11",
61+
"filter": "org.deepin.dde.shell.dock.x11",
62+
"exec": "/usr/bin/dde-shell",
63+
"logType": "journal"
64+
},
65+
{
66+
"name": "shell.dock.showdesktop",
67+
"filter": "org.deepin.dde.shell.dock.showdesktop",
68+
"exec": "/usr/bin/dde-shell",
69+
"logType": "journal"
70+
},
71+
{
72+
"name": "shell.dock.abstractdesktopfile",
73+
"filter": "org.deepin.dde.shell.dock.abstractdesktopfile",
74+
"exec": "/usr/bin/dde-shell",
75+
"logType": "journal"
76+
},
77+
{
78+
"name": "shell.dock.amdesktopfile",
79+
"filter": "org.deepin.dde.shell.dock.amdesktopfile",
80+
"exec": "/usr/bin/dde-shell",
81+
"logType": "journal"
82+
},
83+
{
84+
"name": "shell.dock.taskmanager.dockglobalelementmodel",
85+
"filter": "org.deepin.dde.shell.dock.taskmanager.dockglobalelementmodel",
86+
"exec": "/usr/bin/dde-shell",
87+
"logType": "journal"
88+
},
89+
{
90+
"name": "shell.dock.taskmanager",
91+
"filter": "org.deepin.dde.shell.dock.taskmanager",
92+
"exec": "/usr/bin/dde-shell",
93+
"logType": "journal"
94+
},
95+
{
96+
"name": "shell.dock.taskmanager.treelandwindow",
97+
"filter": "org.deepin.dde.shell.dock.taskmanager.treelandwindow",
98+
"exec": "/usr/bin/dde-shell",
99+
"logType": "journal"
100+
},
101+
{
102+
"name": "shell.dock.taskmanager.x11WindowPreview",
103+
"filter": "org.deepin.dde.shell.dock.taskmanager.x11WindowPreview",
104+
"exec": "/usr/bin/dde-shell",
105+
"logType": "journal"
106+
},
107+
{
108+
"name": "shell.dock.taskmanager.x11utils",
109+
"filter": "org.deepin.dde.shell.dock.taskmanager.x11utils",
110+
"exec": "/usr/bin/dde-shell",
111+
"logType": "journal"
112+
},
113+
{
114+
"name": "shell.dock.taskmanager.x11window",
115+
"filter": "org.deepin.dde.shell.dock.taskmanager.x11window",
116+
"exec": "/usr/bin/dde-shell",
117+
"logType": "journal"
118+
},
119+
{
120+
"name": "shell.dock.taskmanager.x11windowmonitor",
121+
"filter": "org.deepin.dde.shell.dock.taskmanager.x11windowmonitor",
122+
"exec": "/usr/bin/dde-shell",
123+
"logType": "journal"
124+
},
125+
{
126+
"name": "shell.notification",
127+
"filter": "org.deepin.dde.shell.notification",
128+
"exec": "/usr/bin/dde-shell",
129+
"logType": "journal"
130+
},
131+
{
132+
"name": "shell.osd",
133+
"filter": "org.deepin.dde.shell.osd",
134+
"exec": "/usr/bin/dde-shell",
135+
"logType": "journal"
136+
},
137+
{
138+
"name": "shell.osd.kblayout",
139+
"filter": "org.deepin.dde.shell.osd.kblayout",
140+
"exec": "/usr/bin/dde-shell",
141+
"logType": "journal"
142+
},
143+
{
144+
"name": "shell.loader",
145+
"filter": "org.deepin.dde.shell.loader",
146+
"exec": "/usr/bin/dde-shell",
147+
"logType": "journal"
148+
}
149+
],
150+
"visible": 1,
151+
"version": "V1.0"
152+
}

0 commit comments

Comments
 (0)