My Project
Loading...
Searching...
No Matches
ExpandableFilterWidgetInterface.h
1
/*
2
* Copyright (C) 2016 Canonical, Ltd.
3
*
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation; version 3.
7
*
8
* This program is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU General Public License for more details.
12
*
13
* You should have received a copy of the GNU General Public License
14
* along with this program. If not, see <http://www.gnu.org/licenses/>.
15
*/
16
17
#ifndef UNITY_SHELL_SCOPES_EXPANDABLEFILTERWIDGETINTERFACE_H
18
#define UNITY_SHELL_SCOPES_EXPANDABLEFILTERWIDGETINTERFACE_H
19
20
#include <unity/SymbolExport.h>
21
22
#include "FilterBaseInterface.h"
23
#include "FiltersInterface.h"
24
25
namespace
unity
26
{
27
namespace
shell
28
{
29
namespace
scopes
30
{
31
32
class
UNITY_API
ExpandableFilterWidgetInterface
:
public
FilterBaseInterface
33
{
34
Q_OBJECT
35
36
public
:
37
Q_PROPERTY(
unity::shell::scopes::FiltersInterface
* filters READ filters CONSTANT)
38
39
FiltersInterface::FilterType filterType()
const override
40
{
41
return
FiltersInterface::ExpandableFilterWidget;
42
}
43
44
virtual
FiltersInterface
* filters()
const
= 0;
45
46
protected
:
48
explicit
ExpandableFilterWidgetInterface
(QObject* parent = 0) :
FilterBaseInterface
(parent) {}
50
};
51
52
}
53
54
}
55
}
56
57
Q_DECLARE_METATYPE(
unity::shell::scopes::ExpandableFilterWidgetInterface
*)
58
59
#endif
unity::shell::scopes::ExpandableFilterWidgetInterface
Definition
ExpandableFilterWidgetInterface.h:33
unity::shell::scopes::FilterBaseInterface
Definition
FilterBaseInterface.h:31
unity::shell::scopes::FiltersInterface
Definition
FiltersInterface.h:32
unity
Top-level namespace for all things Unity-related.
Definition
Version.h:38
include
unity
shell
scopes
ExpandableFilterWidgetInterface.h
Generated on Fri Apr 12 2024 23:42:36 for My Project by
1.9.8