Update coding style

Since Qt modules are changing between Qt4 and Qt5 we no longer
include them when including Qt headers.

Change-Id: I3ed8649faa20b7f7bcd4180c79219f24fdbba026
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com>
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
Tobias Hunger
2012-05-11 10:20:42 +02:00
committed by hjk
parent 2359fe3610
commit 2ef2532bf6
+3 -2
View File
@@ -658,14 +658,15 @@
\list
\o Use the following format to include Qt headers:
\c{#include <QtCore/QWhatEver>}.
\c{#include <QWhatEver>}. Do not include the module as it might have changed between
Qt4 and Qt5.
\o Arrange includes in an order that goes from specific to generic to
ensure that the headers are self-contained. For example:
\list
\o \c{#include "myclass.h"}
\o \c{#include "otherclassinplugin.h"}
\o \c{#include <otherplugin/someclass.h>}
\o \c{#include <QtModule/QtClass>}
\o \c{#include <QtClass>}
\o \c{#include <stdthing>}
\o \c{#include <system.h>}
\endlist