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 */
26class BLUEZQT_EXPORT InitObexManagerJob : public Job
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:
51 BLUEZQT_NO_EXPORT explicit InitObexManagerJob(ObexManager *manager);
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
Init obex manager job.
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...
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:46:08 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.