File indexing completed on 2024-05-12 12:45:49
0001 #ifndef COMMUNICATOR_H 0002 #define COMMUNICATOR_H 0003 0004 #include <QObject> 0005 0006 class Communicator : public QObject 0007 { 0008 Q_OBJECT 0009 public: 0010 explicit Communicator(QObject *parent =nullptr); 0011 0012 public slots: 0013 static void attachEmail(const QStringList &urls); 0014 static void email(const QString &to, const QString &cc, const QString &bcc, const QString &subject, const QString &body, const QString &messageFile = "", const QStringList &urls = {}); 0015 static void call(const QString &tel); 0016 static void sendSMS(const QString &tel, const QString &subject, const QString &body); 0017 signals: 0018 0019 }; 0020 0021 #endif // COMMUNICATOR_H