move some files around

This commit is contained in:
2025-12-25 16:36:41 +08:00
parent 16c90b6d25
commit cb3830e6c7
6 changed files with 4 additions and 108 deletions

View File

@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node name="/org/deepin/dde/TrayManager1">
<interface name="org.deepin.dde.TrayManager1">
<!-- Properties -->
<property name="TrayIcons" type="au" access="read">
<annotation name="org.qtproject.QtDBus.QtTypeName" value="TrayList"/>
</property>
<!-- Methods -->
<method name="Manage">
<arg type="b" name="ok" direction="out"/>
</method>
<method name="GetName">
<arg type="u" name="win" direction="in"/>
<arg type="s" name="name" direction="out"/>
</method>
<method name="EnableNotification">
<arg type="u" name="win" direction="in"/>
<arg type="b" name="enabled" direction="in"/>
</method>
<!-- Signals -->
<signal name="Added">
<arg type="u" name="id"/>
</signal>
<signal name="Removed">
<arg type="u" name="id"/>
</signal>
<signal name="Changed">
<arg type="u" name="id"/>
</signal>
<signal name="Inited"/>
</interface>
</node>

7
api/types/traylist.h Normal file
View File

@@ -0,0 +1,7 @@
// SPDX-FileCopyrightText: 2024 UnionTech Software Technology Co., Ltd.
//
// SPDX-License-Identifier: GPL-3.0-or-later
#include <QList>
typedef QList<quint32> TrayList;