mirror of
https://github.com/Qortal/Brooklyn.git
synced 2025-02-12 10:15:54 +00:00
29 lines
540 B
C
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;
|
||
|
};
|