Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions codeless banner

QBluetoothReply Class Reference
[QtBluetoothModule]

The QBluetoothReply class is a wrapper object that contains a reply, and an error indicator. More...

    #include <QBluetoothReply>

Public Functions


Detailed Description

The QBluetoothReply class is a wrapper object that contains a reply, and an error indicator.

This object represents a return value of a method call. It contains the return value or the error code and is used by the Bluetooth classes to allow returning the result value or an error condition as the function's return argument.


Member Function Documentation

QBluetoothReply::QBluetoothReply ( const T & value )

Constructs a QBluetoothReply object from a valid value of Type Type. The reply will be valid, and the value will represent the returned value.

See also isError().

QBluetoothReply::QBluetoothReply ()

Constructs a QBluetoothReply object with an error condition set.

See also isError().

bool QBluetoothReply::isError () const

Returns whether a reply is an error condition. The class returning the error condition should be queried for the actual error that has occurred.

See also value().

const T & QBluetoothReply::value () const

Returns the reply return value. If the reply is an error, the return value of this function is undefined and may be undistinguishable from a valid return value.

See also isError().

QBluetoothReply::operator const T & () const

Convenience method, same as value()


Copyright © 2009 Trolltech Trademarks
Qt Extended 4.4.3