Plasma5Support

appsource.h
1/*
2 SPDX-FileCopyrightText: 2009 Chani Armitage <chani@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-only
5*/
6
7#pragma once
8
9// plasma
10#include <Plasma5Support/DataContainer>
11
12#include <KService>
13#include <KServiceGroup>
14
15/**
16 * App Source
17 */
19{
21
22public:
25 ~AppSource() override;
26
27protected:
28 Plasma5Support::Service *createService();
29 KService::Ptr getApp();
30 bool isApp() const;
31
32private Q_SLOTS:
33 void updateGroup();
34 void updateApp();
35
36private:
37 friend class AppsEngine;
38 friend class AppJob;
39 KServiceGroup::Ptr m_group;
40 KService::Ptr m_app;
41 bool m_isApp;
42};
App Source.
Definition appsource.h:19
Apps Data Engine.
Definition appsengine.h:32
A set of data exported via a DataEngine.
This class provides a generic API for write access to settings or services.
Definition service.h:78
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.