1
/***************************************************************************
2
* Copyright (C) 2010 Alejandro Fiestas Olivares <alex@eyeos.org> *
3
* Copyright (C) 2010 Eduardo Robles Elvira <edulix@gmail.com> *
4
* Copyright (C) 2010 UFO Coders <info@ufocoders.com> *
6
* This program is free software; you can redistribute it and/or modify *
7
* it under the terms of the GNU General Public License as published by *
8
* the Free Software Foundation; either version 2 of the License, or *
9
* (at your option) any later version. *
11
* This program 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 *
14
* GNU General Public License for more details. *
16
* You should have received a copy of the GNU General Public License *
17
* along with this program; if not, write to the *
18
* Free Software Foundation, Inc., *
19
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
20
***************************************************************************/
25
#include <QtCore/QObject>
28
* @short Small class which send a KNotificaton to know if the Bluetooth device is authorized or not
29
* A popup KNotification is send with 3 actions, trust accept and reject.
30
* Trust set the remote device as trusted (using libbluedevil remote device) and quits with 0
31
* Authorize quits the app with 0 (which means authorized).
32
* Deny quits the app with 1 (which means denied)
42
* Launch the KNotification which the respective actions, also makes the needed connection
43
* between those actions and the slots
49
* Mark the remote device as trust and quit the application as success
54
* Quits the application as success
59
* Quits the application as error