summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qbluetoothserver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bluetooth/qbluetoothserver.cpp')
-rw-r--r--src/bluetooth/qbluetoothserver.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/bluetooth/qbluetoothserver.cpp b/src/bluetooth/qbluetoothserver.cpp
index 5a5144d1..9cbec283 100644
--- a/src/bluetooth/qbluetoothserver.cpp
+++ b/src/bluetooth/qbluetoothserver.cpp
@@ -1,6 +1,7 @@
/****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
+** Copyright (C) 2013 BlackBerry Limited. All rights reserved.
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtBluetooth module of the Qt Toolkit.
@@ -251,6 +252,16 @@ int QBluetoothServer::maxPendingConnections() const
Returns the Bluetooth security flags.
*/
+/*!
+ \fn QBluetooth::ServerType QBluetoothServer::serverType() const
+ Returns the server type of the QBluetoothServer.
+*/
+QBluetoothServer::ServerType QBluetoothServer::serverType() const
+{
+ Q_D(const QBluetoothServer);
+ return d->serverType;
+}
+
#include "moc_qbluetoothserver.cpp"
QT_END_NAMESPACE