Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qgeouriprovider.h
Go to the documentation of this file.
1
// Copyright (C) 2015 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
#ifndef QGEO_MOBILE_COUNTRY_TRACKER_H
4
#define QGEO_MOBILE_COUNTRY_TRACKER_H
5
6
#include <QObject>
7
#include <QPointer>
8
9
QT_BEGIN_NAMESPACE
10
11
class
QNetworkInfo;
12
13
class
QGeoUriProvider
:
public
QObject
14
{
15
Q_OBJECT
16
Q_DISABLE_COPY(
QGeoUriProvider
)
17
18
public
:
19
QGeoUriProvider
(
QObject
*
parent
,
20
const
QVariantMap
¶meters,
21
const
QString
&hostParameterName,
22
const
QString
&internationalHost,
23
const
QString
&localizedHost =
QString
());
24
25
QString
getCurrentHost
()
const
;
26
27
private
Q_SLOTS
:
28
void
mobileCountryCodeChanged(
int
interfaceId,
const
QString
& mcc);
29
30
private
:
31
bool
isInternationalNetwork()
const
;
32
void
setCurrentHost(
const
QString
&host);
33
34
const
QString
m_internationalHost;
35
const
QString
m_localizedHost;
36
QString
m_currentHost;
37
QChar
m_firstSubdomain;
38
unsigned
char
m_maxSubdomains;
39
};
40
41
QT_END_NAMESPACE
42
43
#endif
// QGEO_MOBILE_COUNTRY_TRACKER_H
QChar
\inmodule QtCore
QGeoUriProvider
Definition
qgeouriprovider.h:14
QGeoUriProvider::getCurrentHost
QString getCurrentHost() const
Definition
qgeouriprovider.cpp:28
QGeoUriProvider::QGeoUriProvider
QGeoUriProvider(QObject *parent, const QVariantMap ¶meters, const QString &hostParameterName, const QString &internationalHost, const QString &localizedHost=QString())
Definition
qgeouriprovider.cpp:13
QMap< QString, QVariant >
QObject
\inmodule QtCore
Definition
qobject.h:103
QObject::parent
QObject * parent() const
Returns a pointer to the parent object.
Definition
qobject.h:346
QString
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition
qstring.h:129
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
Q_OBJECT
#define Q_OBJECT
Definition
qtmetamacros.h:119
Q_SLOTS
#define Q_SLOTS
Definition
qtmetamacros.h:44
qtlocation
src
plugins
geoservices
nokia
qgeouriprovider.h
Generated by
1.10.0