summaryrefslogtreecommitdiffstats
path: root/tests/arthur/common/paintcommands.h
diff options
context:
space:
mode:
authoraavit <qt-info@nokia.com>2010-09-08 11:29:43 (GMT)
committeraavit <qt-info@nokia.com>2010-09-08 11:29:43 (GMT)
commit6d4003b0fd742ee2be2e536091d5b65d72d01ce0 (patch)
tree05dc0d1e7bd694cc4630d44317954bcb3e55b5e9 /tests/arthur/common/paintcommands.h
parent1743a8bea43066c52cf07f6c8a859c3d9ddb65da (diff)
downloadQt-6d4003b0fd742ee2be2e536091d5b65d72d01ce0.zip
Qt-6d4003b0fd742ee2be2e536091d5b65d72d01ce0.tar.gz
Qt-6d4003b0fd742ee2be2e536091d5b65d72d01ce0.tar.bz2
Shave 25% off test time by smarter qps script parsing
Diffstat (limited to 'tests/arthur/common/paintcommands.h')
-rw-r--r--tests/arthur/common/paintcommands.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/arthur/common/paintcommands.h b/tests/arthur/common/paintcommands.h
index aed4840..4d966b8 100644
--- a/tests/arthur/common/paintcommands.h
+++ b/tests/arthur/common/paintcommands.h
@@ -48,6 +48,7 @@
#include <qstringlist.h>
#include <qpixmap.h>
#include <qbrush.h>
+#include <qhash.h>
QT_FORWARD_DECLARE_CLASS(QPainter)
QT_FORWARD_DECLARE_CLASS(QRegExp)
@@ -329,6 +330,7 @@ public:
static QList<PaintCommandInfos> s_commandInfoTable;
static QList<QPair<QString,QStringList> > s_enumsTable;
+ static QMultiHash<QString, int> s_commandHash;
};
#endif // PAINTCOMMANDS_H