Plasma5Support

devicenotificationsengine.h
1/*
2 SPDX-FileCopyrightText: 2010 Jacopo De Simoi <wilderkde@gmail.com>
3 SPDX-FileCopyrightText: 2014 Lukáš Tinkl <ltinkl@redhat.com>
4
5 SPDX-License-Identifier: LGPL-2.0-or-later
6*/
7
8#pragma once
9
10#include <Plasma5Support/DataEngine>
11
12#include "ksolidnotify.h"
13
14/**
15 * Engine which provides data sources for device notifications.
16 * Each notification is represented by one source.
17 */
19{
21public:
24
25private Q_SLOTS:
26 void notify(Solid::ErrorType solidError, const QString &error, const QString &errorDetails, const QString &udi);
27 void clearNotification(const QString &udi);
28
29private:
30 KSolidNotify *const m_solidNotify;
31};
Engine which provides data sources for device notifications.
Class which triggers solid notifications.
Data provider for plasmoids (Plasma plugins)
Definition dataengine.h:45
Q_OBJECTQ_OBJECT
Q_SLOTSQ_SLOTS
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:59:38 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.