2013-09-04 11:48:06 +02:00
|
|
|
/*
|
2020-08-13 21:08:54 +02:00
|
|
|
SPDX-FileCopyrightText: 2011 Aaron Seigo <aseigo@kde.org>
|
|
|
|
|
|
|
|
SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
*/
|
2013-09-04 11:48:06 +02:00
|
|
|
|
|
|
|
#ifndef SOURCESONREQUESTENGINE_H
|
|
|
|
#define SOURCESONREQUESTENGINE_H
|
|
|
|
|
|
|
|
#include <Plasma/DataEngine>
|
|
|
|
|
|
|
|
class SourcesOnRequestEngine : public Plasma::DataEngine
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
SourcesOnRequestEngine(QObject *parent, const QVariantList &args);
|
|
|
|
|
|
|
|
protected:
|
2018-01-26 15:48:27 +01:00
|
|
|
bool sourceRequestEvent(const QString &source) override;
|
|
|
|
bool updateSourceEvent(const QString &source) override;
|
2013-09-04 11:48:06 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|