1 /* This file is part of the KDE project
2 Copyright (C) 2006 Kevin Ottens <ervin@kde.org>
3 Copyright (C) 2007 Daniel Gollub <dgollub@suse.de>
6 This library is free software; you can redistribute it and/or
7 modify it under the terms of the GNU Library General Public
8 License version 2 as published by the Free Software Foundation.
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Library General Public License for more details.
15 You should have received a copy of the GNU Library General Public License
16 along with this library; see the file COPYING.LIB. If not, write to
17 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 Boston, MA 02110-1301, USA.
22 #ifndef BLUEZCALLJOB_H
23 #define BLUEZCALLJOB_H
26 #include <QtDBus/QDBusConnection>
27 #include <QtDBus/QDBusMessage>
31 class BluezCallJob
: public KJob
35 BluezCallJob(const QDBusConnection
&connection
, const QString
&dest
,
36 const QString
&path
, const QString
&interface
, const QString
&methodName
,
37 const QList
<QVariant
> ¶ms
);
38 virtual ~BluezCallJob();
41 void kill(bool quietly
);
45 void callError(const QDBusError
&error
);
46 void callReply(const QDBusMessage
&reply
);
49 QDBusConnection m_connection
;
54 QList
<QVariant
> m_params
;