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>; |