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

libsolidcontrol

Solid::Control::BluetoothAuthorizationAgent

Solid::Control::BluetoothAuthorizationAgent Class Reference

#include <bluetoothsecurity.h>

Inheritance diagram for Solid::Control::BluetoothAuthorizationAgent:

Inheritance graph
[legend]

List of all members.


Detailed Description

This is the interface a class must implement to act as an Authorization Agent.

An Authorization Agent handles requests to access local services from a remote device.

Definition at line 105 of file bluetoothsecurity.h.


Public Slots

virtual bool authorize (const QString &localUbi, const QString &remoteAddress, const QString &serviceUuid)=0
virtual void cancel (const QString &localUbi, const QString &remoteAddress, const QString &serviceUuid)=0

Public Member Functions

 BluetoothAuthorizationAgent (QObject *parent)

Constructor & Destructor Documentation

Solid::Control::BluetoothAuthorizationAgent::BluetoothAuthorizationAgent ( QObject *  parent  ) 

Used to keep the QObject deletion chain working.

Parameters:
parent The parent of this object that will take care of deletion.

Definition at line 133 of file bluetoothsecurity.cpp.


Member Function Documentation

virtual bool Solid::Control::BluetoothAuthorizationAgent::authorize ( const QString &  localUbi,
const QString &  remoteAddress,
const QString &  serviceUuid 
) [pure virtual, slot]

This method gets called when the bluetooth system wants to get an authorization for accessing a local service.

Parameters:
localUbi Universal Bluetooth Identifier of the local device providing the service
remoteAddress of the remote device that wants to use our services
serviceUuid Universal unique identifier for the local service
Returns:
whether the remote device is authorized to use the local service.

virtual void Solid::Control::BluetoothAuthorizationAgent::cancel ( const QString &  localUbi,
const QString &  remoteAddress,
const QString &  serviceUuid 
) [pure virtual, slot]

Cancels the currently active authorization request for the given local/remote device.

Parameters:
localUbi Universal Bluetooth Identifier of the local device providing the service
remoteAddress of the remote device that wanted to use our services but canceled before completion.
serviceUuid Universal unique identifier for the local service


The documentation for this class was generated from the following files:
  • bluetoothsecurity.h
  • bluetoothsecurity.cpp

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