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

libsolidcontrol

bluetoothinputdevice.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_CONTROL_BLUETOOTHINPUTDEVICE_H
00023 #define SOLID_CONTROL_BLUETOOTHINPUTDEVICE_H
00024 
00025 #include <QtCore/QObject>
00026 
00027 #include "solid_control_export.h"
00028 
00029 namespace Solid
00030 {
00031 namespace Control
00032 {
00033 class BluetoothInputDevicePrivate;
00034 
00038 class SOLIDCONTROL_EXPORT BluetoothInputDevice : public QObject
00039 {
00040     Q_OBJECT
00041 
00042 public:
00048     BluetoothInputDevice(QObject *backendObject = 0);
00049 
00055     BluetoothInputDevice(const BluetoothInputDevice &device);
00056 
00060     ~BluetoothInputDevice();
00061 
00068     BluetoothInputDevice &operator=(const BluetoothInputDevice &device);
00069 
00076     QString ubi() const;
00077 
00083     bool isConnected() const;
00084 
00090     QString address() const;
00091 
00097     QString name() const;
00098 
00104     QString productID() const;
00105 
00111     QString vendorID() const;
00112 
00113 
00114 public Q_SLOTS:
00118     void slotConnect();
00119 
00123     void slotDisconnect();
00124 
00125 
00126 Q_SIGNALS:
00130     void connected();
00131 
00135     void disconnected();
00136 
00137 private:
00138     Q_PRIVATE_SLOT(d, void _k_destroyed(QObject *))
00139 
00140     BluetoothInputDevicePrivate * const d;
00141 };
00142 
00143 } //Control
00144 
00145 } //Solid
00146 
00147 //Q_DECLARE_OPERATORS_FOR_FLAGS(Solid::Control::BluetoothInputDevice::Capabilities)
00148 
00149 #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