File indexing completed on 2024-05-19 05:37:51
0001 /* 0002 SPDX-FileCopyrightText: 2008 Alex Merry <alex.merry@kdemail.net> 0003 0004 SPDX-License-Identifier: LGPL-2.1-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include <Plasma5Support/Service> 0010 0011 #include "placesengine.h" 0012 0013 class PlaceService : public Plasma5Support::Service 0014 { 0015 Q_OBJECT 0016 0017 public: 0018 PlaceService(QObject *parent, KFilePlacesModel *model); 0019 0020 protected: 0021 Plasma5Support::ServiceJob *createJob(const QString &operation, QMap<QString, QVariant> ¶meters) override; 0022 0023 private: 0024 KFilePlacesModel *m_model; 0025 QModelIndex m_index; 0026 };