BluezQt

declarativeinput.h
1 /*
2  * BluezQt - Asynchronous BlueZ wrapper library
3  *
4  * SPDX-FileCopyrightText: 2015 David Rosca <[email protected]>
5  *
6  * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
7  */
8 
9 #ifndef DECLARATIVEINPUT_H
10 #define DECLARATIVEINPUT_H
11 
12 #include "input.h"
13 
14 class DeclarativeInput : public QObject
15 {
16  Q_OBJECT
17  Q_PROPERTY(BluezQt::Input::ReconnectMode reconnectMode READ reconnectMode NOTIFY reconnectModeChanged)
18 
19 public:
20  explicit DeclarativeInput(const BluezQt::InputPtr &input, QObject *parent = nullptr);
21 
22  BluezQt::Input::ReconnectMode reconnectMode() const;
23 
24 Q_SIGNALS:
25  void reconnectModeChanged(BluezQt::Input::ReconnectMode mode);
26 
27 private:
28  BluezQt::InputPtr m_input;
29 };
30 
31 #endif // DECLARATIVEINPUT_H
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
ReconnectMode
Reconnect mode.
Definition: input.h:33
Q_SIGNALSQ_SIGNALS
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Sun Sep 25 2022 04:19:10 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.