Plasma5Support

placeservice.h
1/*
2 SPDX-FileCopyrightText: 2008 Alex Merry <alex.merry@kdemail.net>
3
4 SPDX-License-Identifier: LGPL-2.1-or-later
5*/
6
7#pragma once
8
9#include <Plasma5Support/Service>
10
11#include "placesengine.h"
12
13class PlaceService : public Plasma5Support::Service
14{
16
17public:
18 PlaceService(QObject *parent, KFilePlacesModel *model);
19
20protected:
21 Plasma5Support::ServiceJob *createJob(const QString &operation, QMap<QString, QVariant> &parameters) override;
22
23private:
24 KFilePlacesModel *m_model;
25 QModelIndex m_index;
26};
This class provides jobs for use with Plasma5Support::Service.
Definition servicejob.h:39
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.