diff options
Diffstat (limited to 'doc/src/examples')
-rw-r--r-- | doc/src/examples/bluetoothtransferplugin.qdoc | 2 | ||||
-rw-r--r-- | doc/src/examples/btchat.qdoc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/examples/bluetoothtransferplugin.qdoc b/doc/src/examples/bluetoothtransferplugin.qdoc index fb055812..6025aa37 100644 --- a/doc/src/examples/bluetoothtransferplugin.qdoc +++ b/doc/src/examples/bluetoothtransferplugin.qdoc @@ -32,7 +32,7 @@ This example shows how to write a service plugin for the \l{Qt Service Framework}{Service Framework}. \section1 Registering the Service - The service can be registered by using the function \l{QServiceManager::}{addService()}, this takes a path to the XML file that describes the service, \i{bluetoothtransferservice.xml}. + The service can be registered by using the function \l{QServiceManager::}{addService()}, this takes a path to the XML file that describes the service, \li{bluetoothtransferservice.xml}. \section1 Writing the Plugin To implement a plugin it is necessary to create a new plugin class derived from QObject and QServicePluginInterface. The function QServicePluginInterface::createInstance() is implemented to return the appropriate instantiated object based on the interface name passed into the function. Since there is only one interface name for this example there is no test involved, so we can simply create the object implementing the service and return its pointer. diff --git a/doc/src/examples/btchat.qdoc b/doc/src/examples/btchat.qdoc index ed318619..b40417ec 100644 --- a/doc/src/examples/btchat.qdoc +++ b/doc/src/examples/btchat.qdoc @@ -118,7 +118,7 @@ \snippet ../examples/btchat/chatclient.h declaration The client creates a new QBluetoothSocket and connects to the remote service described by the - \i remoteService parameter. Slots are connected to the sockets readyRead(), connected() and + \e remoteService parameter. Slots are connected to the sockets readyRead(), connected() and disconnected() signals. \snippet ../examples/btchat/chatclient.cpp startClient |