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

SolidModules

bluez-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     Copyright (C) 2008 Tom Patzig <tpatzig@suse.de>
00005 
00006 
00007     This library is free software; you can redistribute it and/or
00008     modify it under the terms of the GNU Library General Public
00009     License version 2 as published by the Free Software Foundation.
00010 
00011     This library is distributed in the hope that it will be useful,
00012     but WITHOUT ANY WARRANTY; without even the implied warranty of
00013     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014     Library General Public License for more details.
00015 
00016     You should have received a copy of the GNU Library General Public License
00017     along with this library; see the file COPYING.LIB.  If not, write to
00018     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00019     Boston, MA 02110-1301, USA.
00020 
00021 */
00022 
00023 #ifndef BLUEZ_BLUETOOTHINPUTDEVICE_H
00024 #define BLUEZ_BLUETOOTHINPUTDEVICE_H
00025 
00026 #include <kdemacros.h>
00027 #include <QMap>
00028 #include <QtDBus>
00029 
00030 #include <solid/control/ifaces/bluetoothinputdevice.h>
00031 
00032 class QDBusInterface;
00033 
00034 class KDE_EXPORT BluezBluetoothInputDevice : public Solid::Control::Ifaces::BluetoothInputDevice
00035 {
00036     Q_OBJECT
00037     Q_INTERFACES(Solid::Control::Ifaces::BluetoothInputDevice)
00038 public:
00039     BluezBluetoothInputDevice(const QString &objectPath);
00040     virtual ~BluezBluetoothInputDevice();
00041     QString ubi() const;
00042     QMap<QString,QVariant> getProperties() const;
00043 
00044 private Q_SLOTS:
00045     void slotPropertyChanged(const QString &, const QDBusVariant &);
00046 
00047 
00048 public Q_SLOTS:
00049     void disconnect();
00050     void connect();
00051 
00052 Q_SIGNALS:
00053 
00054     void propertyChanged(const QString &, const QVariant &);
00055 
00056 private:
00057     QString m_objectPath;
00058     QDBusInterface *device;
00059 
00060     QString stringReply(const QString &method) const;
00061     bool boolReply(const QString &method) const;
00062 };
00063 
00064 #endif

SolidModules

Skip menu "SolidModules"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

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