#ifndef VOCASTI_MAIN_H_ #define VOCASTI_MAIN_H_ #include #include #include #include class VocaXmppClient : public QXmppClient { Q_OBJECT public: VocaXmppClient(QObject *parent = nullptr); ~VocaXmppClient() override; private slots: void messageReceived(const QXmppMessage &); void callConnected(); void callReceived(QXmppCall *call); void callStarted(QXmppCall *call); void callFinished(); protected: int setupPipe(); QXmppCall *m_call; QXmppCallManager m_callManager; QTimer m_timer; }; #endif // VOCASTI_MAIN_H_