src/types.h

changeset 3
d0b278fd29d5
parent 1
c9b22c06307c
child 6
67b6ef6917ba
equal deleted inserted replaced
2:1d544788a8b3 3:d0b278fd29d5
2 #define TYPES_H 2 #define TYPES_H
3 3
4 #include "main.h" 4 #include "main.h"
5 #include <QString> 5 #include <QString>
6 #include <QList> 6 #include <QList>
7 #include <QVariant>
7 8
8 typedef QString str; 9 typedef QString str;
9 typedef QChar qchar; 10 typedef QChar qchar;
11 typedef QVariant var;
10 template<class T> using list = QList<T>; 12 template<class T> using list = QList<T>;
11 typedef unsigned int uint; 13 typedef unsigned int uint;
12 typedef unsigned short ushort; 14 typedef unsigned short ushort;
13 typedef unsigned long ulong; 15 typedef unsigned long ulong;
14 template<class T> using initlist = std::initializer_list<T>; 16 template<class T> using initlist = std::initializer_list<T>;

mercurial