qredisclient
redisclient.h
1 #pragma once
2 
3 #include "command.h"
4 #include "connection.h"
5 #include "connectionconfig.h"
6 #include "response.h"
7 #include <QObject>
8 #include <QVector>
9 #include <QByteArray>
10 
11 inline void initRedisClient()
12 {
13  qRegisterMetaType<RedisClient::Command>("Command");
14  qRegisterMetaType<RedisClient::Command>("RedisClient::Command");
15  qRegisterMetaType<RedisClient::Response>("Response");
16  qRegisterMetaType<RedisClient::Response>("RedisClient::Response");
17  qRegisterMetaType<QVector<QVariant*>>("QVector<QVariant*>");
18  qRegisterMetaType<QVariant*>("QVariant*");
19 }