From 16837bf1f16d877e1f58e98ba88d599eb128762f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kai=20K=C3=B6hne?= Date: Fri, 5 Jan 2024 08:12:46 +0100 Subject: Examples: Use Qt's canonical CamelCase headers These are the names also given in the online documentation, so let's use them in the examples. Pick-to: 6.7 Change-Id: Ia10af880a0f2495094a5eb626b568da670e2848d Reviewed-by: Ivan Solovev --- examples/nfc/annotatedurl/annotatedurl.cpp | 32 +++++++++++++++--------------- examples/nfc/annotatedurl/annotatedurl.h | 8 ++++---- examples/nfc/annotatedurl/main.cpp | 8 ++++---- examples/nfc/annotatedurl/mainwindow.cpp | 12 ++++++----- examples/nfc/annotatedurl/mainwindow.h | 5 +++-- 5 files changed, 34 insertions(+), 31 deletions(-) (limited to 'examples/nfc') diff --git a/examples/nfc/annotatedurl/annotatedurl.cpp b/examples/nfc/annotatedurl/annotatedurl.cpp index c3cfec0e..33d5109e 100644 --- a/examples/nfc/annotatedurl/annotatedurl.cpp +++ b/examples/nfc/annotatedurl/annotatedurl.cpp @@ -2,22 +2,22 @@ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause #include "annotatedurl.h" -#include -#include -#include - -#include -#include - -#include -#include -#include -#include -#include -#include - -#include -#include +#include +#include +#include + +#include +#include + +#include +#include +#include +#include +#include +#include + +#include +#include AnnotatedUrl::AnnotatedUrl(QObject *parent) : QObject(parent), diff --git a/examples/nfc/annotatedurl/annotatedurl.h b/examples/nfc/annotatedurl/annotatedurl.h index 887e82d5..95404e55 100644 --- a/examples/nfc/annotatedurl/annotatedurl.h +++ b/examples/nfc/annotatedurl/annotatedurl.h @@ -4,11 +4,11 @@ #ifndef ANNOTATEDURL_H #define ANNOTATEDURL_H -#include -#include -#include +#include +#include +#include -#include +#include QT_FORWARD_DECLARE_CLASS(QNearFieldTarget) QT_FORWARD_DECLARE_CLASS(QPixmap) diff --git a/examples/nfc/annotatedurl/main.cpp b/examples/nfc/annotatedurl/main.cpp index 199d7c7c..352a959b 100644 --- a/examples/nfc/annotatedurl/main.cpp +++ b/examples/nfc/annotatedurl/main.cpp @@ -4,11 +4,11 @@ #include "annotatedurl.h" #include "mainwindow.h" -#include -#include -#include +#include +#include +#include -#include +#include //! [0] int main(int argc, char *argv[]) diff --git a/examples/nfc/annotatedurl/mainwindow.cpp b/examples/nfc/annotatedurl/mainwindow.cpp index 233c7fb5..7b418360 100644 --- a/examples/nfc/annotatedurl/mainwindow.cpp +++ b/examples/nfc/annotatedurl/mainwindow.cpp @@ -3,11 +3,13 @@ #include "mainwindow.h" -#include -#include -#include -#include -#include +#include + +#include +#include + +#include +#include MainWindow::MainWindow(QWidget *parent) : QWidget(parent), diff --git a/examples/nfc/annotatedurl/mainwindow.h b/examples/nfc/annotatedurl/mainwindow.h index 13c214ac..059c7038 100644 --- a/examples/nfc/annotatedurl/mainwindow.h +++ b/examples/nfc/annotatedurl/mainwindow.h @@ -4,8 +4,9 @@ #ifndef MAINWINDOW_H #define MAINWINDOW_H -#include -#include +#include + +#include QT_FORWARD_DECLARE_CLASS(QMouseEvent) QT_FORWARD_DECLARE_CLASS(QUrl) -- cgit v1.2.3