1 2 3 4 5 6 7 8 9 10 11 12 13
#pragma once #include <QObject> class DcNotifications: public QObject { Q_OBJECT public: explicit DcNotifications(QObject *parent = nullptr); //explicit DcEvent(dc_event_t *event); //~DcNotifications(); Q_INVOKABLE void send(QString event, QString pfpPath, QString title, QString message); };