aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/api/tst_api.h
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@qt.io>2016-11-30 16:39:20 -0800
committerJoerg Bornemann <joerg.bornemann@qt.io>2017-01-04 10:41:49 +0000
commit00a3f9a3ba44dda2257a226c620f7cfcdc3a62a8 (patch)
treeed8115eb9810288ab3d76bebd0c0c36e8b5d72cd /tests/auto/api/tst_api.h
parent1b01fd8d1b7729ebeb071fe1cec6dd65256f132e (diff)
Change style of #includes of Qt headers
By using q<lowercase>.h headers, we become more bootstrap-friendly, as no full syncqt is required any more. In the same go, prefix all includes with the module name. This helps grep-based analysis of which parts of Qt are used and where. It's also consistent with Qt's public headers (where syncqt enforces the style). Testdata and examples are excluded from the change, as they are not relevant for bootstrapping. Change-Id: I9539b1d795e87fca6e5fc6c91acbb775b79208d9 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'tests/auto/api/tst_api.h')
-rw-r--r--tests/auto/api/tst_api.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/api/tst_api.h b/tests/auto/api/tst_api.h
index c3912f825..b2ebbc336 100644
--- a/tests/auto/api/tst_api.h
+++ b/tests/auto/api/tst_api.h
@@ -31,8 +31,8 @@
#include <tools/buildoptions.h>
-#include <QObject>
-#include <QVariant>
+#include <QtCore/qobject.h>
+#include <QtCore/qvariant.h>
namespace qbs {
class ErrorInfo;