My Project
NotificationInterface.h
1
/*
2
* Copyright 2013 Canonical Ltd.
3
*
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU Lesser 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 Lesser General Public License for more details.
12
*
13
* You should have received a copy of the GNU Lesser General Public License
14
* along with this program. If not, see <http://www.gnu.org/licenses/>.
15
*
16
* Authors:
17
* MichaĆ Sawicz <michal.sawicz@canonical.com>
18
*/
19
20
21
#ifndef LOMIRI_SHELL_NOTIFICATIONS_NOTIFICATIONINTERFACE_H
22
#define LOMIRI_SHELL_NOTIFICATIONS_NOTIFICATIONINTERFACE_H
23
24
#include <lomiri/SymbolExport.h>
25
26
#include <QtCore/QObject>
27
28
namespace
lomiri
29
{
30
31
namespace
shell
32
{
33
34
namespace
notifications
35
{
36
44
class
LOMIRI_API
NotificationInterface
:
public
QObject
45
{
46
Q_OBJECT
47
48
protected
:
50
explicit
NotificationInterface
(QObject* parent = 0) : QObject(parent) { }
52
53
public
:
54
virtual
~
NotificationInterface
() { }
55
56
Q_SIGNALS:
62
void
hovered(
bool
hovered);
63
69
void
displayed(
bool
displayed);
70
76
void
dismissed();
77
83
void
actionInvoked(
const
QString&
id
);
84
};
85
86
}
// namespace notifications
87
88
}
// namespace shell
89
90
}
// namespace lomiri
91
92
#endif // LOMIRI_SHELL_NOTIFICATIONS_NOTIFICATIONINTERFACE_H
lomiri::shell::notifications::NotificationInterface
A Notification object.
Definition:
NotificationInterface.h:44
lomiri
Top-level namespace for all things Lomiri-related.
Definition:
Version.h:37
include
lomiri
shell
notifications
NotificationInterface.h
Generated on Sun Apr 19 2020 08:09:06 for My Project by
1.8.17