plasma-framework/examples/dataengines/sourcesOnRequest/sourcesOnRequest.h

25 lines
505 B
C
Raw Normal View History

2013-09-04 11:48:06 +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:
bool sourceRequestEvent(const QString &source) override;
bool updateSourceEvent(const QString &source) override;
2013-09-04 11:48:06 +02:00
};
#endif