1 #ifndef SENDSMSSESSION_H
2 #define SENDSMSSESSION_H
6 #include "tpsession/tpsession.h"
7 #include "tpsession/tpsessionaccount.h"
9 class SendSMSSession : public QObject
13 SendSMSSession( bool sync = false, QObject *parent = 0);
15 void setSMSToSend( QString addr,QString msg );
16 void setSMSToSend( QStringList addrs,QStringList msgs );
26 QStringList addresses;
33 void smsSent( QString msg, QString addr );
34 void smsSent( QString msg );
37 void onAccountReady(TpSessionAccount *);
38 void onSMSSent(const Tp::Message &,TpSessionAccount *);
39 void onMessageReceived(const Tp::ReceivedMessage &,TpSessionAccount *);
43 #endif // SENDSMSSESSION_H