QortalOS Brooklyn for Raspberry Pi 4
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.
 
 
 
 
 
 

28 lines
540 B

/*
SPDX-FileCopyrightText: 2008 Alex Merry <[email protected]>
SPDX-License-Identifier: LGPL-2.0-only
*/
#pragma once
#include <Plasma/DataEngine>
#include <kfileplacesmodel.h>
class PlacesProxyModel;
class PlacesEngine : public Plasma::DataEngine
{
Q_OBJECT
public:
PlacesEngine(QObject *parent, const QVariantList &args);
~PlacesEngine() override;
Plasma::Service *serviceForSource(const QString &source) override;
private:
KFilePlacesModel *m_placesModel;
PlacesProxyModel *m_proxyModel;
};