You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
508 B
26 lines
508 B
/* |
|
SPDX-FileCopyrightText: 2008 Alex Merry <alex.merry@kdemail.net> |
|
|
|
SPDX-License-Identifier: LGPL-2.1-or-later |
|
*/ |
|
|
|
#pragma once |
|
|
|
#include <Plasma/Service> |
|
|
|
#include "placesengine.h" |
|
|
|
class PlaceService : public Plasma::Service |
|
{ |
|
Q_OBJECT |
|
|
|
public: |
|
PlaceService(QObject *parent, KFilePlacesModel *model); |
|
|
|
protected: |
|
Plasma::ServiceJob *createJob(const QString &operation, QMap<QString, QVariant> ¶meters) override; |
|
|
|
private: |
|
KFilePlacesModel *m_model; |
|
QModelIndex m_index; |
|
};
|
|
|