1 /* This file is part of the KDE project
2 Copyright (C) 2007 Will Stephenson <wstephenson@kde.org>
3 Copyright (C) 2007 Daniel Gollub <dgollub@suse.de>
4 Copyright (C) 2008 Tom Patzig <tpatzig@suse.de>
7 This library is free software; you can redistribute it and/or
8 modify it under the terms of the GNU Library General Public
9 License version 2 as published by the Free Software Foundation.
11 This library is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 Library General Public License for more details.
16 You should have received a copy of the GNU Library General Public License
17 along with this library; see the file COPYING.LIB. If not, write to
18 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 Boston, MA 02110-1301, USA.
23 #ifndef BLUEZ_BLUETOOTHINPUTDEVICE_H
24 #define BLUEZ_BLUETOOTHINPUTDEVICE_H
26 #include <kdemacros.h>
30 #include <solid/control/ifaces/bluetoothinputdevice.h>
34 class KDE_EXPORT BluezBluetoothInputDevice
: public Solid::Control::Ifaces::BluetoothInputDevice
37 Q_INTERFACES(Solid::Control::Ifaces::BluetoothInputDevice
)
39 BluezBluetoothInputDevice(const QString
&objectPath
);
40 virtual ~BluezBluetoothInputDevice();
42 QMap
<QString
,QVariant
> getProperties() const;
45 void slotPropertyChanged(const QString
&, const QDBusVariant
&);
54 void propertyChanged(const QString
&, const QVariant
&);
58 QDBusInterface
*device
;
60 QString
stringReply(const QString
&method
) const;
61 bool boolReply(const QString
&method
) const;