diff options
author | Kai Koehne <kai.koehne@qt.io> | 2017-09-12 16:07:42 +0200 |
---|---|---|
committer | Kai Koehne <kai.koehne@qt.io> | 2017-10-04 09:31:18 +0000 |
commit | b7c16e4f454804929be6ed6ec7053b66822d8463 (patch) | |
tree | 10b40fb22c32a82078014eff64b626f6e2fc7d0a /examples/assistant/remotecontrol | |
parent | ec3712ba8fc968a153f2e85b4f2654bb377dfd00 (diff) |
Assistant Examples: Unify #include style
Change-Id: I72c419123e27e06ae30fa2042fb8bb6ddbab9da4
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Diffstat (limited to 'examples/assistant/remotecontrol')
-rw-r--r-- | examples/assistant/remotecontrol/main.cpp | 5 | ||||
-rw-r--r-- | examples/assistant/remotecontrol/remotecontrol.cpp | 15 | ||||
-rw-r--r-- | examples/assistant/remotecontrol/remotecontrol.h | 5 |
3 files changed, 13 insertions, 12 deletions
diff --git a/examples/assistant/remotecontrol/main.cpp b/examples/assistant/remotecontrol/main.cpp index 3652e6251..3ab883268 100644 --- a/examples/assistant/remotecontrol/main.cpp +++ b/examples/assistant/remotecontrol/main.cpp @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2016 The Qt Company Ltd. +** Copyright (C) 2017 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the examples of the Qt Toolkit. @@ -48,9 +48,10 @@ ** ****************************************************************************/ -#include <QtWidgets/QApplication> #include "remotecontrol.h" +#include <QApplication> + int main(int argc, char *argv[]) { Q_INIT_RESOURCE(remotecontrol); diff --git a/examples/assistant/remotecontrol/remotecontrol.cpp b/examples/assistant/remotecontrol/remotecontrol.cpp index 3ee8bb27d..916a08efd 100644 --- a/examples/assistant/remotecontrol/remotecontrol.cpp +++ b/examples/assistant/remotecontrol/remotecontrol.cpp @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2016 The Qt Company Ltd. +** Copyright (C) 2017 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the examples of the Qt Toolkit. @@ -48,15 +48,14 @@ ** ****************************************************************************/ -#include <QtCore/QDir> -#include <QtCore/QProcess> -#include <QtCore/QTextStream> -#include <QtCore/QLibraryInfo> - -#include <QtWidgets/QMessageBox> - #include "remotecontrol.h" +#include <QDir> +#include <QLibraryInfo> +#include <QMessageBox> +#include <QProcess> +#include <QTextStream> + RemoteControl::RemoteControl(QWidget *parent, Qt::WindowFlags flags) : QMainWindow(parent, flags) { diff --git a/examples/assistant/remotecontrol/remotecontrol.h b/examples/assistant/remotecontrol/remotecontrol.h index 16a9f9441..5054f59f8 100644 --- a/examples/assistant/remotecontrol/remotecontrol.h +++ b/examples/assistant/remotecontrol/remotecontrol.h @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2016 The Qt Company Ltd. +** Copyright (C) 2017 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the examples of the Qt Toolkit. @@ -51,9 +51,10 @@ #ifndef REMOTECONTROL_H #define REMOTECONTROL_H -#include <QtWidgets/QMainWindow> #include "ui_remotecontrol.h" +#include <QMainWindow> + QT_BEGIN_NAMESPACE class QProcess; QT_END_NAMESPACE; |