BluezQt

initobexmanagerjob.h
1/*
2 * BluezQt - Asynchronous BlueZ wrapper library
3 *
4 * SPDX-FileCopyrightText: 2014-2015 David Rosca <nowrep@gmail.com>
5 *
6 * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
7 */
8
9#ifndef BLUEZQT_INITOBEXMANAGERJOB_H
10#define BLUEZQT_INITOBEXMANAGERJOB_H
11
12#include "bluezqt_export.h"
13#include "job.h"
14
15namespace BluezQt
16{
17class ObexManager;
18
19/**
20 * @class BluezQt::InitObexManagerJob initobexmanagerjob.h <BluezQt/InitObexManagerJob>
21 *
22 * Init obex manager job.
23 *
24 * This class represents a job that initializes ObexManager.
25 */
27{
28 Q_OBJECT
29 Q_PROPERTY(ObexManager *manager READ manager)
30
31public:
32 /**
33 * Destroys an InitObexManagerJob object.
34 */
35 ~InitObexManagerJob() override;
36
37 /**
38 * Returns a manager that is being initialized.
39 *
40 * @return manager
41 */
42 ObexManager *manager() const;
43
44Q_SIGNALS:
45 /**
46 * Indicates that the job have finished.
47 */
49
50private:
52
53 void doStart() override;
54 void doEmitResult() override;
55
56 std::unique_ptr<class InitObexManagerJobPrivate> const d;
57
58 friend class InitObexManagerJobPrivate;
59 friend class ObexManager;
60};
61
62} // namespace BluezQt
63
64#endif // BLUEZQT_INITOBEXMANAGERJOB_H
void result(InitObexManagerJob *job)
Indicates that the job have finished.
This class represents an asynchronous job performed by BluezQt, it is usually not used directly but i...
Definition job.h:47
OBEX manager.
Definition obexmanager.h:40
D-Bus request.
Definition request.h:39
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:13:51 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.