Advance Wayland and KDE package bring-up
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
This file is part of the KDE libraries
|
||||
SPDX-FileCopyrightText: 2005-2006 Olivier Goffart <ogoffart at kde.org>
|
||||
SPDX-FileCopyrightText: 2013-2014 Martin Klapetek <mklapetek@kde.org>
|
||||
|
||||
code from KNotify/KNotifyClient
|
||||
SPDX-FileCopyrightText: 1997 Christian Esken <esken@kde.org>
|
||||
SPDX-FileCopyrightText: 2000 Charles Samuels <charles@kde.org>
|
||||
SPDX-FileCopyrightText: 2000 Stefan Schimanski <1Stein@gmx.de>
|
||||
SPDX-FileCopyrightText: 2000 Matthias Ettrich <ettrich@kde.org>
|
||||
SPDX-FileCopyrightText: 2000 Waldo Bastian <bastian@kde.org>
|
||||
SPDX-FileCopyrightText: 2000-2003 Carsten Pfeiffer <pfeiffer@kde.org>
|
||||
SPDX-FileCopyrightText: 2005 Allan Sandfeld Jensen <kde@carewolf.com>
|
||||
|
||||
SPDX-License-Identifier: LGPL-2.0-only
|
||||
*/
|
||||
|
||||
#ifndef KNOITIFICATION_P_H
|
||||
#define KNOITIFICATION_P_H
|
||||
|
||||
#include <QTimer>
|
||||
|
||||
struct Q_DECL_HIDDEN KNotification::Private {
|
||||
QString eventId;
|
||||
int id = -1;
|
||||
int ref = 0;
|
||||
|
||||
QString title;
|
||||
QString text;
|
||||
QString iconName;
|
||||
KNotificationAction *defaultAction = nullptr;
|
||||
QList<KNotificationAction *> actions;
|
||||
bool ownsActions = true;
|
||||
QString xdgActivationToken;
|
||||
std::unique_ptr<KNotificationReplyAction> replyAction;
|
||||
QPixmap pixmap;
|
||||
NotificationFlags flags = KNotification::CloseOnTimeout;
|
||||
QString componentName;
|
||||
KNotification::Urgency urgency = KNotification::DefaultUrgency;
|
||||
QVariantMap hints;
|
||||
|
||||
QTimer updateTimer;
|
||||
bool needUpdate = false;
|
||||
bool isNew = true;
|
||||
bool autoDelete = true;
|
||||
QWindow *window = nullptr;
|
||||
int actionIdCounter = 1;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user