summaryrefslogtreecommitdiff
path: root/src/location/places/qplacemanager.h
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2022-07-27 21:56:03 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2022-07-28 09:42:52 +0200
commit4cc11a0e593d1415c4055c4cca1964478e178fcf (patch)
tree87d863b486d9b0675a2db7f568e3d5530466db8a /src/location/places/qplacemanager.h
parentd861d509ec2b87bd5d85bffb21d2bb0c6a151ce7 (diff)
downloadqtlocation-4cc11a0e593d1415c4055c4cca1964478e178fcf.tar.gz
Clean up includes
Get rid of unnecessary includes in most public, and some private headers. Forward declare what we have to, and include headers where needed in the implementation and test files. Pick-to: 6.2 Change-Id: I7924e865b9d4ad9f8c8670605b59d5530346106e Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/location/places/qplacemanager.h')
-rw-r--r--src/location/places/qplacemanager.h25
1 files changed, 13 insertions, 12 deletions
diff --git a/src/location/places/qplacemanager.h b/src/location/places/qplacemanager.h
index 90e2884d..d8802e2b 100644
--- a/src/location/places/qplacemanager.h
+++ b/src/location/places/qplacemanager.h
@@ -40,28 +40,29 @@
#ifndef QPLACEMANAGER_H
#define QPLACEMANAGER_H
-#include <QtLocation/QPlaceContentReply>
-#include <QtLocation/QPlaceContentRequest>
-#include <QtLocation/QPlaceIdReply>
#include <QtLocation/QPlaceReply>
-#include <QtLocation/QPlaceDetailsReply>
-#include <QtLocation/QPlaceMatchReply>
-#include <QtLocation/QPlaceMatchRequest>
-#include <QtLocation/QPlaceSearchSuggestionReply>
-#include <QtLocation/QPlaceSearchRequest>
-#include <QtLocation/QPlaceSearchResult>
-
-#include <QtCore/QLocale>
+
#include <QtCore/QList>
#include <QtCore/QString>
#include <QtCore/QObject>
-#include <QtLocation/QPlaceIcon>
QT_BEGIN_NAMESPACE
+class QLocale;
+class QPlace;
+class QPlaceCategory;
+class QPlaceContentReply;
+class QPlaceContentRequest;
+class QPlaceDetailsReply;
+class QPlaceIcon;
+class QPlaceIdReply;
class QPlaceManagerEngine;
+class QPlaceMatchReply;
+class QPlaceMatchRequest;
class QPlaceSearchRequest;
class QPlaceSearchReply;
+class QPlaceSearchResult;
+class QPlaceSearchSuggestionReply;
class Q_LOCATION_EXPORT QPlaceManager : public QObject
{