Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qlowenergyserviceprivate.cpp
Go to the documentation of this file.
1// Copyright (C) 2016 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
5
7
9
11 QSharedPointer_QLowEnergyServicePrivate)
12
14
16{
17}
18
20{
21 controller = control;
22
23 if (control)
25 else
27}
28
30{
31 lastError = newError;
32 emit errorOccurred(newError);
33}
34
36{
37 if (state == newState)
38 return;
39
42}
43
45
46#include "moc_qlowenergyserviceprivate_p.cpp"
void setController(QLowEnergyControllerPrivate *control)
QLowEnergyService::ServiceError lastError
void setError(QLowEnergyService::ServiceError newError)
QPointer< QLowEnergyControllerPrivate > controller
void stateChanged(QLowEnergyService::ServiceState newState)
void errorOccurred(QLowEnergyService::ServiceError error)
void setState(QLowEnergyService::ServiceState newState)
QLowEnergyService::ServiceState state
QLowEnergyServicePrivate(QObject *parent=nullptr)
ServiceError
This enum describes all possible error conditions during the service's existence.
ServiceState
This enum describes the \l state() of the service object.
\inmodule QtCore
Definition qobject.h:90
\inmodule QtCore
void newState(QList< State > &states, const char *token, const char *lexem, bool pre)
Combined button and popup list for selecting options.
#define QT_IMPL_METATYPE_EXTERN_TAGGED(TYPE, TAG)
Definition qmetatype.h:1363
#define emit
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent