Plasma5Support

packagekitengine.h
1/*
2 SPDX-FileCopyrightText: 2012 Gregor Taetzner <gregor@freenet.de>
3
4 SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
5*/
6
7#pragma once
8
9#include <Plasma5Support/DataEngine>
10
11class PackagekitEngine : public Plasma5Support::DataEngine
12{
14
15public:
16 PackagekitEngine(QObject *parent);
17 void init();
18
19protected:
20 Plasma5Support::Service *serviceForSource(const QString &source) override;
21
22private:
23 bool m_pk_available;
24};
Data provider for plasmoids (Plasma plugins)
Definition dataengine.h:45
This class provides a generic API for write access to settings or services.
Definition service.h:78
Q_OBJECTQ_OBJECT
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:08:57 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.