not quite so much needs to be delayed to the init() function
[personal-kdebase.git] / workspace / solid / bluez / bluez-bluetoothmanager.h
blob380059ad68140c398e3b2a7b37c12e3aca2f3d96
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_BLUETOOTH_MANAGER_H
24 #define BLUEZ_BLUETOOTH_MANAGER_H
26 #include <QtDBus>
27 #include <QObject>
28 #include <qdbusextratypes.h>
29 #include <QStringList>
31 #include <kdemacros.h>
33 #include <solid/control/ifaces/bluetoothmanager.h>
35 //class BluezBluetoothSecurity;
36 class BluezBluetoothManagerPrivate;
37 class KDE_EXPORT BluezBluetoothManager : public Solid::Control::Ifaces::BluetoothManager
39 Q_OBJECT
41 public:
42 BluezBluetoothManager(QObject * parent, const QStringList & args);
43 virtual ~BluezBluetoothManager();
44 QStringList bluetoothInterfaces() const;
45 QObject * createInterface(const QString &);
46 void removeInterface(const QString& ubi);
47 // QStringList bluetoothInputDevices() const;
48 QString defaultInterface() const;
49 QString findInterface(const QString &) const;
51 // QObject * createBluetoothInputDevice(const QString &);
52 // KJob *setupInputDevice(const QString &);
53 // Solid::Control::Ifaces::BluetoothSecurity* security(const QString &interface);
54 public Q_SLOTS:
55 // void removeInputDevice(const QString &);
57 protected Q_SLOTS:
59 void slotDeviceAdded(const QDBusObjectPath &);
60 void slotDeviceRemoved(const QDBusObjectPath &);
61 void slotDefaultDeviceChanged(const QDBusObjectPath &);
63 // void slotInputDeviceCreated(const QString &);
64 // void slotInputDeviceRemoved(const QString &);
66 private:
67 BluezBluetoothManagerPrivate * d;
68 // QString m_inputManagerDest;
71 #endif