2
Copyright (C) 2010 Alejandro Fiestas Olivares <alex@ufocoders.com>
3
Copyright (C) 2010 Rafael Fernández López <ereslibre@kde.org>
5
This program is free software: you can redistribute it and/or modify
6
it under the terms of the GNU General Public License as published by
7
the Free Software Foundation, either version 3 of the License, or
8
(at your option) any later version.
10
This program 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
13
GNU General Public License for more details.
15
You should have received a copy of the GNU General Public License
16
along with this program. If not, see <http://www.gnu.org/licenses/>.
23
#include <QtCore/QMultiMap>
25
#include <kstatusnotifieritem.h>
35
using namespace BlueDevil;
38
: public KStatusNotifierItem
43
Monolithic(QObject* parent = 0);
52
void noAdapters(Adapter *adapter);
55
void generateDeviceEntries();
65
void browseTriggered();
67
void connectTriggered();
68
void disconnectTriggered();
69
void propertyChanged(const QString &key, const QDBusVariant &value);
70
void UUIDsChanged(const QStringList &UUIDs);
71
void addDevice(Device *device);
72
void removeDevice(Device *device);
79
QMap<void*, KAction*> m_interfaceMap;
80
QAction *m_noKnownDevices;
81
QList<QAction*> m_actions;
82
QAction *m_lastAction;
85
Q_DECLARE_METATYPE(Monolithic::EntryInfo)
87
#endif // MONOLITHIC_H