blob: 5708c9f0fa6d45312ed6a106ffbf6915771c8f4b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#ifndef CLIENTUTILS_H
#define CLIENTUTILS_H
#include "QXmppPresence.h"
#include <QCryptographicHash>
#include <QBuffer>
#include <QImageReader>
int comparisonWeightsPresenceStatusType(QXmppPresence::Status::Type);
int comparisonWeightsPresenceType(QXmppPresence::Type);
QString presenceToStatusText(const QXmppPresence& presence);
QString getSettingsDir();
QString getImageHash(const QByteArray& image);
QImage getImageFromByteArray(const QByteArray& image);
QString getImageType1(const QByteArray& image);
#endif // CLIENTUTILS_H
|