mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-02 15:45:21 +00:00

高效模式下和时尚模式下托盘区域共用一个TrayModel,在拖动图标的时候,时尚模式和高效模式保持相同的状态 Log: 实现高效模式下图标的拖动功能 Influence: 高效模式,从托盘或快捷面板拖动图标到任务栏 Task: https://pms.uniontech.com/task-view-112073.html Change-Id: I279b572231ea8efc9bd7f1ee0e628e9ee3eb064e
16 lines
265 B
C++
16 lines
265 B
C++
#ifndef PLATFORMUTILS_H
|
|
#define PLATFORMUTILS_H
|
|
|
|
#include <QObject>
|
|
|
|
class PlatformUtils
|
|
{
|
|
public:
|
|
static QString getAppNameForWindow(quint32 winId);
|
|
|
|
private:
|
|
static QString getWindowProperty(quint32 winId, QString propName);
|
|
};
|
|
|
|
#endif // PLATFORMUTILS_H
|