7#include <QSharedPointer>
8#include <QDebugStateSaver>
10#include "dtknotification_global.h"
12DNOTIFICATIONS_BEGIN_NAMESPACE
39 friend bool operator==(
const QVariantMap& lhs,
const QVariantMap& rhs)
41 if (lhs.size() != rhs.size()) {
45 for (
auto it = lhs.constBegin(); it != lhs.constEnd(); ++it) {
47 if (!rhs.contains(key) || lhs[key] != rhs[key]) {
56typedef QSharedPointer<DNotificationData> DNotificationDataPtr;
71 ShowInNotificationCenter,
72 LockScreenShowNofitication
77 LockScreenOpenDNDMode,
98QDebug operator<<(QDebug debug,
const DNotificationData &nofitication);
99QDebug operator<<(QDebug debug,
const ServerInformation &serverInformation);
101DNOTIFICATIONS_END_NAMESPACE
103Q_DECLARE_METATYPE(DNOTIFICATIONS_NAMESPACE::ClosedReason)
104Q_DECLARE_METATYPE(DNOTIFICATIONS_NAMESPACE::ServerInformation)
105Q_DECLARE_METATYPE(DNOTIFICATIONS_NAMESPACE::AppNotificationConfigItem)
106Q_DECLARE_METATYPE(DNOTIFICATIONS_NAMESPACE::DNDModeNotificaitonConfigItem)
AppNotificationConfigItem
应用通知配置信息
Definition: dnotificationtypes.h:65
ClosedReason
通知关闭原因
Definition: dnotificationtypes.h:58
DNDModeNotificaitonConfigItem
应用通知配置信息
Definition: dnotificationtypes.h:75
消息记录中的一些信息
Definition: dnotificationtypes.h:14
QString summary
Definition: dnotificationtypes.h:18
QString timeout
Definition: dnotificationtypes.h:24
QString appIcon
Definition: dnotificationtypes.h:17
QVariantMap hints
Definition: dnotificationtypes.h:21
uint replacesId
Definition: dnotificationtypes.h:23
QString appName
Definition: dnotificationtypes.h:15
QStringList actions
Definition: dnotificationtypes.h:20
QString ctime
Definition: dnotificationtypes.h:22
QString body
Definition: dnotificationtypes.h:19
QString id
Definition: dnotificationtypes.h:16