• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

libsolidcontrol

bluetoothremotedevice.h

Go to the documentation of this file.
00001 /*  This file is part of the KDE project
00002     Copyright (C) 2007 Will Stephenson <wstephenson@kde.org>
00003     Copyright (C) 2007 Daniel Gollub <dgollub@suse.de>
00004 
00005 
00006     This library is free software; you can redistribute it and/or
00007     modify it under the terms of the GNU Library General Public
00008     License version 2 as published by the Free Software Foundation.
00009 
00010     This library is distributed in the hope that it will be useful,
00011     but WITHOUT ANY WARRANTY; without even the implied warranty of
00012     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013     Library General Public License for more details.
00014 
00015     You should have received a copy of the GNU Library General Public License
00016     along with this library; see the file COPYING.LIB.  If not, write to
00017     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00018     Boston, MA 02110-1301, USA.
00019 
00020 */
00021 
00022 #ifndef SOLID_IFACES_BLUETOOTHREMOTEDEVICE
00023 #define SOLID_IFACES_BLUETOOTHREMOTEDEVICE
00024 
00025 #include <QtCore/QObject>
00026 #include <QtCore/QStringList>
00027 #include "../solid_control_export.h"
00028 
00029 class KJob;
00030 
00031 namespace Solid
00032 {
00033 namespace Control
00034 {
00035 namespace Ifaces
00036 {
00040 class SOLIDCONTROLIFACES_EXPORT BluetoothRemoteDevice : public QObject
00041 {
00042     Q_OBJECT
00043 public:
00049     BluetoothRemoteDevice(QObject *parent = 0);
00050 
00054     virtual ~BluetoothRemoteDevice();
00055 
00062     virtual QString ubi() const = 0;
00063 
00069     virtual QString address() const = 0;
00070 
00071 
00077     virtual bool isConnected() const = 0;
00078 
00085     virtual QString version() const = 0;
00086 
00092     virtual QString revision() const = 0;
00093 
00099     virtual QString manufacturer() const = 0;
00100 
00106     virtual QString company() const = 0;
00107 
00114     virtual QString majorClass() const = 0;
00115 
00122     virtual QString minorClass() const = 0;
00123 
00130     virtual QStringList serviceClasses() const = 0;
00137     virtual QString name() const = 0;
00138 
00148     virtual QString alias() const = 0;
00149 
00156     virtual QString lastSeen() const = 0;
00157 
00164     virtual QString lastUsed() const = 0;
00165 
00171     virtual bool hasBonding() const = 0;
00172 
00178     virtual int pinCodeLength() const = 0;
00179 
00185     virtual int encryptionKeySize() const = 0;
00186 
00192     virtual KJob *createBonding() = 0;
00193 
00194 
00195 public Q_SLOTS:
00201     virtual void setAlias(const QString &alias) = 0;
00202 
00206     virtual void clearAlias() = 0;
00207 
00211     virtual void disconnect() = 0;
00212 
00216     virtual void cancelBondingProcess() = 0;
00217 
00221     virtual void removeBonding() = 0;
00231     virtual void serviceHandles(const QString &filter) const = 0;
00241     virtual void serviceRecordAsXml(uint handle) const = 0;
00242 Q_SIGNALS:
00248     virtual void classChanged(uint deviceClass) = 0;
00249 
00255     virtual void nameChanged(const QString &name) = 0;
00256 
00260     virtual void nameResolvingFailed() = 0;
00261 
00267     virtual void aliasChanged(const QString &alias) = 0;
00268 
00272     virtual void aliasCleared() = 0;
00273 
00277     virtual void connected() = 0;
00278 
00282     virtual void requestDisconnection() = 0;
00283 
00287     virtual void disconnected() = 0;
00288 
00292     virtual void bondingCreated() = 0;
00293 
00297     virtual void bondingRemoved() = 0;
00301     virtual void serviceRecordXmlAvailable(const QString &ubi, const QString &record) = 0;
00305     virtual void serviceHandlesAvailable(const QString &ubi, const QList<uint> &handles) = 0;
00306 };
00307 
00308 } // Ifaces
00309 
00310 } // Control
00311 
00312 } // Solid
00313 
00314 Q_DECLARE_INTERFACE(Solid::Control::Ifaces::BluetoothRemoteDevice, "org.kde.Solid.Control.Ifaces.BluetoothRemoteDevice/0.1")
00315 
00316 #endif

libsolidcontrol

Skip menu "libsolidcontrol"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • KWin
  •   KWin Libraries
  • Libraries
  •   libkworkspace
  •   libplasma
  •   libsolidcontrol
  •   libtaskmanager
  • Plasma
  •   Animators
  •   Applets
  •   Engines
  • Solid Modules
Generated for API Reference by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal