summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/compat.qdocconf31
-rw-r--r--doc/doc.pri14
-rw-r--r--doc/macros.qdocconf43
-rw-r--r--doc/qt-cpp-ignore.qdocconf106
-rw-r--r--doc/qt-defines.qdocconf18
-rw-r--r--doc/qt5-dita.qdocconf22
-rw-r--r--doc/qt5.qdocconf76
-rw-r--r--doc/src/index.qdoc41
-rw-r--r--doc/style/style.css137
-rw-r--r--qtconnectivity.pro2
-rw-r--r--src/bluetooth/qbluetooth.cpp9
11 files changed, 8 insertions, 491 deletions
diff --git a/doc/compat.qdocconf b/doc/compat.qdocconf
deleted file mode 100644
index 0b59629e..00000000
--- a/doc/compat.qdocconf
+++ /dev/null
@@ -1,31 +0,0 @@
-alias.i = e
-alias.include = input
-
-macro.0 = "\\\\0"
-macro.b = "\\\\b"
-macro.n = "\\\\n"
-macro.r = "\\\\r"
-macro.i = "\\o"
-macro.i11 = "\\o{1,1}"
-macro.i12 = "\\o{1,2}"
-macro.i13 = "\\o{1,3}"
-macro.i14 = "\\o{1,4}"
-macro.i15 = "\\o{1,5}"
-macro.i16 = "\\o{1,6}"
-macro.i17 = "\\o{1,7}"
-macro.i18 = "\\o{1,8}"
-macro.i19 = "\\o{1,9}"
-macro.i21 = "\\o{2,1}"
-macro.i31 = "\\o{3,1}"
-macro.i41 = "\\o{4,1}"
-macro.i51 = "\\o{5,1}"
-macro.i61 = "\\o{6,1}"
-macro.i71 = "\\o{7,1}"
-macro.i81 = "\\o{8,1}"
-macro.i91 = "\\o{9,1}"
-macro.img = "\\image"
-macro.endquote = "\\endquotation"
-macro.relatesto = "\\relates"
-
-spurious = "Missing comma in .*" \
- "Missing pattern .*"
diff --git a/doc/doc.pri b/doc/doc.pri
deleted file mode 100644
index 459e9baa..00000000
--- a/doc/doc.pri
+++ /dev/null
@@ -1,14 +0,0 @@
-OTHER_FILES += \
- $$PWD/qt5.qdocconf \
- $$PWD/qt5-dita.qdocconf
-
-docs_target.target = docs
-docs_target.commands = qdoc3 $$PWD/qt5.qdocconf
-
-ditadocs_target.target = ditadocs
-ditadocs_target.commands = qdoc3 $$PWD/qt5-dita.qdocconf
-
-QMAKE_EXTRA_TARGETS = docs_target ditadocs_target
-QMAKE_CLEAN += \
- "-r $$PWD/html" \
- "-r $$PWD/ditaxml"
diff --git a/doc/macros.qdocconf b/doc/macros.qdocconf
deleted file mode 100644
index ca458c15..00000000
--- a/doc/macros.qdocconf
+++ /dev/null
@@ -1,43 +0,0 @@
-macro.aacute.HTML = "á"
-macro.Aring.HTML = "Å"
-macro.aring.HTML = "å"
-macro.Auml.HTML = "Ä"
-macro.author = "\\bold{Author:}"
-macro.br.HTML = "<br />"
-macro.BR.HTML = "<br />"
-macro.copyright.HTML = "&copy;"
-macro.eacute.HTML = "&eacute;"
-macro.gui = "\\bold"
-macro.hr.HTML = "<hr />"
-macro.iacute.HTML = "&iacute;"
-macro.key = "\\bold"
-macro.menu = "\\bold"
-macro.note = "\\bold{Note:}"
-macro.oslash.HTML = "&oslash;"
-macro.ouml.HTML = "&ouml;"
-macro.QA = "Qt Assistant"
-macro.QC = "Creator"
-macro.QD = "Qt Designer"
-macro.QL = "Qt Linguist"
-macro.QMLD = "Qt Quick Designer"
-macro.QQV = "Qt QML Viewer"
-macro.QSDK = "Qt SDK"
-#macro.qtcversion = $QTC_VERSION
-macro.qtcversion = "0.0"
-macro.param = "\\e"
-macro.raisedaster.HTML = "<sup>*</sup>"
-macro.rarrow.HTML = "&rarr;"
-macro.reg.HTML = "<sup>&reg;</sup>"
-macro.return = "Returns"
-macro.starslash = "\\c{*/}"
-macro.begincomment = "\\c{/*}"
-macro.endcomment = "\\c{*/}"
-macro.uuml.HTML = "&uuml;"
-macro.mdash.HTML = "&mdash;"
-macro.pi.HTML = "&Pi;"
-
-macro.beginfloatleft.HTML = "<div style=\"float: left; margin-right: 2em\">"
-macro.beginfloatright.HTML = "<div style=\"float: right; margin-left: 2em\">"
-macro.endfloat.HTML = "</div>"
-macro.clearfloat.HTML = "<br style=\"clear: both\" />"
-macro.emptyspan.HTML = "<span></span>"
diff --git a/doc/qt-cpp-ignore.qdocconf b/doc/qt-cpp-ignore.qdocconf
deleted file mode 100644
index edc7c7c1..00000000
--- a/doc/qt-cpp-ignore.qdocconf
+++ /dev/null
@@ -1,106 +0,0 @@
-Cpp.ignoretokens = QAXFACTORY_EXPORT \
- QDESIGNER_COMPONENTS_LIBRARY \
- QDESIGNER_EXTENSION_LIBRARY \
- QDESIGNER_SDK_LIBRARY \
- QDESIGNER_SHARED_LIBRARY \
- QDESIGNER_UILIB_LIBRARY \
- QM_EXPORT_CANVAS \
- QM_EXPORT_DNS \
- QM_EXPORT_DOM \
- QM_EXPORT_FTP \
- QM_EXPORT_HTTP \
- QM_EXPORT_ICONVIEW \
- QM_EXPORT_NETWORK \
- QM_EXPORT_OPENGL \
- QM_EXPORT_OPENVG \
- QM_EXPORT_SQL \
- QM_EXPORT_TABLE \
- QM_EXPORT_WORKSPACE \
- QM_EXPORT_XML \
- QT_ASCII_CAST_WARN \
- QT_ASCII_CAST_WARN_CONSTRUCTOR \
- QT_BEGIN_HEADER \
- QT_DESIGNER_STATIC \
- QT_END_HEADER \
- QT_FASTCALL \
- QT_WIDGET_PLUGIN_EXPORT \
- Q_COMPAT_EXPORT \
- Q_CORE_EXPORT \
- Q_CORE_EXPORT_INLINE \
- Q_EXPLICIT \
- Q_EXPORT \
- Q_EXPORT_CODECS_CN \
- Q_EXPORT_CODECS_JP \
- Q_EXPORT_CODECS_KR \
- Q_EXPORT_PLUGIN \
- Q_GFX_INLINE \
- Q_AUTOTEST_EXPORT \
- Q_GUI_EXPORT \
- Q_GUI_EXPORT_INLINE \
- Q_GUI_EXPORT_STYLE_CDE \
- Q_GUI_EXPORT_STYLE_COMPACT \
- Q_GUI_EXPORT_STYLE_MAC \
- Q_GUI_EXPORT_STYLE_MOTIF \
- Q_GUI_EXPORT_STYLE_MOTIFPLUS \
- Q_GUI_EXPORT_STYLE_PLATINUM \
- Q_GUI_EXPORT_STYLE_POCKETPC \
- Q_GUI_EXPORT_STYLE_SGI \
- Q_GUI_EXPORT_STYLE_WINDOWS \
- Q_GUI_EXPORT_STYLE_WINDOWSXP \
- QHELP_EXPORT \
- Q_INLINE_TEMPLATE \
- Q_INTERNAL_WIN_NO_THROW \
- Q_LOCATION_EXPORT \
- Q_NETWORK_EXPORT \
- Q_OPENGL_EXPORT \
- Q_OPENVG_EXPORT \
- Q_OUTOFLINE_TEMPLATE \
- Q_SQL_EXPORT \
- Q_SVG_EXPORT \
- Q_SCRIPT_EXPORT \
- Q_SCRIPTTOOLS_EXPORT \
- Q_TESTLIB_EXPORT \
- Q_TYPENAME \
- Q_XML_EXPORT \
- Q_XMLSTREAM_EXPORT \
- Q_XMLPATTERNS_EXPORT \
- QDBUS_EXPORT \
- Q_DBUS_EXPORT \
- QT_BEGIN_NAMESPACE \
- QT_BEGIN_INCLUDE_NAMESPACE \
- QT_END_NAMESPACE \
- QT_END_INCLUDE_NAMESPACE \
- QTNFC_BEGIN_NAMESPACE \
- QTNFC_END_NAMESPACE \
- Q_NFC_EXPORT \
- QTBLUETOOTH_BEGIN_NAMESPACE \
- QTBLUETOOTH_END_NAMESPACE \
- Q_BLUETOOTH_EXPORT \
- PHONON_EXPORT \
- Q_DECLARATIVE_EXPORT \
- Q_GADGET \
- QWEBKIT_EXPORT \
- Q_INVOKABLE \
- Q_DECL_CONSTEXPR
-Cpp.ignoredirectives = Q_DECLARE_HANDLE \
- Q_DECLARE_INTERFACE \
- Q_DECLARE_METATYPE \
- Q_DECLARE_OPERATORS_FOR_FLAGS \
- Q_DECLARE_PRIVATE \
- Q_DECLARE_PUBLIC \
- Q_DECLARE_SHARED \
- Q_DECLARE_TR_FUNCTIONS \
- Q_DECLARE_TYPEINFO \
- Q_DISABLE_COPY \
- QT_FORWARD_DECLARE_CLASS \
- Q_DUMMY_COMPARISON_OPERATOR \
- Q_ENUMS \
- Q_FLAGS \
- Q_INTERFACES \
- __attribute__ \
- K_DECLARE_PRIVATE \
- PHONON_OBJECT \
- PHONON_HEIR \
- Q_PRIVATE_PROPERTY \
- Q_DECLARE_PRIVATE_D \
- Q_CLASSINFO
diff --git a/doc/qt-defines.qdocconf b/doc/qt-defines.qdocconf
deleted file mode 100644
index aaf935ac..00000000
--- a/doc/qt-defines.qdocconf
+++ /dev/null
@@ -1,18 +0,0 @@
-defines = Q_QDOC \
- QT_.*_SUPPORT \
- QT_.*_LIB \
- QT_COMPAT \
- QT_KEYPAD_NAVIGATION \
- QT_NO_EGL \
- QT3_SUPPORT \
- Q_WS_.* \
- Q_OS_.* \
- Q_BYTE_ORDER \
- QT_DEPRECATED \
- Q_NO_USING_KEYWORD \
- __cplusplus \
- Q_COMPILER_INITIALIZER_LISTS
-
-versionsym = QT_VERSION_STR
-
-codeindent = 1
diff --git a/doc/qt5-dita.qdocconf b/doc/qt5-dita.qdocconf
deleted file mode 100644
index e6f24dc3..00000000
--- a/doc/qt5-dita.qdocconf
+++ /dev/null
@@ -1,22 +0,0 @@
-# Name of the project.
-project = qtconnectivity
-
-# Directories in which to search for files to document and images.
-# By default set to the root directory of the project for sources
-# and headers and qdoc will therefore generate output for each file.
-# Images should be placed in <rootdir>/dic/images and examples in
-# <rootdir>/examples.
-# Paths are relative to the location of this file.
-exampledirs += .
-headerdirs += ..
-sourcedirs += ..
-
-
-
-#Do not change the variables after this line unless you know what you are doing.
-
-outputdir = ditaxml
-outputformats = DITAXML
-
-sources.fileextensions = "*.cpp *.qdoc *.mm *.qml"
-headers.fileextensions = "*.h *.ch *.h++ *.hh *.hpp *.hxx"
diff --git a/doc/qt5.qdocconf b/doc/qt5.qdocconf
deleted file mode 100644
index 138a7948..00000000
--- a/doc/qt5.qdocconf
+++ /dev/null
@@ -1,76 +0,0 @@
-# Name of the project.
-project = qtconnectivity
-
-include(qt-cpp-ignore.qdocconf)
-include(qt-defines.qdocconf)
-include(compat.qdocconf)
-include(macros.qdocconf)
-
-# Directories in which to search for files to document and images.
-# By default set to the root directory of the project for sources
-# and headers and qdoc will therefore generate output for each file.
-# Images should be placed in <rootdir>/dic/images and examples in
-# <rootdir>/examples.
-# Paths are relative to the location of this file.
-exampledirs += ../examples/ ../demos/
-headerdirs += ..
-imagedirs += src/images
-sourcedirs += ..
-excludedirs += ../tests
-
-# The following parameters are for creating a qhp file, the qhelpgenerator
-# program can convert the qhp file into a qch file which can be opened in
-# Qt Assistant and/or Qt Creator.
-
-# Defines the name of the project. You cannot use operators (+, =, -) in
-# the name. Properties for this project are set using a qhp.<projectname>.property
-# format.
-qhp.projects = qtconnectivity
-
-# Sets the name of the output qhp file.
-qhp.qtconnectivity.file = qtconnectivity.qhp
-
-# Namespace for the output file. This namespace is used to distinguish between
-# different documentation files in Creator/Assistant. Normal format for MP
-# projects should be: com.nokia.mp.<projectname>.version with version being
-# a number containing a major, minor and revision element. E.g. version 1.0
-# becomes 100.
-qhp.qtconnectivity.namespace = com.nokia.mp.qtconnectivity.100
-
-# Title for the package, will be the main title for the package in
-# Assistant/Creator.
-qhp.qtconnectivity.indexTitle = Qt Local Connectivity Reference Documentation
-
-# Extra files to add to the output which are not linked to from anywhere
-# using a qdoc \l command.
-qhp.qtconnectivity.extraFiles = style/style.css \
- index.html
-
-# Only update the name of the project for the next variables.
-qhp.qtconnectivity.virtualFolder = qdoc
-qhp.qtconnectivity.subprojects = classes
-qhp.qtconnectivity.subprojects.classes.title = Classes
-qhp.qtconnectivity.subprojects.classes.selectors = class fake:headerfile
-qhp.qtconnectivity.subprojects.classes.sortPages = true
-
-
-
-# Do NOT change the variables after this line unless you know what you are doing.
-
-outputdir = html
-outputformats = HTML
-
-examples.fileextensions = "*.cpp *.h *.js *.svg *.xml *.ui *.qml"
-examples.imageextensions = "*.png *.jpeg *.jpg *.gif *.mng"
-headers.fileextensions = "*.h *.ch *.h++ *.hh *.hpp *.hxx"
-sources.fileextensions = "*.cpp *.qdoc *.mm *.qml"
-
-HTML.nobreadcrumbs = "true"
-
-HTML.templatedir = .
-HTML.stylesheets = style/style.css
-
-HTML.headerstyles = " <link rel=\"stylesheet\" type=\"text/css\" href=\"style/style.css\" />\n"
-HTML.endheader = "</head>\n<body>\n"
-
-HTML.footer = "<div class=\"footer\">Copyright (c) 2011 Nokia Corporation and/or its subsidiaries. All rights reserved.</div>\n"
diff --git a/doc/src/index.qdoc b/doc/src/index.qdoc
deleted file mode 100644
index 2468b3ae..00000000
--- a/doc/src/index.qdoc
+++ /dev/null
@@ -1,41 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
-** All rights reserved.
-** Contact: Nokia Corporation (qt-info@nokia.com)
-**
-** This file is part of the documentation of the Qt local connectivty modules.
-**
-** $QT_BEGIN_LICENSE:FDL$
-** GNU Free Documentation License
-** Alternatively, this file may be used under the terms of the GNU Free
-** Documentation License version 1.3 as published by the Free Software
-** Foundation and appearing in the file included in the packaging of
-** this file.
-**
-** Other Usage
-** Alternatively, this file may be used in accordance with the terms
-** and conditions contained in a signed written agreement between you
-** and Nokia.
-**
-**
-**
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-/*!
-\title Overview
-\page index.html
-
-
-C++ classes in this project:
-
-\generatelist annotatedclasses
-
-QML classes in this project:
-
-\generatelist qmlclasses
-
-*/
diff --git a/doc/style/style.css b/doc/style/style.css
deleted file mode 100644
index df84049f..00000000
--- a/doc/style/style.css
+++ /dev/null
@@ -1,137 +0,0 @@
-a:link, a:visited {
- color: #00732F;
- text-decoration: none;
- font-weight: bold;
-}
-
-body {
- font: normal 400 14px/1.2 Arial;
- margin-top: 85px;
-}
-
-h1 {
- margin: 0;
-}
-
-h2 {
- font: 500 20px/1.2 Arial;
-}
-
-h3.fn, span.fn {
- -moz-border-radius: 7px 7px 7px 7px;
- -webkit-border-radius: 7px 7px 7px 7px;
- border-radius: 7px 7px 7px 7px;
- background-color: #F6F6F6;
- border-width: 1px;
- border-style: solid;
- border-color: #E6E6E6;
- word-spacing: 3px;
- padding: 3px 5px;
-}
-
-table, pre {
- -moz-border-radius: 7px 7px 7px 7px;
- -webkit-border-radius: 7px 7px 7px 7px;
- border-radius: 7px 7px 7px 7px;
- background-color: #F6F6F6;
- border: 1px solid #E6E6E6;
- border-collapse: separate;
- font-size: 12px;
- line-height: 1.2;
- margin-bottom: 25px;
- margin-left: 15px;
-}
-
-table td {
- padding: 3px 15px 3px 20px;
-}
-
-table tr.even {
- background-color: white;
- color: #66666E;
-}
-
-table tr.odd {
- background-color: #F6F6F6;
- color: #66666E;
-}
-
-li {
- margin-bottom: 10px;
- padding-left: 12px;
-}
-
-.cpp {
- display: block;
- margin: 10;
- overflow: hidden;
- overflow-x: hidden;
- overflow-y: hidden;
- padding: 20px 0 20px 0;
-}
-
-.footer {
- margin-top: 50px;
-}
-
-.memItemLeft {
- padding-right: 3px;
-}
-
-.memItemRight {
- padding: 3px 15px 3px 0;
-}
-
-.qml {
- display: block;
- margin: 10;
- overflow: hidden;
- overflow-x: hidden;
- overflow-y: hidden;
- padding: 20px 0 20px 0;
-}
-
-.qmldefault {
- padding-left: 5px;
- float: right;
- color: red;
-}
-
-.qmlreadonly {
- padding-left: 5px;
- float: right;
- color: #254117;
-}
-
-.rightAlign {
- padding: 3px 5px 3px 10px;
- text-align: right;
-}
-
-.title {
- background-color: white;
- color: #44A51C;
- font-family: Verdana;
- font-size: 35px;
- font-weight: normal;
- left: 0;
- padding-bottom: 5px;
- padding-left: 16px;
- padding-top: 20px;
- position: absolute;
- right: 0;
- top: 0;
-}
-
-.toc {
- float: right;
- -moz-border-radius: 7px 7px 7px 7px;
- -webkit-border-radius: 7px 7px 7px 7px;
- border-radius: 7px 7px 7px 7px;
- background-color: #F6F6F6;
- border: 1px solid #DDD;
- margin: 0 20px 10px 10px;
- padding: 20px 15px 20px 20px;
- height: auto;
- width: 200px;
-}
diff --git a/qtconnectivity.pro b/qtconnectivity.pro
index 312fa6c8..245fd603 100644
--- a/qtconnectivity.pro
+++ b/qtconnectivity.pro
@@ -1,8 +1,6 @@
TEMPLATE = subdirs
CONFIG += ordered
-include(doc/doc.pri)
-
module_qtconnectivity_src.subdir = src
module_qtconnectivity_src.target = module-qtconnectivity-src
diff --git a/src/bluetooth/qbluetooth.cpp b/src/bluetooth/qbluetooth.cpp
index 07bdba3c..6a817544 100644
--- a/src/bluetooth/qbluetooth.cpp
+++ b/src/bluetooth/qbluetooth.cpp
@@ -39,7 +39,11 @@
**
****************************************************************************/
-#include "qbluetooth.h"
+#include <QtBluetooth/qbluetooth.h>
+
+QT_BEGIN_NAMESPACE
+
+namespace QBluetooth {
/*!
\namespace QBluetooth
@@ -72,3 +76,6 @@
Legacy pairing is not permitted, Simple Pairing from Bluetooth 2.1 or
greater is required.
*/
+}
+
+QT_END_NAMESPACE