Home · All Classes · Grouped Classes · Annotated · Functions

ObexServiceManager Class Reference

The ObexServiceManager class is responsible for managing OBEX related services over Bluetooth and Infrared. More...

    #include <ObexServiceManager>

Inherits QObject.

Public Functions

Signals

Additional Inherited Members


Detailed Description

The ObexServiceManager class is responsible for managing OBEX related services over Bluetooth and Infrared.

ObexServiceManager provides and manages the Bluetooth OBEX Push service and the Infrared IrXfer server. It also provides a common infrastructure for these services, including user notification of files transferred and received.

This class is part of the Qtopia server and cannot be used by other Qtopia applications.


Member Function Documentation

ObexServiceManager::ObexServiceManager ( QObject * parent = 0 )

Constructs an ObexServiceManager. The parent argument contains the QObject parent.

ObexServiceManager::~ObexServiceManager ()

Destructor.

void ObexServiceManager::completed ( int id, bool error )   [signal]

This signal is emitted to report the completion of an operation. The id paramter contains the unique id of the request completed. The error paramter is set to true if the operation finished due to an error, and false otherwise.

void ObexServiceManager::progress ( int id, qint64 bytes, qint64 total )   [signal]

This signal is emitted to report progress of an operation. The id parameter contains the unique id of the request. The bytes paramter contains the number of bytes sent. The total contains the total number of bytes. If the total is not known, it will be set to 0.

void ObexServiceManager::receiveInitiated ( int id, const QString & filename, const QString & mime, const QString & description )   [signal]

This signal is sent whenever an object is being received. The id parameter contains a unique id of the request. The filename parameter contains the filename of the object being received. This filename will be in an incoming directory (the inbox.) The mime contains the mimetype of the object being received. The description contains the description of the object.

One can track the progress of the request by using the completed() and progress() signals.

See also completed() and progress().

void ObexServiceManager::sendInitiated ( int id, const QString & filename, const QString & mime )   [signal]

This signal is emitted whenever an object is being sent by the local device. The id paramter contains a unique id of the request. The filename parameter contains the filename of the object being send. The mime contains the mimetype of the object being received.

One can track the progress of the request by using the completed() and progress() signals.

See also completed() and progress().


Copyright © 2007 Trolltech Trademarks
Qtopia 4.3.0