Lomiri Download Manager
0.1.1
A session-wide downloading service
Loading...
Searching...
No Matches
pending_call_watcher.h
Go to the documentation of this file.
1
/*
2
* Copyright 2014 Canonical Ltd.
3
*
4
* This library is free software; you can redistribute it and/or
5
* modify it under the terms of version 3 of the GNU Lesser General Public
6
* License as published by the Free Software Foundation.
7
*
8
* This program is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
* General Public License for more details.
12
*
13
* You should have received a copy of the GNU Lesser General Public
14
* License along with this library; if not, write to the
15
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16
* Boston, MA 02110-1301, USA.
17
*/
18
19
#ifndef LOMIRI_DOWNLOADMANAGER_CLIENT_PENDING_CALL_WATCHER_H
20
#define LOMIRI_DOWNLOADMANAGER_CLIENT_PENDING_CALL_WATCHER_H
21
22
#include <lomiri/transfers/visibility.h>
23
#include <QDBusConnection>
24
#include <QDBusPendingCallWatcher>
25
#include <QObject>
26
27
namespace
Lomiri
{
28
29
namespace
DownloadManager {
30
31
class
LOMIRI_TRANSFERS_PRIVATE PendingCallWatcher :
public
QDBusPendingCallWatcher {
32
Q_OBJECT
33
34
public
:
35
PendingCallWatcher(
const
QDBusConnection& conn,
36
const
QString& servicePath,
37
const
QDBusPendingCall& call,
38
QObject
* parent = 0);
39
40
signals:
41
void
callbackExecuted();
42
43
protected
:
44
QDBusConnection _conn;
45
QString _servicePath;
46
};
47
48
}
// DownloadManager
49
50
}
// Lomiri
51
52
#endif
// PENDING_CALL_WATCHER_H
QObject
Lomiri
Definition
download.h:26
src
downloads
client
lomiri
download_manager
pending_call_watcher.h
Generated on Tue Jan 16 2024 00:00:00 for Lomiri Download Manager by
1.10.0