Commit 2ef2532b authored by Tobias Hunger's avatar Tobias Hunger Committed by hjk

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: default avatarLeena Miettinen <riitta-leena.miettinen@nokia.com>
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent 2359fe36
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment