3
* KDE Control Center Module for managing Bluetooth linkkeys
5
* Copyright (C) 2003 Fred Schaettgen <kdebluetooth@schaettgen.de>
6
* Copyright (C) 2006 Daniel Gollub <dgollub@suse.de>
9
* This file is part of kcm_btpaired.
11
* libkbluetooth is free software; you can redistribute it and/or modify
12
* it under the terms of the GNU General Public License as published by
13
* the Free Software Foundation; either version 2 of the License, or
14
* (at your option) any later version.
16
* libkbluetooth is distributed in the hope that it will be useful,
17
* but WITHOUT ANY WARRANTY; without even the implied warranty of
18
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
* GNU General Public License for more details.
21
* You should have received a copy of the GNU General Public License
22
* along with libkbluetooth; if not, write to the Free Software
23
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
31
#include "pairedtabbase.h"
33
#include <qdatastream.h>
34
#include <qstringlist.h>
35
#include <qdatetime.h>
39
#include "exportdialog.h"
41
#include <libkbluetooth/dbusinit.h>
42
#include <libkbluetooth/dbusfilter.h>
43
#include <libkbluetooth/adapter.h>
44
#include <libkbluetooth/manager.h>
45
#include <libkbluetooth/service.h>
49
class FileSettingsBase;
51
using namespace KBluetooth;
54
@author Fred Schaettgen
56
class PairedTab : public PairedTabBase
60
PairedTab(QWidget *parent, const char* name);
73
QListViewItem *listViewItem;
75
std::vector<PairingInfo> pairingList;
76
std::vector<Service*> ServiceList;
85
static DBusHandlerResult filterFunction(DBusConnection *conn, DBusMessage *msg, void *data);
87
static PairedTab *_ctx;
89
ExportDialog *exportBondingDialog;
94
void getDetails(const char*,Adapter&);
95
void getServiceList(Adapter&);
96
void getBondingList(Adapter&);
101
void slotListChanged();
102
void slotRemovePairing();
103
void slotRemoveTrust();
104
void slotSelectionChanged();
105
void slotExportBonding();