blob: 7abc748ab73a8a43fb72c7e92edd95bb94800b64 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#pragma once
#include <QObject>
#include <deltachat.h>
class DcEvent : public QObject {
Q_OBJECT
Q_PROPERTY(int id READ getId CONSTANT)
Q_PROPERTY(int data1 READ getData1Int CONSTANT)
Q_PROPERTY(uint32_t accountId READ getAccountId CONSTANT)
dc_event_t *m_event;
public:
explicit DcEvent(QObject *parent = nullptr);
explicit DcEvent(dc_event_t *event);
~DcEvent();
int getId();
int getData1Int();
int getData2Int();
QString getData2Str();
uint32_t getAccountId();
};
|