• Skip to content
  • Skip to link menu
KDE 4.2 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();
00060     virtual QMap<QString,QVariant> getProperties() const = 0;
00067     virtual void discoverServices(const QString &pattern) const = 0;
00073     virtual QStringList listNodes() const = 0;
00077     virtual QString ubi() const = 0;
00078 
00079 
00080 public Q_SLOTS:
00087     virtual void setProperty(const QString &name, const QVariant &value) = 0;
00091     virtual void cancelDiscovery() = 0;
00095     virtual void disconnect() = 0;
00096 
00097 
00098 
00099 Q_SIGNALS:
00106     virtual void serviceDiscoverAvailable(const QString &status, const QMap<uint,QString> &services) = 0;
00113     virtual void propertyChanged(const QString &name, const QVariant &value) = 0;
00117     virtual void disconnectRequested() = 0;
00118 
00119 
00120 
00121 };
00122 
00123 } // Ifaces
00124 
00125 } // Control
00126 
00127 } // Solid
00128 
00129 Q_DECLARE_INTERFACE(Solid::Control::Ifaces::BluetoothRemoteDevice, "org.kde.Solid.Control.Ifaces.BluetoothRemoteDevice/0.1")
00130 
00131 #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
  •   libsolidcontrol
  •   libtaskmanager
  • Plasma
  •   Animators
  •   Applets
  •   Engines
  • Solid Modules
Generated for API Reference by doxygen 1.5.7
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