3
0
mirror of https://github.com/Qortal/Brooklyn.git synced 2025-02-07 14:54:17 +00:00
Brooklyn/plasma/workspace/dataengines/places/placesengine.h
2022-03-05 22:41:29 +05:00

29 lines
540 B
C++

/*
SPDX-FileCopyrightText: 2008 Alex Merry <alex.merry@kdemail.net>
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;
};