1
0
Fork 0
forked from blue/squawk

transition to QXMppCarbonManagerV2 if QXmpp version is heigher than 1.5.0

This commit is contained in:
Blue 2023-03-12 01:38:54 +03:00
parent 4b68da458f
commit 8ec0af3205
Signed by untrusted user: blue
GPG key ID: 9B203B252A63EE38
5 changed files with 28 additions and 2 deletions

View file

@ -52,8 +52,10 @@ public:
public slots:
void onMessageReceived(const QXmppMessage& message);
#if (QXMPP_VERSION) < QT_VERSION_CHECK(1, 5, 0)
void onCarbonMessageReceived(const QXmppMessage& message);
void onCarbonMessageSent(const QXmppMessage& message);
#endif
void onReceiptReceived(const QString& jid, const QString& id);
void onUploadSlotReceived(const QXmppHttpUploadSlotIq& slot);
void onUploadSlotRequestFailed(const QXmppHttpUploadRequestIq& request);