summaryrefslogtreecommitdiffstats
path: root/src/testlib/qtestelement.h
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-06-04 13:27:17 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2009-06-04 13:28:43 (GMT)
commit0d47438a75bef93ac15aba011d7bf931791e32f9 (patch)
tree0d5441d1a4ddd197984baf8f23897e993fb6996a /src/testlib/qtestelement.h
parent7eb85cdd2a507b6fa1f8023b26f8b34e2fe6f2c4 (diff)
downloadQt-0d47438a75bef93ac15aba011d7bf931791e32f9.zip
Qt-0d47438a75bef93ac15aba011d7bf931791e32f9.tar.gz
Qt-0d47438a75bef93ac15aba011d7bf931791e32f9.tar.bz2
Fix headers in the XUnit feature.
All Qt headers must have QT_BEGIN_HEADER, QT_END_HEADER and QT_MODULE. These headers didn't have this. Reviewed-by: TrustMe
Diffstat (limited to 'src/testlib/qtestelement.h')
-rw-r--r--src/testlib/qtestelement.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/testlib/qtestelement.h b/src/testlib/qtestelement.h
index c1932da..e75689a 100644
--- a/src/testlib/qtestelement.h
+++ b/src/testlib/qtestelement.h
@@ -42,10 +42,14 @@
#ifndef QTESTELEMENT_H
#define QTESTELEMENT_H
-#include "qtestcoreelement.h"
+#include <QtTest/qtestcoreelement.h>
+
+QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
+QT_MODULE(Test)
+
class QTestElement: public QTestCoreElement<QTestElement>
{
public:
@@ -66,4 +70,6 @@ class QTestElement: public QTestCoreElement<QTestElement>
QT_END_NAMESPACE
+QT_END_HEADER
+
#endif