1 | /* |
2 | SPDX-FileCopyrightText: 2014 Alejandro Fiestas Olivares <afiestas@kde.org> |
3 | |
4 | SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL |
5 | */ |
6 | |
7 | #ifndef BLUEZQT_JOB_PRIVATE |
8 | #define BLUEZQT_JOB_PRIVATE |
9 | |
10 | #include "job.h" |
11 | |
12 | class QEventLoop; |
13 | |
14 | namespace BluezQt |
15 | { |
16 | class JobPrivate |
17 | { |
18 | public: |
19 | JobPrivate(); |
20 | |
21 | Job *q_ptr; |
22 | int error; |
23 | QString errorText; |
24 | bool running; |
25 | bool finished; |
26 | bool killed; |
27 | QEventLoop *eventLoop; |
28 | |
29 | Q_DECLARE_PUBLIC(Job) |
30 | }; |
31 | |
32 | } // namespace BluezQt |
33 | |
34 | #endif // BLUEZQT_JOB_PRIVATE |
35 | |