2
* Copyright (C) 2011, 2013 Canonical, Ltd.
5
* Florian Boucault <florian.boucault@canonical.com>
6
* Pawel Stolowski <pawel.stolowski@canonical.com>
8
* This program is free software; you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License as published by
10
* the Free Software Foundation; version 3.
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
17
* You should have received a copy of the GNU General Public License
18
* along with this program. If not, see <http://www.gnu.org/licenses/>.
21
#ifndef RADIOOPTIONFILTER_H
22
#define RADIOOPTIONFILTER_H
29
#include <UnityCore/RadioOptionFilter.h>
33
#include "filteroption.h"
34
#include "signalslist.h"
36
class Q_DECL_EXPORT RadioOptionFilter : public Filter
41
explicit RadioOptionFilter(QObject *parent = nullptr);
44
GenericOptionsModel* options() const override;
47
void setUnityFilter(unity::dash::Filter::Ptr filter) override;
50
unity::dash::RadioOptionFilter::Ptr m_unityRadioOptionFilter;
51
GenericOptionsModel* m_options;
52
SignalsList m_signals;
54
void onOptionsChanged(unity::dash::RadioOptionFilter::RadioOptions);
57
Q_DECLARE_METATYPE(RadioOptionFilter*)
59
#endif // RADIOOPTIONFILTER_H