KPeople
5.109.0
kpeople-9999_git1688827518
src
widgets
actions.h
1
/*
2
SPDX-FileCopyrightText: 2013 David Edmundson <davidedmundson@kde.org>
3
4
SPDX-License-Identifier: LGPL-2.1-or-later
5
*/
6
7
#ifndef KPEOPLEWIDGETS_ACTIONS_H
8
#define KPEOPLEWIDGETS_ACTIONS_H
9
10
#include <kpeople/widgets/kpeoplewidgets_export.h>
11
#include <qobjectdefs.h>
12
13
#include <QList>
14
15
class
QString;
16
class
QObject;
17
class
QAction;
18
namespace
KPeople
19
{
20
Q_NAMESPACE_EXPORT(KPEOPLEWIDGETS_EXPORT)
21
class
PersonData;
22
29
enum
ActionType {
30
TextChatAction,
31
AudioCallAction,
32
VideoCallAction,
33
SendEmailAction,
34
SendFileAction,
35
OtherAction = 100,
36
};
37
Q_ENUM_NS(ActionType)
38
39
43
KPEOPLEWIDGETS_EXPORT QList<QAction *> actionsForPerson(
const
QString &contactUri, QObject *parent);
44
}
45
46
#endif
// KPEOPLEWIDGETS_ACTIONS_H
Generated by
1.9.7