/* This file is part of the KDE libraries SPDX-FileCopyrightText: 2005-2006 Olivier Goffart SPDX-FileCopyrightText: 2013-2014 Martin Klapetek code from KNotify/KNotifyClient SPDX-FileCopyrightText: 1997 Christian Esken SPDX-FileCopyrightText: 2000 Charles Samuels SPDX-FileCopyrightText: 2000 Stefan Schimanski <1Stein@gmx.de> SPDX-FileCopyrightText: 2000 Matthias Ettrich SPDX-FileCopyrightText: 2000 Waldo Bastian SPDX-FileCopyrightText: 2000-2003 Carsten Pfeiffer SPDX-FileCopyrightText: 2005 Allan Sandfeld Jensen SPDX-License-Identifier: LGPL-2.0-only */ #ifndef KNOITIFICATION_P_H #define KNOITIFICATION_P_H #include struct Q_DECL_HIDDEN KNotification::Private { QString eventId; int id = -1; int ref = 0; QString title; QString text; QString iconName; KNotificationAction *defaultAction = nullptr; QList actions; bool ownsActions = true; QString xdgActivationToken; std::unique_ptr 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