KPeople 5.109.0
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
15class QString;
16class QObject;
17class QAction;
18namespace KPeople
19{
20Q_NAMESPACE_EXPORT(KPEOPLEWIDGETS_EXPORT)
21class PersonData;
22
29enum ActionType {
30 TextChatAction,
31 AudioCallAction,
32 VideoCallAction,
33 SendEmailAction,
34 SendFileAction,
35 OtherAction = 100,
36};
37Q_ENUM_NS(ActionType)
38
39
43KPEOPLEWIDGETS_EXPORT QList<QAction *> actionsForPerson(const QString &contactUri, QObject *parent);
44}
45
46#endif // KPEOPLEWIDGETS_ACTIONS_H