forked from mkottman/lqt
/
qtemplates.lua
29 lines (28 loc) · 1.19 KB
/
qtemplates.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
return {
-- example usage:
--
-- ["ex<T>"] = { "ex<double>", "ex<string>" }
-- module = { ["ex2<K,V>"] = { "example<char*, int>" } }
qtcore = {
["QList<T>"] = { "QList<QString>", "QList<QFileInfo>", "QList<QVariant>",
"QList<QModelIndex>", "QList<int>", "QList<QUrl>" },
},
qtgui = {
["QList<T>"] = { "QList<QGraphicsItem*>", "QList<int>", "QList<qreal>",
"QList<QModelIndex>", "QList<QSize>", "QList<QPolygonF>", "QList<QKeySequence>",
"QList<QUrl>", "QList<QRectF>", "QList<QImageTextKeyLang>", "QList<QTableWidgetItem*>",
"QList<QAction*>" },
["QVector<T>"] = { "QVector<QPointF>", "QVector<QPoint>", "QVector<QRgb>", "QVector<QLine>",
"QVector<QRectF>", "QVector<QRect>", "QVector<QTextLength>", "QVector<QGradientStop>",
"QVector<qreal>", "QVector<QColor>", "QVector<QTextFormat>", "QVector<QLineF>" },
},
qtnetwork = {
["QList<T>"] = { "QList<QSslError>", "QList<QSslCertificate>", "QList<QNetworkCookie>",
"QList<QSslCipher>", "QList<QNetworkAddressEntry>", "QList<QNetworkProxy>",
"QList<QHostAddress>", "QList<QUrl>", "QList<QModelIndex>" }
},
qtsql = {
["QList<T>"] = { "QList<QModelIndex>", "QList<QUrl>" },
["QVector<T>"] = { "QVector<QVariant>" },
},
}