diff options
Diffstat (limited to 'tests/auto/qdoc/generatedoutput/testdata')
92 files changed, 0 insertions, 3293 deletions
diff --git a/tests/auto/qdoc/generatedoutput/testdata/bug80259/inc/testmodule/TestModule.h b/tests/auto/qdoc/generatedoutput/testdata/bug80259/inc/testmodule/TestModule.h deleted file mode 100644 index 06f046a71..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/bug80259/inc/testmodule/TestModule.h +++ /dev/null @@ -1,3 +0,0 @@ -#include "aaa.h" -#include "bbb.h" -#include "ccc.h" diff --git a/tests/auto/qdoc/generatedoutput/testdata/bug80259/inc/testmodule/aaa.h b/tests/auto/qdoc/generatedoutput/testdata/bug80259/inc/testmodule/aaa.h deleted file mode 100644 index dea5c1841..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/bug80259/inc/testmodule/aaa.h +++ /dev/null @@ -1,4 +0,0 @@ -#pragma once -class Third -{ -}; diff --git a/tests/auto/qdoc/generatedoutput/testdata/bug80259/inc/testmodule/bbb.h b/tests/auto/qdoc/generatedoutput/testdata/bug80259/inc/testmodule/bbb.h deleted file mode 100644 index ac3706e55..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/bug80259/inc/testmodule/bbb.h +++ /dev/null @@ -1,5 +0,0 @@ -#pragma once -struct First -{ - class Nested {}; -}; diff --git a/tests/auto/qdoc/generatedoutput/testdata/bug80259/inc/testmodule/ccc.h b/tests/auto/qdoc/generatedoutput/testdata/bug80259/inc/testmodule/ccc.h deleted file mode 100644 index d3a1557e1..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/bug80259/inc/testmodule/ccc.h +++ /dev/null @@ -1,4 +0,0 @@ -#pragma once -class Second -{ -}; diff --git a/tests/auto/qdoc/generatedoutput/testdata/bug80259/src/main.cpp b/tests/auto/qdoc/generatedoutput/testdata/bug80259/src/main.cpp deleted file mode 100644 index a8991e18f..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/bug80259/src/main.cpp +++ /dev/null @@ -1,54 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2019 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the tools applications of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ -/*! -\class First -\inmodule TestModule - -This is a first class -*/ - -/*! -\class First::Nested -\inmodule TestModule - -This is a nested class -*/ - -/*! -\class Second -\inmodule TestModule - -This is a second class -*/ - -/*! -\class Third -\inmodule TestModule - -This is a third class -*/ diff --git a/tests/auto/qdoc/generatedoutput/testdata/bug80259/src/qdoc/index.qdoc b/tests/auto/qdoc/generatedoutput/testdata/bug80259/src/qdoc/index.qdoc deleted file mode 100644 index 35ef7e087..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/bug80259/src/qdoc/index.qdoc +++ /dev/null @@ -1,7 +0,0 @@ -/*! - \page index.html - \title doc index - - \generatelist {classesbymodule TestModule} - -*/ diff --git a/tests/auto/qdoc/generatedoutput/testdata/bug80259/testmodule.qdocconf b/tests/auto/qdoc/generatedoutput/testdata/bug80259/testmodule.qdocconf deleted file mode 100644 index 97599d0be..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/bug80259/testmodule.qdocconf +++ /dev/null @@ -1,14 +0,0 @@ -include(../configs/config.qdocconf) -project = TestModule - -moduleheader = TestModule.h - -headerdirs = ./inc -sourcedirs = ./src -includepaths += ./inc/testmodule - -sources.fileextensions = "*.cpp *.qdoc" -headers.fileextensions = "*.h" - -outputdir = doc -outputformats = HTML diff --git a/tests/auto/qdoc/generatedoutput/testdata/bug80259/webxml_testmodule.qdocconf b/tests/auto/qdoc/generatedoutput/testdata/bug80259/webxml_testmodule.qdocconf deleted file mode 100644 index dc9234fbb..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/bug80259/webxml_testmodule.qdocconf +++ /dev/null @@ -1,2 +0,0 @@ -include(testmodule.qdocconf) -include(../configs/webxml.qdocconf) diff --git a/tests/auto/qdoc/generatedoutput/testdata/configs/config.qdocconf b/tests/auto/qdoc/generatedoutput/testdata/configs/config.qdocconf deleted file mode 100644 index 70129901c..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/configs/config.qdocconf +++ /dev/null @@ -1,14 +0,0 @@ -# Shared configuration for all tests - -sources.fileextensions = "*.qml *.cpp *.qdoc" -headers.fileextensions = "*.h" - -# images -imagedirs = ../images - -# zero warning policy -warninglimit = 0 -warninglimit.enabled = true - -# don't write host system-specific paths to index files -locationinfo = false diff --git a/tests/auto/qdoc/generatedoutput/testdata/configs/docbook.qdocconf b/tests/auto/qdoc/generatedoutput/testdata/configs/docbook.qdocconf deleted file mode 100644 index 68afd29e8..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/configs/docbook.qdocconf +++ /dev/null @@ -1,7 +0,0 @@ -outputformats = DocBook -DocBook.nosubdirs = true -DocBook.outputsubdir = docbook - -# TODO: DocBook generator has trouble handling shared comment nodes -# allow two warnings related to these -warninglimit = 2 diff --git a/tests/auto/qdoc/generatedoutput/testdata/configs/docbook_test.qdocconf b/tests/auto/qdoc/generatedoutput/testdata/configs/docbook_test.qdocconf deleted file mode 100644 index cf9880078..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/configs/docbook_test.qdocconf +++ /dev/null @@ -1,3 +0,0 @@ -include(config.qdocconf) -include(test.qdocconf) -include(docbook.qdocconf) diff --git a/tests/auto/qdoc/generatedoutput/testdata/configs/docbook_testcpp.qdocconf b/tests/auto/qdoc/generatedoutput/testdata/configs/docbook_testcpp.qdocconf deleted file mode 100644 index f2b714e00..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/configs/docbook_testcpp.qdocconf +++ /dev/null @@ -1,3 +0,0 @@ -include(config.qdocconf) -include(testcpp.qdocconf) -include(docbook.qdocconf) diff --git a/tests/auto/qdoc/generatedoutput/testdata/configs/docbook_testqml.qdocconf b/tests/auto/qdoc/generatedoutput/testdata/configs/docbook_testqml.qdocconf deleted file mode 100644 index 028690834..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/configs/docbook_testqml.qdocconf +++ /dev/null @@ -1,3 +0,0 @@ -include(config.qdocconf) -include(testqml.qdocconf) -include(docbook.qdocconf) diff --git a/tests/auto/qdoc/generatedoutput/testdata/configs/examples-qhp.qdocconf b/tests/auto/qdoc/generatedoutput/testdata/configs/examples-qhp.qdocconf deleted file mode 100644 index 4b9f86938..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/configs/examples-qhp.qdocconf +++ /dev/null @@ -1,40 +0,0 @@ -# QML test includes a documented example -include(config.qdocconf) -include(testqml.qdocconf) -version = 0.0.1 - -examplesinstallpath = test - -exampledirs += ../examples - -# Configure .qhp generation -qhp.projects = Test - -qhp.Test.file = test.qhp -qhp.Test.namespace = org.qt-project.test.001 -qhp.Test.virtualFolder = test -qhp.Test.indexTitle = UI Components -qhp.Test.indexRoot = - -qhp.Test.subprojects = test classes qmltypes undefined -qhp.Test.subprojects.test.title = Test -qhp.Test.subprojects.test.indexTitle = UI Components -qhp.Test.subprojects.test.selectors = doc:page fake:example module qmlmodule -qhp.Test.subprojects.test.sortPages = true - -qhp.Test.subprojects.classes.title = Classes -qhp.Test.subprojects.classes.indexTitle = QDoc Test C++ Classes -qhp.Test.subprojects.classes.selectors = class namespace doc:headerfile boop:whatever -qhp.Test.subprojects.classes.sortPages = true - -qhp.Test.subprojects.qmltypes.title = QML Types -qhp.Test.subprojects.qmltypes.indexTitle = UI Components -qhp.Test.subprojects.qmltypes.selectors = qmlmodule:UIComponents,QDoc.Test -qhp.Test.subprojects.qmltypes.sortPages = true - -# Add some meta-data to the example -manifestmeta.filters = test - -manifestmeta.test.names = * -manifestmeta.test.attributes = isTest:true -manifestmeta.test.tags = test diff --git a/tests/auto/qdoc/generatedoutput/testdata/configs/headerfile.qdocconf b/tests/auto/qdoc/generatedoutput/testdata/configs/headerfile.qdocconf deleted file mode 100644 index 9fa359b90..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/configs/headerfile.qdocconf +++ /dev/null @@ -1,11 +0,0 @@ -include(config.qdocconf) -project = HeaderFile -moduleheader = testheader.h - -{includepaths,sourcedirs,headerdirs} += ../headerfile - -outputformats = HTML DocBook -HTML.nosubdirs = true -HTML.outputsubdir = headerfile -DocBook.nosubdirs = true -DocBook.outputsubdir = headerfile-docbook diff --git a/tests/auto/qdoc/generatedoutput/testdata/configs/ignoresince.qdocconf b/tests/auto/qdoc/generatedoutput/testdata/configs/ignoresince.qdocconf deleted file mode 100644 index 019b15b3a..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/configs/ignoresince.qdocconf +++ /dev/null @@ -1,9 +0,0 @@ -include(config.qdocconf) -include(testcpp.qdocconf) -defines += test_ignoresince - -ignoresince = 2.0 -ignoresince.Test = 1.0 - -HTML.nosubdirs = true -HTML.outputsubdir = ignoresince diff --git a/tests/auto/qdoc/generatedoutput/testdata/configs/nestedmacro.qdocconf b/tests/auto/qdoc/generatedoutput/testdata/configs/nestedmacro.qdocconf deleted file mode 100644 index 056b30452..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/configs/nestedmacro.qdocconf +++ /dev/null @@ -1,10 +0,0 @@ -include(config.qdocconf) -include(testcpp.qdocconf) -defines += test_nestedmacro - -macro.ver = "5.15.0" -macro.ver.match = "^(\\d+\\.\\d+)" -macro.versionnote.HTML = "<p><b>This \1 was introduced in version \2.</b></p>\n" - -HTML.nosubdirs = true -HTML.outputsubdir = nestedmacro diff --git a/tests/auto/qdoc/generatedoutput/testdata/configs/noautolist.qdocconf b/tests/auto/qdoc/generatedoutput/testdata/configs/noautolist.qdocconf deleted file mode 100644 index 16824db0e..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/configs/noautolist.qdocconf +++ /dev/null @@ -1,14 +0,0 @@ -include(config.qdocconf) -include(testqml.qdocconf) -defines += test_noautolist - -outputformats = HTML DocBook - -HTML.nosubdirs = true -DocBook.nosubdirs = true -HTML.outputsubdir = noautolist -DocBook.outputsubdir = noautolist-docbook - -# TODO: DocBook generator has trouble handling shared comment nodes -# - allow two warnings related to these -warninglimit = 2 diff --git a/tests/auto/qdoc/generatedoutput/testdata/configs/properties.qdocconf b/tests/auto/qdoc/generatedoutput/testdata/configs/properties.qdocconf deleted file mode 100644 index 3fbdbef22..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/configs/properties.qdocconf +++ /dev/null @@ -1,13 +0,0 @@ -include(testcpp.qdocconf) - -defines += test_properties - -sources += ../testcpp/properties.qdoc - -outputformats = HTML DocBook -{HTML.nosubdirs,DocBook.nosubdirs} = true -HTML.outputsubdir = properties -DocBook.outputsubdir = properties-docbook - -# Allow link warning to Q_INVOKABLE -warninglimit += 1 diff --git a/tests/auto/qdoc/generatedoutput/testdata/configs/scopedenum.qdocconf b/tests/auto/qdoc/generatedoutput/testdata/configs/scopedenum.qdocconf deleted file mode 100644 index d142e07fe..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/configs/scopedenum.qdocconf +++ /dev/null @@ -1,11 +0,0 @@ -include(config.qdocconf) -include(testcpp.qdocconf) -defines += test_scopedenum - -sources += ../scopedenum/scopedenum.qdoc - -outputformats = HTML DocBook - -{HTML.nosubdirs,DocBook.nosubdirs} = true -HTML.outputsubdir = scopedenum -DocBook.outputsubdir = scopedenum-docbook diff --git a/tests/auto/qdoc/generatedoutput/testdata/configs/tagfiles.qdocconf b/tests/auto/qdoc/generatedoutput/testdata/configs/tagfiles.qdocconf deleted file mode 100644 index 5e1382588..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/configs/tagfiles.qdocconf +++ /dev/null @@ -1,2 +0,0 @@ -include(testqml.qdocconf) -tagfile = testtagfile.tags diff --git a/tests/auto/qdoc/generatedoutput/testdata/configs/test.qdocconf b/tests/auto/qdoc/generatedoutput/testdata/configs/test.qdocconf deleted file mode 100644 index b076bdae1..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/configs/test.qdocconf +++ /dev/null @@ -1,16 +0,0 @@ -include(config.qdocconf) -project = OutputFromQDocFiles -description = "A test project for QDoc build artifacts" -buildversion = "$project - $description" -moduleheader = - -sources = ../outputfromqdocfiles/qdoctests-outputfromqdocfiles.qdoc - -macro.beginqdoc = "\\c {/*!}" -macro.endqdoc = "\\c */" -macro.PROD = QDoc - -defines = test_navigation - -# allow (qdoc) warning: Can't link to '' -warninglimit += 1 diff --git a/tests/auto/qdoc/generatedoutput/testdata/configs/testcpp.qdocconf b/tests/auto/qdoc/generatedoutput/testdata/configs/testcpp.qdocconf deleted file mode 100644 index b1d26f27e..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/configs/testcpp.qdocconf +++ /dev/null @@ -1,12 +0,0 @@ -include(config.qdocconf) -project = TestCPP -includepaths += -I../testcpp - -headers = ../testcpp/testcpp.h -sources = ../testcpp/testcpp.cpp \ - ../testcpp/classlists.qdoc -exampledirs = ../testcpp/snippets - -macro.CMDFN = \\\\fn -macro.nothing = \\dontdocument () -macro.testnoautolist = \\if defined(test_noautolist)\n\\noautolist\n\\endif diff --git a/tests/auto/qdoc/generatedoutput/testdata/configs/testcpp_singleexec.qdocconf b/tests/auto/qdoc/generatedoutput/testdata/configs/testcpp_singleexec.qdocconf deleted file mode 100644 index 2ca75ea0a..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/configs/testcpp_singleexec.qdocconf +++ /dev/null @@ -1,6 +0,0 @@ -include(testcpp.qdocconf) - -# Config::getOutputDir() forces a subdir in single-exec mode (why?), -# disable it here explicitly -HTML.nosubdirs = true -HTML.outputsubdir = . diff --git a/tests/auto/qdoc/generatedoutput/testdata/configs/testglobals.qdocconf b/tests/auto/qdoc/generatedoutput/testdata/configs/testglobals.qdocconf deleted file mode 100644 index c69ffe239..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/configs/testglobals.qdocconf +++ /dev/null @@ -1,6 +0,0 @@ -include(config.qdocconf) -project = TestGlobals -includepaths += -I../globalfunc - -headers = ../globalfunc/global.h -sources = ../globalfunc/global.qdoc diff --git a/tests/auto/qdoc/generatedoutput/testdata/configs/testqml.qdocconf b/tests/auto/qdoc/generatedoutput/testdata/configs/testqml.qdocconf deleted file mode 100644 index 1c4d29a13..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/configs/testqml.qdocconf +++ /dev/null @@ -1,22 +0,0 @@ -include(config.qdocconf) -include(testcpp.qdocconf) -moduleheader = TestCPP - -project = Test -description = "A test project for QDoc build artifacts" -outputdir = ./html - -exampledirs = ../qml - -headerdirs += ../ -sourcedirs += ../qml - -# Exclude source files from other tests' subdirs -excludedirs = ../bug80259 - -examples.fileextensions = "*.qml *.cpp" - -macro.begincomment = "\\c{/*}" -macro.QDocTestVer = "1.1" - -warninglimit += 1 diff --git a/tests/auto/qdoc/generatedoutput/testdata/configs/testtemplate.qdocconf b/tests/auto/qdoc/generatedoutput/testdata/configs/testtemplate.qdocconf deleted file mode 100644 index 575a30d8d..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/configs/testtemplate.qdocconf +++ /dev/null @@ -1,9 +0,0 @@ -include(config.qdocconf) -include(testcpp.qdocconf) -defines += test_template - -headers += ../testtemplate/testtemplate.h -sources += ../testtemplate/testtemplate.cpp - -HTML.nosubdirs = true -HTML.outputsubdir = template diff --git a/tests/auto/qdoc/generatedoutput/testdata/configs/tocnavigation.qdocconf b/tests/auto/qdoc/generatedoutput/testdata/configs/tocnavigation.qdocconf deleted file mode 100644 index ba950532b..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/configs/tocnavigation.qdocconf +++ /dev/null @@ -1,5 +0,0 @@ -include(config.qdocconf) -include(test.qdocconf) - -defines = -navigation.toctitles = "Table of Contents" diff --git a/tests/auto/qdoc/generatedoutput/testdata/configs/usingdirective.qdocconf b/tests/auto/qdoc/generatedoutput/testdata/configs/usingdirective.qdocconf deleted file mode 100644 index d5a925b58..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/configs/usingdirective.qdocconf +++ /dev/null @@ -1,3 +0,0 @@ -include(config.qdocconf) -project = UsingDirective -{includepaths,headerdirs,sourcedirs} = ../usingdirective diff --git a/tests/auto/qdoc/generatedoutput/testdata/configs/webxml.qdocconf b/tests/auto/qdoc/generatedoutput/testdata/configs/webxml.qdocconf deleted file mode 100644 index d6e6290b8..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/configs/webxml.qdocconf +++ /dev/null @@ -1,3 +0,0 @@ -outputformats = WebXML -WebXML.quotinginformation = true -WebXML.nosubdirs = true diff --git a/tests/auto/qdoc/generatedoutput/testdata/configs/webxml_test.qdocconf b/tests/auto/qdoc/generatedoutput/testdata/configs/webxml_test.qdocconf deleted file mode 100644 index 468bc42b5..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/configs/webxml_test.qdocconf +++ /dev/null @@ -1,3 +0,0 @@ -include(config.qdocconf) -include(test.qdocconf) -include(webxml.qdocconf) diff --git a/tests/auto/qdoc/generatedoutput/testdata/configs/webxml_testcpp.qdocconf b/tests/auto/qdoc/generatedoutput/testdata/configs/webxml_testcpp.qdocconf deleted file mode 100644 index dee1f4dcc..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/configs/webxml_testcpp.qdocconf +++ /dev/null @@ -1,3 +0,0 @@ -include(config.qdocconf) -include(testcpp.qdocconf) -include(webxml.qdocconf) diff --git a/tests/auto/qdoc/generatedoutput/testdata/configs/webxml_testqml.qdocconf b/tests/auto/qdoc/generatedoutput/testdata/configs/webxml_testqml.qdocconf deleted file mode 100644 index 537685700..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/configs/webxml_testqml.qdocconf +++ /dev/null @@ -1,2 +0,0 @@ -include(testqml.qdocconf) -include(webxml.qdocconf) diff --git a/tests/auto/qdoc/generatedoutput/testdata/crossmodule/CrossModule b/tests/auto/qdoc/generatedoutput/testdata/crossmodule/CrossModule deleted file mode 100644 index 50bea93ab..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/crossmodule/CrossModule +++ /dev/null @@ -1,2 +0,0 @@ -#include "../testcpp/TestCPP" -#include "testtype.h" diff --git a/tests/auto/qdoc/generatedoutput/testdata/crossmodule/crossmodule.qdocconf b/tests/auto/qdoc/generatedoutput/testdata/crossmodule/crossmodule.qdocconf deleted file mode 100644 index 1c16d66f8..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/crossmodule/crossmodule.qdocconf +++ /dev/null @@ -1,13 +0,0 @@ -include(../configs/config.qdocconf) -project = CrossModule -includepaths += -I. - -depends = testcpp - -headers = testtype.h -sources = testtype.cpp - -HTML.nosubdirs = true -HTML.outputsubdir = crossmodule - -defines += test_crossmodule diff --git a/tests/auto/qdoc/generatedoutput/testdata/crossmodule/crossmodule_singleexec.qdocconf b/tests/auto/qdoc/generatedoutput/testdata/crossmodule/crossmodule_singleexec.qdocconf deleted file mode 100644 index 1040bb5ad..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/crossmodule/crossmodule_singleexec.qdocconf +++ /dev/null @@ -1,6 +0,0 @@ -include(crossmodule.qdocconf) - -sources += namespaces.qdoc - -HTML.nosubdirs = true -HTML.outputsubdir = crossmodule diff --git a/tests/auto/qdoc/generatedoutput/testdata/crossmodule/namespaces.qdoc b/tests/auto/qdoc/generatedoutput/testdata/crossmodule/namespaces.qdoc deleted file mode 100644 index 71e72fa22..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/crossmodule/namespaces.qdoc +++ /dev/null @@ -1,34 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2021 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the tools applications of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \page all-namespaces.html - \title Namespaces - - \generatelist namespaces -*/ diff --git a/tests/auto/qdoc/generatedoutput/testdata/crossmodule/testtype.cpp b/tests/auto/qdoc/generatedoutput/testdata/crossmodule/testtype.cpp deleted file mode 100644 index 9de7b2b9e..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/crossmodule/testtype.cpp +++ /dev/null @@ -1,70 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2020 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the tools applications of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ -#include "testtype.h" - -/*! - \module CrossModule -*/ - -/*! - Function under a namespace that's documented elsewhere. -*/ -void CrossModuleRef::documentMeToo() -{ -} - -/*! - \class TestType - \inmodule CrossModule - \brief A class inheriting another class that lives in an external doc - module. - - \section1 Linking - - These links go to the parent class: - \list - \li \l {TestQDoc::TestDerived} - \li \l {TestQDoc::}{Test} class \l Usage. - \li QDOCTEST_MACRO - \li DontLinkToMe - \endlist - - \section1 Generated Lists - - This is an annotated list of entries in a group: - \annotatedlist testgroup - - \sa {TestQDoc::Test::}{someFunction()} -*/ - -/*! - Nothing to see here. -*/ -void TestType::nothing() -{ -} diff --git a/tests/auto/qdoc/generatedoutput/testdata/crossmodule/testtype.h b/tests/auto/qdoc/generatedoutput/testdata/crossmodule/testtype.h deleted file mode 100644 index 0d8919653..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/crossmodule/testtype.h +++ /dev/null @@ -1,41 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2020 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the tools applications of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ -#pragma once - -#include "../testcpp/testcpp.h" - -namespace CrossModuleRef { - void documentMeToo(); -} - -class TestType : public TestQDoc::TestDerived -{ -public: - TestType() {} - void nothing() {} -}; diff --git a/tests/auto/qdoc/generatedoutput/testdata/dontdocument/TestCPP b/tests/auto/qdoc/generatedoutput/testdata/dontdocument/TestCPP deleted file mode 100644 index 7291e6d8f..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/dontdocument/TestCPP +++ /dev/null @@ -1,2 +0,0 @@ -#include "../TestCPP" -#include "dont.h" diff --git a/tests/auto/qdoc/generatedoutput/testdata/dontdocument/dont.cpp b/tests/auto/qdoc/generatedoutput/testdata/dontdocument/dont.cpp deleted file mode 100644 index 33e208459..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/dontdocument/dont.cpp +++ /dev/null @@ -1,47 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2020 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the tools applications of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#include "dont.h" - -/*! - \class UnseenClass - \inmodule TestCPP - \brief A public but undocumented class. -*/ -UnseenClass::UnseenClass() -{ -} - -/*! - \class SeenClass - \inmodule TestCPP - \brief A public but undocumented class. -*/ -SeenClass::SeenClass() -{ -} diff --git a/tests/auto/qdoc/generatedoutput/testdata/dontdocument/dont.h b/tests/auto/qdoc/generatedoutput/testdata/dontdocument/dont.h deleted file mode 100644 index 5ef436b5c..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/dontdocument/dont.h +++ /dev/null @@ -1,41 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2020 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the tools applications of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#pragma once - -class UnseenClass -{ -public: - UnseenClass(); -}; - -class SeenClass : public UnseenClass -{ -public: - SeenClass(); -}; diff --git a/tests/auto/qdoc/generatedoutput/testdata/dontdocument/dontdocument.qdocconf b/tests/auto/qdoc/generatedoutput/testdata/dontdocument/dontdocument.qdocconf deleted file mode 100644 index ef45f50a6..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/dontdocument/dontdocument.qdocconf +++ /dev/null @@ -1,21 +0,0 @@ -include(../configs/testcpp.qdocconf) - -headers += dont.h -sources += dont.cpp test.qdoc - -qhp.projects = DontDocument - -qhp.DontDocument.file = dontdocument.qhp -qhp.DontDocument.namespace = org.qt-project.dontdocument.001 -qhp.DontDocument.virtualFolder = test -qhp.DontDocument.indexTitle = QDoc Test C++ Classes -qhp.DontDocument.indexRoot = - -qhp.DontDocument.subprojects = classes -qhp.DontDocument.subprojects.classes.title = Classes -qhp.DontDocument.subprojects.classes.indexTitle = QDoc Test C++ Classes -qhp.DontDocument.subprojects.classes.selectors = class -qhp.DontDocument.subprojects.classes.sortPages = true - -HTML.nosubdirs = true -HTML.outputsubdir = dontdocument diff --git a/tests/auto/qdoc/generatedoutput/testdata/dontdocument/test.qdoc b/tests/auto/qdoc/generatedoutput/testdata/dontdocument/test.qdoc deleted file mode 100644 index 3f6e0be30..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/dontdocument/test.qdoc +++ /dev/null @@ -1,36 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2020 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the tools applications of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \dontdocument (UnseenClass) -*/ - -/*! \page classes.html - \title Classes - \generatelist annotatedclasses -*/ diff --git a/tests/auto/qdoc/generatedoutput/testdata/examples/demos/demo/demo.pro b/tests/auto/qdoc/generatedoutput/testdata/examples/demos/demo/demo.pro deleted file mode 100644 index dbe8ff3c0..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/examples/demos/demo/demo.pro +++ /dev/null @@ -1,2 +0,0 @@ -TEMPLATE = aux -message("Nothing to see here.") diff --git a/tests/auto/qdoc/generatedoutput/testdata/examples/demos/demo/doc/src/demo.qdoc b/tests/auto/qdoc/generatedoutput/testdata/examples/demos/demo/doc/src/demo.qdoc deleted file mode 100644 index de7160ee4..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/examples/demos/demo/doc/src/demo.qdoc +++ /dev/null @@ -1,34 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2020 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the tools applications of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \example demos/demo - \title Demo - \image leonardo-da-vinci.png - //! Icon made by Smashicons from www.flaticon.com -*/ diff --git a/tests/auto/qdoc/generatedoutput/testdata/examples/demos/hidden/doc/src/hidden.qdoc b/tests/auto/qdoc/generatedoutput/testdata/examples/demos/hidden/doc/src/hidden.qdoc deleted file mode 100644 index 00518731f..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/examples/demos/hidden/doc/src/hidden.qdoc +++ /dev/null @@ -1,36 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2020 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the tools applications of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \example demos/hidden - \title Hidden Demo - \meta tag broken - \brief Tagged 'broken', does not appear in demos-manifest.xml. - - Also missing an image, but that's OK as it's broken anyway. -*/ diff --git a/tests/auto/qdoc/generatedoutput/testdata/examples/demos/hidden/hidden.pro b/tests/auto/qdoc/generatedoutput/testdata/examples/demos/hidden/hidden.pro deleted file mode 100644 index dbe8ff3c0..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/examples/demos/hidden/hidden.pro +++ /dev/null @@ -1,2 +0,0 @@ -TEMPLATE = aux -message("Nothing to see here.") diff --git a/tests/auto/qdoc/generatedoutput/testdata/globalfunc/TestGlobals b/tests/auto/qdoc/generatedoutput/testdata/globalfunc/TestGlobals deleted file mode 100644 index dc4f98a6e..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/globalfunc/TestGlobals +++ /dev/null @@ -1 +0,0 @@ -#include "global.h" diff --git a/tests/auto/qdoc/generatedoutput/testdata/globalfunc/global.h b/tests/auto/qdoc/generatedoutput/testdata/globalfunc/global.h deleted file mode 100644 index 16d3a89cd..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/globalfunc/global.h +++ /dev/null @@ -1,31 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2021 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the tools applications of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -class Globals {}; -inline int foo(int a) { return a; } -inline int foo(int a, bool b) { return b ? a : -a; } diff --git a/tests/auto/qdoc/generatedoutput/testdata/globalfunc/global.qdoc b/tests/auto/qdoc/generatedoutput/testdata/globalfunc/global.qdoc deleted file mode 100644 index a68a55abd..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/globalfunc/global.qdoc +++ /dev/null @@ -1,48 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2021 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the tools applications of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \module TestGlobals -*/ - -/*! - \class Globals - \inmodule TestGlobals -*/ - -/*! - \fn int foo(int a) - \relates Globals - Params: \a a -*/ - -/*! - \fn int foo(int a, bool b) - \relates Globals - Params: \a b, \a b -*/ diff --git a/tests/auto/qdoc/generatedoutput/testdata/headerfile/testheader.cpp b/tests/auto/qdoc/generatedoutput/testdata/headerfile/testheader.cpp deleted file mode 100644 index 3a85b169c..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/headerfile/testheader.cpp +++ /dev/null @@ -1,61 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2020 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the tools applications of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#include "testheader.h" - -/*! - \headerfile <TestHeader> - \title Test Header - \inmodule TestCPP - \brief A header file. - \ingroup headers -*/ - -/*! - \group headers - \title Headers -*/ - -/*! - \fn void globalFunc() - \brief Global function. - \relates <TestHeader> -*/ - -/*! - \variable globalVar - \brief Global variable. - \relates <TestHeader> -*/ - -/*! - \enum Globals - \relates <TestHeader> - \value Glo - \value Bal -*/ diff --git a/tests/auto/qdoc/generatedoutput/testdata/headerfile/testheader.h b/tests/auto/qdoc/generatedoutput/testdata/headerfile/testheader.h deleted file mode 100644 index 94c625157..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/headerfile/testheader.h +++ /dev/null @@ -1,33 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2020 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the tools applications of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#pragma once - -void globalFunc() {}; -enum Globals { Glo, Bal }; -const int globalVar; diff --git a/tests/auto/qdoc/generatedoutput/testdata/images/leonardo-da-vinci.png b/tests/auto/qdoc/generatedoutput/testdata/images/leonardo-da-vinci.png Binary files differdeleted file mode 100644 index 854acb4ca..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/images/leonardo-da-vinci.png +++ /dev/null diff --git a/tests/auto/qdoc/generatedoutput/testdata/includefromexampledirs/excludes/anotherindex.qdoc b/tests/auto/qdoc/generatedoutput/testdata/includefromexampledirs/excludes/anotherindex.qdoc deleted file mode 100644 index 75dd9197d..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/includefromexampledirs/excludes/anotherindex.qdoc +++ /dev/null @@ -1,39 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2020 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the tools applications of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! -//! exampledirs-include - \page index.html - \title doc index - - \section1 C++ Classes - \generatelist {classesbymodule TestCPP} - \section1 QML Types - \annotatedlist qmltypes -//! exampledirs-include -*/ diff --git a/tests/auto/qdoc/generatedoutput/testdata/includefromexampledirs/excludes/parentinclude.qdoc b/tests/auto/qdoc/generatedoutput/testdata/includefromexampledirs/excludes/parentinclude.qdoc deleted file mode 100644 index b99b2f622..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/includefromexampledirs/excludes/parentinclude.qdoc +++ /dev/null @@ -1,52 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2020 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the tools applications of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! -//! abstract-type - \qmltype AbstractParent - \inqmlmodule QDoc.Test - \ingroup qmltypes - \qmlabstract - \brief Abstract base QML type. -//! abstract-type -*/ - -/*! -//! children-qmlproperty - \qmlproperty list<Child> AbstractParent::children - \qmldefault - \brief Children of the type. -//! children-qmlproperty -*/ - -/*! -//! rear-qmlmethod - \qmlmethod void AbstractParent::rear(Child child) - \brief Do some abstract parenting on \a child. -//! rear-qmlmethod -*/ diff --git a/tests/auto/qdoc/generatedoutput/testdata/includefromexampledirs/includefromexampledirs.qdocconf b/tests/auto/qdoc/generatedoutput/testdata/includefromexampledirs/includefromexampledirs.qdocconf deleted file mode 100644 index d64985942..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/includefromexampledirs/includefromexampledirs.qdocconf +++ /dev/null @@ -1,13 +0,0 @@ -include(../configs/testqml.qdocconf) - -sourcedirs += src - -excludedirs += excludes \ - ../qml/componentset - -excludefiles += ../qml/parent.qdoc - -exampledirs += excludes - -HTML.nosubdirs = true -HTML.outputsubdir = includefromexampledirs diff --git a/tests/auto/qdoc/generatedoutput/testdata/includefromexampledirs/src/includefromparent.qdoc b/tests/auto/qdoc/generatedoutput/testdata/includefromexampledirs/src/includefromparent.qdoc deleted file mode 100644 index a9a526c64..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/includefromexampledirs/src/includefromparent.qdoc +++ /dev/null @@ -1,66 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2020 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the tools applications of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! -\include anotherindex.qdoc exampledirs-include - -\include parent.qdocinc -*/ - -/*! -\include parentinclude.qdoc abstract-type - -\include parent.qdocinc -*/ - -/*! -\include parentinclude.qdoc children-qmlproperty - -\include parent.qdocinc -*/ - -/*! -\include parentinclude.qdoc rear-qmlmethod - -\include parent.qdocinc -*/ - -/*! - \qmltype Child - \inqmlmodule QDoc.Test - \ingroup qmltypes - \inherits AbstractParent - \brief A Child inheriting its parent. -*/ - -/*! - \qmlbasictype int - \inqmlmodule QDoc.Test - \ingroup qmltypes - \brief An integer basic type. -*/ diff --git a/tests/auto/qdoc/generatedoutput/testdata/includefromexampledirs/src/parent.qdocinc b/tests/auto/qdoc/generatedoutput/testdata/includefromexampledirs/src/parent.qdocinc deleted file mode 100644 index 307c39dbd..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/includefromexampledirs/src/parent.qdocinc +++ /dev/null @@ -1 +0,0 @@ -Test include file that is part of the sourcedirs. diff --git a/tests/auto/qdoc/generatedoutput/testdata/indexlinking/indexlinking.qdocconf b/tests/auto/qdoc/generatedoutput/testdata/indexlinking/indexlinking.qdocconf deleted file mode 100644 index 4f5fe22b0..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/indexlinking/indexlinking.qdocconf +++ /dev/null @@ -1,7 +0,0 @@ -# test linking to entities loaded from index -project = IndexLinking - -depends = \ - qmlpropertygroups - -sources = linking.qdoc diff --git a/tests/auto/qdoc/generatedoutput/testdata/indexlinking/linking.qdoc b/tests/auto/qdoc/generatedoutput/testdata/indexlinking/linking.qdoc deleted file mode 100644 index 1cbf1e424..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/indexlinking/linking.qdoc +++ /dev/null @@ -1,49 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2020 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the tools applications of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \page index-linking.html - \title Linking - - \section1 QML properties - \list A - \li Property group: \l [QML] {Parent::group}. - \li Property in a group: \l [QmlPropertyGroups] - QDoc.Test::Parent::group.c. - \endlist -*/ - -/*! - \qmlmodule LinkModule 1.0 -*/ - -/*! - \qmltype GrandChild - \inqmlmodule LinkModule - \inherits AnotherChild -*/ diff --git a/tests/auto/qdoc/generatedoutput/testdata/outputfromqdocfiles/qdoctests-outputfromqdocfiles.qdoc b/tests/auto/qdoc/generatedoutput/testdata/outputfromqdocfiles/qdoctests-outputfromqdocfiles.qdoc deleted file mode 100644 index 963619afe..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/outputfromqdocfiles/qdoctests-outputfromqdocfiles.qdoc +++ /dev/null @@ -1,217 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2020 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** 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. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: https://www.gnu.org/licenses/fdl-1.3.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! -\if defined(test_navigation) - \nextpage {qdoctests-qdocfileoutput-linking.html}{QDoc Linking Test} -\endif - - \page qdoctests-qdocfileoutput.html - \title Testing \PROD output from .qdoc files - \brief This is a simple page for testing purposes only. - - QDoc generates documentation for software projects. It does this by - extracting \e {QDoc comments} from project source files. QDoc comments are - signified by a C-style-like comment tag followed by an exclamation point, - like this: - \beginqdoc \c {This text is contained within QDoc comment tags.} \endqdoc. - - \section1 Supported file types - QDoc parses \c .cpp and \c .qdoc files. It does extract comments from - header (\c {.h}) files. - - \section1 Further information - This test document is written with the purpose of testing the output QDoc - generates when parsing \c .qdoc files. It is fairly simple and makes use of - a limited subset of QDoc's command. Those commands are: - \list - \li \c {\page} - \li \c {\title} - \li \c {\brief} - \li \c {\e} (for emphasizing "QDoc comments") - \li \c {\c} (for multiple monospace-formatted entries) - \li \c {\section1} - \li \c {\list} - \li \c {\li} - \li \c {\endlist} - \endlist - - \section1 Linking - - There are multiple ways to create hyperlinks to other topics: - - \list - \li \l {Testing QDoc's link command}{Linking to a page title} - \li \l {Link targets}{Linking to a section title} - \li \l {link-test-target}{Linking using a \\target string} - \li \l {QDoc Linking Test}{Linking using a \\keyword string} - \endlist -*/ - -/*! -\if defined(test_navigation) - \previouspage qdoctests-qdocfileoutput.html \PROD Testing - \nextpage Table of Contents -\endif - - \keyword QDoc Linking Test - \page qdoctests-qdocfileoutput-linking.html - \title Testing QDoc's link command - \brief This is a page for testing QDoc's link command. - - \target link-test-target - \section1 Link targets - - Valid parameters for the link command (\c {\l}) are page and section - titles, targets defined with \\target or \\keyword commands, and API - reference keywords (types, methods, namespaces, and so on). -*/ - -/*! -\if defined(test_navigation) - \previouspage {Testing QDoc's link command}{QDoc Linking Test} -\endif - - \page toc.html - \title Table of Contents - - \list - \li \l {Testing \PROD output from .qdoc files}{\PROD Testing} - \li \l {QDoc Linking Test} - \li \l {Table of Contents} - \endlist -*/ - -/*! - \page qdoctests-qdocfileoutput-exhaustive.html - \title Exhaustive testing of QDoc commands - \brief This page is a dumping ground for QDoc commands under test. - - \section1 This is a section1 - \section2 This is a section2 - \section3 This is a section3 - \section4 This is a section4 - \endsection4 - \endsection3 - \endsection2 - \endsection1 - - \badcode - This is bad code - \endcode - - This text should have a line break riiiiight \br noooow. - - \b{All your text belong to bold} - ...And this is an examble of only \b bold being, well, bold. - - \dots - - \js - // If I knew JavaScript, this is where I would write it. - \endjs - - \qmltext - And if I knew qmltext, I guess this is where that would go. - \endqmltext - - \caption This a caption - - \legalese - Lorem legal ipsum - \endlegalese - - \quotation - This is a quotation. - \endquotation - - \raw HTML - <html><body>This is <b>raw</b>. Like the <h1>Eddie Murphy</h1> movie. Just not as funny.</body></html> - \endraw - - \sidebar - Look, ma! I made a sidebar! - \endsidebar - - \table - \row \li Table item in a table row - \row \li Another item in a different row - \endtable - - \important This is really important. - - \oldcode - This is old code. - \newcode - This is new and shiny! - \endcode - - \note The code above doesn't compile - - \hr - - \warning The following commands have yet to be tested: - footnote - link - //! Check why above two (when used in this order) cause missing linefeeds on Windows/webxml - sincelist - header - index - topicref // or just don’t care, remove it - image - inlineimage - printline - printto - printuntil // what’s the difference between printto and printuntil??? - quotefile - quotefromfile - quotefunction - skipline - skipto - skipuntil - span - snippet - codeline - overload - sub - sup - tableofcontents - tt - uicontrol - endmapref - endomit - underline - unicode - -*/ - -// Empty link target that was known to assert -/*! - \page crash.html - - \l {} -*/ diff --git a/tests/auto/qdoc/generatedoutput/testdata/qml/DocTest.qml b/tests/auto/qdoc/generatedoutput/testdata/qml/DocTest.qml deleted file mode 100644 index 80a26f93c..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/qml/DocTest.qml +++ /dev/null @@ -1,111 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2019 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the tools applications of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 - -/*! - \qmltype DocTest - \inherits Test - \inqmlmodule QDoc.Test - \brief Represents a doc test case. - \since QDoc.Test 0.9 - - \section1 Introduction - - A documentation test case, itself documented inline in DocTest.qml. -*/ -Item { - id: testCase - - /*! - \qmlsignal QDocTest::completed - */ - signal completed - - /*! - \qmlsignal DocTest::test(var bar) - Signal with parameter \a bar. - */ - signal foo(var bar) - - /*! - Signals that something is \a really happening. - */ - signal itsHappening(bool really) - - /*! - \qmlproperty string DocTest::name - - Name of the test. - \qml - DocTest { - name: "test" - // ... - } - \endqml - */ - required property string name - - /*! - Whether the test is active. - \default true - - \sa name - */ - property bool active: true - - /*! \internal */ - property int doctest_internal: -1 - - /*! - \qmlmethod DocTest::fail(message = "oops") - \since QDoc.Test 1.0 - - Fails the current test case, with the optional \a message. - */ - function fail(msg) { - if (msg === undefined) - msg = "oops"; - } - - /*! \internal */ - function doctest_fail(msg) { - if (msg === undefined) - msg = ""; - } - - /*! - \brief Fails the current test case, hard. - \list - \li Prints out \a msg. - \li Accepts a random \a option. - \endlist - */ - function fail_hard(msg = "facepalm", option = 123) { - } -} diff --git a/tests/auto/qdoc/generatedoutput/testdata/qml/cmaketest/CMakeLists.txt b/tests/auto/qdoc/generatedoutput/testdata/qml/cmaketest/CMakeLists.txt deleted file mode 100644 index 89eafa300..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/qml/cmaketest/CMakeLists.txt +++ /dev/null @@ -1,2 +0,0 @@ -cmake_minimum_required(VERSION 3.16) -project (QDOCTEST) diff --git a/tests/auto/qdoc/generatedoutput/testdata/qml/cmaketest/doc/src/cmaketest.qdoc b/tests/auto/qdoc/generatedoutput/testdata/qml/cmaketest/doc/src/cmaketest.qdoc deleted file mode 100644 index e60f3b9e8..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/qml/cmaketest/doc/src/cmaketest.qdoc +++ /dev/null @@ -1,34 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2020 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the tools applications of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \example cmaketest - \title CMake Example Project - \image leonardo-da-vinci.png - //! Icon made by Smashicons from www.flaticon.com -*/ diff --git a/tests/auto/qdoc/generatedoutput/testdata/qml/cmaketest/main.cpp b/tests/auto/qdoc/generatedoutput/testdata/qml/cmaketest/main.cpp deleted file mode 100644 index 68d71eb71..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/qml/cmaketest/main.cpp +++ /dev/null @@ -1 +0,0 @@ -void main(){} diff --git a/tests/auto/qdoc/generatedoutput/testdata/qml/componentset/ProgressBar.qml b/tests/auto/qdoc/generatedoutput/testdata/qml/componentset/ProgressBar.qml deleted file mode 100644 index 2a40cc488..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/qml/componentset/ProgressBar.qml +++ /dev/null @@ -1,145 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the examples of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** BSD License Usage -** Alternatively, you may use this file under the terms of the BSD license -** as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of The Qt Company Ltd nor the names of its -** contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 1.0 - -/*! - \qmltype ProgressBar - \inqmlmodule UIComponents - \brief A component that shows the progress of an event. - - A ProgressBar shows the linear progress of an event as its \l value. - The range is specified using the \l {minimum} and the \l{maximum} values. - - The ProgressBar component is part of the \l {UI Components} module. - - This documentation is part of the \l{componentset}{UIComponents} example. -*/ -Item { - id: progressbar - - /*! - The minimum value of the ProgressBar range. - The \l value must not be less than this value. - */ - property int minimum: 0 - - /*! - The maximum value of the ProgressBar range. - The \l value must not be more than this value. - */ - property int maximum: 100 - - /*! - The value of the progress. - */ - property int value: 0 - - /*! - \qmlproperty color ProgressBar::color - The color of the ProgressBar's gradient. Must bind to a color type. - - \omit - The "\qmlproperty <type> <property name>" is needed because - property alias need to have their types manually entered. - - QDoc will not publish the documentation within omit and endomit. - \endomit - - \sa secondColor - */ - property alias color: gradient1.color - - /*! - \qmlproperty color ProgressBar::secondColor - The second color of the ProgressBar's gradient. - Must bind to a color type. - - \omit - The "\qmlproperty <type> <property name>" is needed because - property alias need to have their types manually entered. - - QDoc will not publish the documentation within omit and endomit. - \endomit - - \sa color - */ - property alias secondColor: gradient2.color - - width: 250; height: 23 - clip: true - - Rectangle { - id: highlight - - /*! - An internal documentation comment. The widthDest property is not - a public API and therefore will not be exposed. - */ - property int widthDest: ((progressbar.width * (value - minimum)) / (maximum - minimum) - 6) - - width: highlight.widthDest - Behavior on width { SmoothedAnimation { velocity: 1200 } } - - anchors { left: parent.left; top: parent.top; bottom: parent.bottom; margins: 3 } - radius: 1 - gradient: Gradient { - GradientStop { id: gradient1; position: 0.0 } - GradientStop { id: gradient2; position: 1.0 } - } - - } - Text { - anchors { right: highlight.right; rightMargin: 6; verticalCenter: parent.verticalCenter } - color: "white" - font.bold: true - text: Math.floor((value - minimum) / (maximum - minimum) * 100) + '%' - } -} diff --git a/tests/auto/qdoc/generatedoutput/testdata/qml/componentset/Switch.qml b/tests/auto/qdoc/generatedoutput/testdata/qml/componentset/Switch.qml deleted file mode 100644 index db9616b69..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/qml/componentset/Switch.qml +++ /dev/null @@ -1,152 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the examples of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** BSD License Usage -** Alternatively, you may use this file under the terms of the BSD license -** as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of The Qt Company Ltd nor the names of its -** contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 1.0 - -/*! - \qmltype ToggleSwitch - \inqmlmodule UIComponents - \brief A component that can be turned on or off. - - A toggle switch has two states: an \c on and an \c off state. The \c off - state is when the \l on property is set to \c false. - - The ToggleSwitch component is part of the \l {UI Components} module. - - This documentation is part of the \l{componentset}{UIComponents} example. - -*/ -Item { - id: toggleswitch - width: background.width; height: background.height - - /*! - Indicates the state of the switch. If \c false, then the switch is in - the \c off state. - - \omit - The \qmlproperty <type> <propertyname> is not necessary as QDoc - will associate this property to the ToggleSwitch - - QDoc will not publish the documentation within omit and endomit. - \endomit - */ - property bool on: false - - - /*! - A method to toggle the switch. If the switch is \c on, the toggling it - will turn it \c off. Toggling a switch in the \c off position will - turn it \c on. - */ - function toggle() { - if (toggleswitch.state == "on") - toggleswitch.state = "off"; - else - toggleswitch.state = "on"; - } - - - /*! - \internal - - An internal function to synchronize the switch's internals. This - function is not for public access. The \internal command will - prevent QDoc from publishing this comment in the public API. - */ - function releaseSwitch() { - if (knob.x == 1) { - if (toggleswitch.state == "off") return; - } - if (knob.x == 78) { - if (toggleswitch.state == "on") return; - } - toggle(); - } - - Rectangle { - id: background - width: 130; height: 48 - radius: 48 - color: "lightsteelblue" - MouseArea { anchors.fill: parent; onClicked: toggle() } - } - - Rectangle { - id: knob - width: 48; height: 48 - radius: width - color: "lightblue" - - MouseArea { - anchors.fill: parent - drag.target: knob; drag.axis: Drag.XAxis; drag.minimumX: 1; drag.maximumX: 78 - onClicked: toggle() - onReleased: releaseSwitch() - } - } - - states: [ - State { - name: "on" - PropertyChanges { target: knob; x: 78 } - PropertyChanges { target: toggleswitch; on: true } - }, - State { - name: "off" - PropertyChanges { target: knob; x: 1 } - PropertyChanges { target: toggleswitch; on: false } - } - ] - - transitions: Transition { - NumberAnimation { properties: "x"; easing.type: Easing.InOutQuad; duration: 200 } - } -} diff --git a/tests/auto/qdoc/generatedoutput/testdata/qml/componentset/TabWidget.qml b/tests/auto/qdoc/generatedoutput/testdata/qml/componentset/TabWidget.qml deleted file mode 100644 index 07fd40db9..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/qml/componentset/TabWidget.qml +++ /dev/null @@ -1,193 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the examples of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** BSD License Usage -** Alternatively, you may use this file under the terms of the BSD license -** as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of The Qt Company Ltd nor the names of its -** contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 1.0 - -/*! - \qmltype TabWidget - \inqmlmodule UIComponents - \brief A widget that places its children as tabs. - - A TabWidget places its children as tabs in a view. Selecting - a tab involves selecting the tab at the top. - - The TabWidget component is part of the \l {UI Components} module. - - This documentation is part of the \l{componentset}{UIComponents} example. - - \section1 Adding Tabs - - To add a tab, declare the tab as a child of the TabWidget. - - \code - TabWidget { - id: tabwidget - - Rectangle { - id: tab1 - color: "red" - //... omitted - } - Rectangle { - id: tab2 - color: "blue" - //... omitted - } - - } - \endcode - -*/ -Item { - id: tabWidget - - /*! - \internal - - Setting the default property to stack.children means any child items - of the TabWidget are actually added to the 'stack' item's children. - - See the \l{"Property Binding in QML"} - documentation for details on default properties. - - This is an implementation detail, not meant for public knowledge. Putting - the \internal command at the beginning will cause QDoc to not publish this - documentation in the public API page. - - Normally, a property alias needs to have a - "\qmlproperty <type> <propertyname>" to assign the alias a type. - - */ - default property alias content: stack.children - - - /*! - The currently active tab in the TabWidget. - */ - property int current: 0 - - /*! - A sample \c{read-only} property. - A contrived property to demonstrate QDoc's ability to detect - read-only properties. - - The signature is: - \code - readonly property int sampleReadOnlyProperty: 0 - \endcode - - Note that the property must be initialized to a value. - - */ - readonly property int sampleReadOnlyProperty: 0 - - /*! - \internal - - This handler is an implementation - detail. The \c{\internal} command will prevent QDoc from publishing this - documentation on the public API. - */ - onCurrentChanged: setOpacities() - Component.onCompleted: setOpacities() - - /*! - \internal - - An internal function to set the opacity. - The \internal command will prevent QDoc from publishing this - documentation on the public API. - */ - function setOpacities() { - for (var i = 0; i < stack.children.length; ++i) { - stack.children[i].opacity = (i == current ? 1 : 0) - } - } - - Row { - id: header - - Repeater { - model: stack.children.length - delegate: Rectangle { - width: tabWidget.width / stack.children.length; height: 36 - - Rectangle { - width: parent.width; height: 1 - anchors { bottom: parent.bottom; bottomMargin: 1 } - color: "#acb2c2" - } - BorderImage { - anchors { fill: parent; leftMargin: 2; topMargin: 5; rightMargin: 1 } - border { left: 7; right: 7 } - source: "tab.png" - visible: tabWidget.current == index - } - Text { - horizontalAlignment: Qt.AlignHCenter; verticalAlignment: Qt.AlignVCenter - anchors.fill: parent - text: stack.children[index].title - elide: Text.ElideRight - font.bold: tabWidget.current == index - } - MouseArea { - anchors.fill: parent - onClicked: tabWidget.current = index - } - } - } - } - - Item { - id: stack - width: tabWidget.width - anchors.top: header.bottom; anchors.bottom: tabWidget.bottom - } -} diff --git a/tests/auto/qdoc/generatedoutput/testdata/qml/componentset/componentset.pro b/tests/auto/qdoc/generatedoutput/testdata/qml/componentset/componentset.pro deleted file mode 100644 index 5b44737c2..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/qml/componentset/componentset.pro +++ /dev/null @@ -1,5 +0,0 @@ -SOURCES = componentset.pro \ - ProgressBar.qml \ - Switch.qml \ - TabWidget.qml \ - uicomponents.qdoc diff --git a/tests/auto/qdoc/generatedoutput/testdata/qml/componentset/componentset.qml b/tests/auto/qdoc/generatedoutput/testdata/qml/componentset/componentset.qml deleted file mode 100644 index 459c82afb..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/qml/componentset/componentset.qml +++ /dev/null @@ -1,4 +0,0 @@ -import QtQuick 2.0 - -Item { -} diff --git a/tests/auto/qdoc/generatedoutput/testdata/qml/componentset/examples.qdoc b/tests/auto/qdoc/generatedoutput/testdata/qml/componentset/examples.qdoc deleted file mode 100644 index 9c499713d..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/qml/componentset/examples.qdoc +++ /dev/null @@ -1,104 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** 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. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: https://www.gnu.org/licenses/fdl-1.3.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \example componentset - \title QML Documentation Example - \brief Example for documenting QML types. - - \testnoautolist - - \meta tag {test,sample,(Qt)} - \meta installpath tutorials - - This example demonstrates one of the ways to document QML types. It also - generates a warning about a missing example image, on purpose. - - In particular, there are sample types that are documented with QDoc - commands comments. There are documentation comments for the QML types - and their public interfaces. The types are grouped into a module, the - \l{UI Components} module. - - The uicomponents.qdoc file generates - the overview page for the \l{UI Components} module page. - - The generated documentation is available in the \l{UI Components} module. - - \section1 QML Class - - The QML types use the \\qmltype to document the - type. In addition, they have the \\inmodule - command in order for QDoc to associate them to the \c UIComponents module. - - QDoc uses the \\brief command to place a basic - description when listing the types. - - \section1 Properties, Signals, Handlers, and Methods - - The types have their properties, signals, handlers, and methods - defined in their respective QML files. QDoc associates the properties and - methods to the types, therefore, you only need to place the - documentation above the property, method, or signal. - - To document the type of a \e {property alias}, you must use the - \\qmlproperty command to specify the data type. - - \code - \qmlproperty int anAliasedProperty - An aliased property of type int. - \endcode - - \section2 Internal Documentation - - You may declare that a documentation is for internal use by placing the - \\internal command after the beginning QDoc comment - \begincomment. QDoc will prevent the internal documentation from appearing - in the public API. - - If you wish to omit certain parts of the documentation, you may use the - \\omit and \\endomit command. - - \section1 QML Types with C++ Implementation - - This example only demonstrates the documentation for types in QML - files, but the regular QML commands may be placed - inside C++ classes to define the public API of the QML type. - -*/ - - -/*! - \qmlmodule UIComponents 1.0 - \title UI Components - \brief Basic set of UI components. - - This is a listing of a list of UI components implemented by QML types. These - files are available for general import and they are based on the - Qt Quick Code Samples. - - This module is part of the \l{componentset}{UIComponents} example. -*/ diff --git a/tests/auto/qdoc/generatedoutput/testdata/qml/componentset/uicomponents.qdoc.sample b/tests/auto/qdoc/generatedoutput/testdata/qml/componentset/uicomponents.qdoc.sample deleted file mode 100644 index 0c6d187ed..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/qml/componentset/uicomponents.qdoc.sample +++ /dev/null @@ -1,38 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** 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. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: https://www.gnu.org/licenses/fdl-1.3.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \qmlmodule UIComponents 1.0 - \title UI Components - \brief Basic set of UI components - - This is a listing of a list of UI components implemented by QML types. These - files are available for general import and they are based off the \l{Qt - Quick Code Samples}. - - This module is part of the \l{componentset}{UIComponents} example. -*/ diff --git a/tests/auto/qdoc/generatedoutput/testdata/qml/modules.qdoc b/tests/auto/qdoc/generatedoutput/testdata/qml/modules.qdoc deleted file mode 100644 index 12db2a0c1..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/qml/modules.qdoc +++ /dev/null @@ -1,34 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2020 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the tools applications of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \page qmlmodules.html - \title QML Modules - - \generatelist qml-modules -*/ diff --git a/tests/auto/qdoc/generatedoutput/testdata/qml/parent.qdoc b/tests/auto/qdoc/generatedoutput/testdata/qml/parent.qdoc deleted file mode 100644 index 716e40c50..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/qml/parent.qdoc +++ /dev/null @@ -1,112 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2019 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the tools applications of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \qmltype AbstractParent - \inqmlmodule QDoc.Test - \qmlabstract - \brief Abstract base QML type. -*/ - -/*! - \qmlproperty list<Child> AbstractParent::children - \qmldefault - \brief Children of the type. -*/ - -/*! - \qmlmethod void AbstractParent::rear(Child child, var method = Strict) - \brief Do some abstract parenting on \a child using a specific \a method. -*/ - -/*! - \qmlproperty string AbstractParent::name - \brief Name of this parent. -*/ - -/*! - \qmlmethod void AbstractParent::name(Child child, name) - \brief Name a \a child using \a name. - -*/ - -/*! - \qmlmethod void AbstractParent::name() - \brief Name all children with random names. -*/ - -/*! - \qmltype Child - \inqmlmodule QDoc.Test - \inherits AbstractParent - \brief A Child inheriting its parent. -*/ - -/*! - //! override from abstract base - \qmlproperty string Child::name - \brief Name of this child. -*/ - -/*! - //! override from abstract base - \qmlmethod void Child::name(Child child, name) - \brief Name a \a child of this child using \a name. -*/ - -/*! - \qmlbasictype int - \inqmlmodule QDoc.Test - - \brief An integer basic type. -*/ - -/*! - \qmlmethod int int::abs() - Returns the absolute value of this integer. -*/ - -/*! - \qmltype InternParent - \inqmlmodule QDoc.Test - \internal - \qmlabstract - \brief Internal abstract base QML type. -*/ - -/*! - \qmlproperty int InternParent::prop - \brief Propagated to inheriting type docs. -*/ - -/*! - \qmltype YetAnotherChild - \inherits InternParent - \inqmlmodule QDoc.Test - \brief A type inheriting from internal abstract parent. -*/ diff --git a/tests/auto/qdoc/generatedoutput/testdata/qml/type.cpp b/tests/auto/qdoc/generatedoutput/testdata/qml/type.cpp deleted file mode 100644 index 05c404e28..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/qml/type.cpp +++ /dev/null @@ -1,143 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2019 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the tools applications of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#include "testcpp.h" - -/*! - \qmlmodule QDoc.Test \QDocTestVer - \title QDoc.Test QML Module - \brief QML Types for the Test module. - \since 1.1 - \preliminary - - \testnoautolist -*/ - -/*! - \qmlmodule Test.Empty 1.0 - \title No QML Types Here - \brief A QML module with no member types. -*/ - -/*! - \qmlmodule Test.NoVer - \title Versionless QML Module - \brief QML Types for the Test module without version. - \since 1.1 -*/ - -/*! - \qmltype Type - \instantiates TestQDoc::Test - \inqmlmodule QDoc.Test - \brief A QML type documented in a .cpp file. -*/ - -/*! - \qmltype TypeNoVersion - \instantiates TestQDoc::TestDerived - \inqmlmodule Test.NoVer - \brief Another QML type documented in a .cpp file. -*/ - -/*! - \qmlproperty int Type::id - \readonly - \brief A read-only property. -*/ - -/*! - \qmlproperty string QDoc.Test::Type::name - \required - \brief Name of the Test. -*/ - -/*! - \qmlattachedproperty enumeration Type::type - \default Type.NoType - - \value Type.NoType - Nothing - \value Type.SomeType - Something -*/ - -/*! - \qmlproperty int Type::group.first - \qmlproperty int Type::group.second - \qmlproperty int Type::group.third - - \brief A property group. -*/ - -/*! - \qmlsignal Type::group.created - - This signal is prefixed with \e group. -*/ - -/*! - \qmlproperty int Type::fourth - \qmlproperty int Type::fifth - - \brief A group of properties sharing a documentation comment. -*/ - -/*! - \qmlmethod Type Type::copy(a) - - Returns another Type based on \a a. -*/ - -/*! - \qmlmethod Type::enable() - \qmlmethod Type::disable() - - Enables or disables this type. -*/ - -/*! - \qmlsignal Type::completed(int status) - - This signal is emitted when the operation completed with \a status. -*/ - -/*! - \qmlattachedsignal Type::configured() - - This attached signal is emitted when the type was configured. -*/ - -/*! - \qmlmethod Type::deprecatedMethod() - - \deprecated [6.2] This method has no replacement //! No full stop for test. - - This is a method that should include information about being deprecated - and that it has been so since 6.2 in its docs. -*/ diff --git a/tests/auto/qdoc/generatedoutput/testdata/qmlpropertygroups/parent.qdoc b/tests/auto/qdoc/generatedoutput/testdata/qmlpropertygroups/parent.qdoc deleted file mode 100644 index e0d716225..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/qmlpropertygroups/parent.qdoc +++ /dev/null @@ -1,62 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2020 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the tools applications of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \qmltype Parent - \inqmlmodule QDoc.Test - \brief Base QML type. -*/ - -/*! - \qmlproperty int Parent::group.c - \qmlproperty int Parent::group.a - \qmlproperty int Parent::group.b - \brief Property group. -*/ - -/*! - \qmlproperty int Parent::group.b - \readonly -*/ - -/*! - \qmlproperty int Parent::group.c - \since 2.0 -*/ - -/*! - \qmltype AnotherChild - \inqmlmodule QDoc.Test - \inherits Parent - \brief Just another child inheriting a parent. -*/ - -/*! - \qmlproperty string AnotherChild::name - \brief Name of this child. -*/ diff --git a/tests/auto/qdoc/generatedoutput/testdata/qmlpropertygroups/qmlpropertygroups.qdocconf b/tests/auto/qdoc/generatedoutput/testdata/qmlpropertygroups/qmlpropertygroups.qdocconf deleted file mode 100644 index 1f876d030..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/qmlpropertygroups/qmlpropertygroups.qdocconf +++ /dev/null @@ -1,11 +0,0 @@ -include(../configs/testqml.qdocconf) - -project = QmlPropertyGroups - -sourcedirs += . - -outputformats = HTML DocBook - -{HTML.nosubdirs,DocBook.nosubdirs} = true -HTML.outputsubdir = qmlpropertygroups -DocBook.outputsubdir = qmlpropertygroups-docbook diff --git a/tests/auto/qdoc/generatedoutput/testdata/scopedenum/scopedenum.qdoc b/tests/auto/qdoc/generatedoutput/testdata/scopedenum/scopedenum.qdoc deleted file mode 100644 index e5937f258..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/scopedenum/scopedenum.qdoc +++ /dev/null @@ -1,60 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2020 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** 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. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: https://www.gnu.org/licenses/fdl-1.3.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \enum TestQDoc::Test::ClassicEnum - - \value Yee - \value Haw - \value Howdy - \value Partner -*/ - -/*! - \enum TestQDoc::Test::ScopedEnum - - \value This Something - \value That Something else - \omitvalue OmittedValue \omit Unused - - This decription is omitted \endomit - \value All Everything - \omitvalue VeryLastValue - Nothing here - \omitvalue UselessValue - - A scoped enum. -*/ - -/*! - \page scoped-enum-linking.html - \title Enum Linking - - Linking to \l {TestQDoc::Test::ScopedEnum::}{All}. - - TestQDoc::Test::ClassicEnum::Howdy does not link, - but TestQDoc::Test::Howdy might. -*/ diff --git a/tests/auto/qdoc/generatedoutput/testdata/singleexec/singleexec.qdocconf b/tests/auto/qdoc/generatedoutput/testdata/singleexec/singleexec.qdocconf deleted file mode 100644 index 037cfc74a..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/singleexec/singleexec.qdocconf +++ /dev/null @@ -1,2 +0,0 @@ -../configs/testcpp_singleexec.qdocconf -../crossmodule/crossmodule_singleexec.qdocconf diff --git a/tests/auto/qdoc/generatedoutput/testdata/testcpp/TestCPP b/tests/auto/qdoc/generatedoutput/testdata/testcpp/TestCPP deleted file mode 100644 index 4ed786108..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/testcpp/TestCPP +++ /dev/null @@ -1,5 +0,0 @@ -#include "testcpp.h" - -#ifdef test_template -# include "testtemplate.h" -#endif diff --git a/tests/auto/qdoc/generatedoutput/testdata/testcpp/classlists.qdoc b/tests/auto/qdoc/generatedoutput/testdata/testcpp/classlists.qdoc deleted file mode 100644 index 188676c05..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/testcpp/classlists.qdoc +++ /dev/null @@ -1,61 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2021 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the tools applications of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \page obsolete-classes.html - \title Obsolete Classes - - \section1 Classes with obsolete members - \generatelist obsoletecppmembers - - \section2 TestQDoc -*/ - -/*! - \page autolinking.html - \title Autolinking - - //! a section title that qualifies for autolinking - \section1 TestQDoc - - The string TestQDoc links to the C++ namespace unless linking explicitly, - \l {#TestQDoc}{like this}, or \l {TestQDoc}{this}. Also, - - Autolinks: - - \list - \li TestQDoc::TestDerived - \endlist - - Explicit links: - - \list - \li \l [CPP] {TestQDoc::TestDerived} - \li \l {Obsolete Classes#TestQDoc} - \endlist -*/ diff --git a/tests/auto/qdoc/generatedoutput/testdata/testcpp/properties.qdoc b/tests/auto/qdoc/generatedoutput/testdata/testcpp/properties.qdoc deleted file mode 100644 index 0ef6f4ea7..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/testcpp/properties.qdoc +++ /dev/null @@ -1,63 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2020 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the tools applications of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \property TestQDoc::TestDerived::bindableProp - Some property. -*/ - -/*! - \property TestQDoc::TestDerived::someProp - Another property. -*/ - -/*! - \property TestQDoc::TestDerived::name - \brief a name. -*/ - -/*! - \property TestQDoc::TestDerived::intProp - An integer property. -*/ - -/*! - \property TestQDoc::TestDerived::boolProp - A boolean property. -*/ - -/*! - \fn TestQDoc::TestDerived::invokeMe() const - \brief Something invokable. -*/ - -/*! - //! avoid link warnings for auto-generated links to QProperty - \externalpage https://wiki.qt.io/QProperty - \title QProperty -*/ diff --git a/tests/auto/qdoc/generatedoutput/testdata/testcpp/snippets/snippet_testcpp.cpp b/tests/auto/qdoc/generatedoutput/testdata/testcpp/snippets/snippet_testcpp.cpp deleted file mode 100644 index 1660fbc2b..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/testcpp/snippets/snippet_testcpp.cpp +++ /dev/null @@ -1,3 +0,0 @@ -//! [random tag] -You're not supposed to see this. -//! [random tag] diff --git a/tests/auto/qdoc/generatedoutput/testdata/testcpp/testcpp.cpp b/tests/auto/qdoc/generatedoutput/testdata/testcpp/testcpp.cpp deleted file mode 100644 index ef1666c90..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/testcpp/testcpp.cpp +++ /dev/null @@ -1,334 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2019 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the tools applications of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ -#include "testcpp.h" - -namespace TestQDoc { - -/* -//! [random tag] -\note This is just a test. -//! [random tag] -*/ - -/*! - \module TestCPP - \qtvariable testcpp - \qtcmakepackage QDocTest - \title QDoc Test C++ Classes - \brief A test module page. - - \testnoautolist - - \include testcpp.cpp random tag - -\if defined(test_nestedmacro) - \versionnote {module} {\ver} -\endif -*/ - -/*! - \namespace TestQDoc - \inheaderfile TestCPP - \inmodule TestCPP - \brief A namespace. - - \section1 Usage - This namespace is for testing QDoc output. -*/ - -/*! - \class TestQDoc::Test - \inmodule TestCPP - \brief A class in a namespace. - -\if defined(test_ignoresince) - //! omitted by ignoresince - \since 1.1 -\endif - \ingroup testgroup -*/ - -/*! - \fn TestQDoc::Test::Test() - - Default constructor. -*/ - -/*! - \fn Test &Test::operator=(Test &&other) - - Move-assigns \a other. -*/ - -/*! - \class TestQDoc::TestDerived - \inmodule TestCPP - \brief A derived class in a namespace. -*/ - -/*! - \macro QDOCTEST_MACRO - \relates TestQDoc -\if defined(test_ignoresince) - //! omitted by ignoresince.Test - \since Test 0.9 -\endif -*/ - -/*! - \macro QDOCTEST_MACRO2(int &x) - \relates TestQDoc::Test - \since Test 1.1 - \brief A macro with argument \a x. - \ingroup testgroup -*/ - -/*! - \deprecated [6.0] Use someFunction() instead. -*/ -void Test::deprecatedMember() -{ - return; -} - -/*! - \obsolete - - Use someFunction() instead. -*/ -void Test::obsoleteMember() -{ - return; -} - -/*! - \obsolete Use obsoleteMember() instead. -*/ -void Test::anotherObsoleteMember() -{ - return; -} - -/*! - Function that takes a parameter \a i and \a b. -\if defined(test_ignoresince) - \since 2.0 -\endif - \ingroup testgroup -*/ -void Test::someFunctionDefaultArg(int i, bool b = false) -{ - return; -} - -/*! - \fn void Test::func(bool) - \internal -*/ - -/*! - \fn [funcPtr] void (*funcPtr(bool b, const char *s))(bool) - - Returns a pointer to a function that takes a boolean. Uses \a b and \a s. -*/ - -/*! - \fn [op-inc] Test::operator++() - \fn [op-dec] Test::operator--() - \deprecated -*/ - -// Documented below with an \fn command. Unnecessary but we support it, and it's used. -int Test::someFunction(int, int v) -{ - return v; -} - -/*! - \fn void TestQDoc::Test::inlineFunction() - - \brief An inline function, documented using the \CMDFN QDoc command. -*/ - -/*! - \fn int Test::someFunction(int, int v = 0) - - Function that takes a parameter \a v. - Also returns the value of \a v. -\if defined(test_ignoresince) - \since Test 1.0 -\endif -*/ - -/*! - Function that must be reimplemented. -*/ -void Test::virtualFun() -{ - return; -} - -/*! - \fn bool Test::operator==(const Test &lhs, const Test &rhs) - - Returns true if \a lhs and \a rhs are equal. -*/ - -/*! - \typedef Test::SomeType - \brief A typedef. -*/ - -/*! - \reimp -*/ -void TestDerived::virtualFun() -{ - return; -} - -/*! - \fn TestQDoc::Test::overload() - \fn Test::overload(bool b) - //! The second overload should match even without the fully qualified path - - Overloads that share a documentation comment, optionally taking - a parameter \a b. -*/ - -/*! - \fn Test::overload(bool b) - \since Test 1.2 -*/ - -/*! - \typealias TestDerived::DerivedType - An aliased typedef. -*/ - -/*! - \typedef TestDerived::NotTypedef - I'm an alias, not a typedef. -*/ - -/*! - \obsolete - - Static obsolete method. -*/ -void TestDerived::staticObsoleteMember() -{ - return; -} - -/*! -\if defined(test_properties) - \fn void TestDerived::emitSomething() - Emitted when things happen. -\else - \nothing -\endif -*/ - -/*! -\if defined(test_template) - \fn template <typename T1, typename T2> void TestQDoc::Test::funcTemplate(T1 a, T2 b) - \brief Function template with two parameters, \a a and \a b. -\else - \nothing -\endif -*/ - -/*! -\if defined(test_template) - \struct TestQDoc::Test::Struct - \inmodule TestCPP - \brief Templated struct. -\else - \nothing -\endif -*/ - -/*! -\if defined(test_template) - \typealias TestQDoc::Test::Specialized -\else - \nothing -\endif -*/ - -/*! -\if defined(test_template) - \class TestQDoc::Vec - \inmodule TestCPP - \brief Type alias that has its own reference. -\else - \nothing -\endif -*/ - -/*! -\if defined(test_template) - \macro Q_INVOKABLE - \relates TestQDoc::Test - - This is a mock Q_INVOKABLE for the purpose of ensuring QDoc autolink to it - as expected. -\else - \nothing -\endif -*/ - -} // namespace TestQDoc - - -/*! - \namespace CrossModuleRef - \inmodule TestCPP - \brief Namespace that has documented functions in multiple modules. -*/ -namespace CrossModuleRef { - -/*! - Document me! -*/ -void documentMe() -{ -} - -} // namespace CrossModuleRef - -/*! - \class DontLinkToMe - \inmodule TestCPP - \brief Class that does not generate documentation. -*/ - -/*! - \dontdocument (DontLinkToMe) -*/ diff --git a/tests/auto/qdoc/generatedoutput/testdata/testcpp/testcpp.h b/tests/auto/qdoc/generatedoutput/testdata/testcpp/testcpp.h deleted file mode 100644 index 80077da63..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/testcpp/testcpp.h +++ /dev/null @@ -1,151 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2019 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the tools applications of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ -#pragma once - -#ifdef test_properties -#include <QtCore/qmetaobject.h> -#include <QtCore/qproperty.h> -#include <QtCore/qstring.h> -#endif - -#define QDOCTEST_MACRO test -#define QDOCTEST_MACRO2(x) (x) < 0 ? 0 : (x)) - -namespace TestQDoc { - -class Test { -public: - -#ifdef test_template -template<typename D, typename T> struct Struct {}; -template<typename T> -using Specialized = Struct<int, T>; -#endif - -#ifdef test_template -# define Q_INVOKABLE void foo() {}; -#endif - -#ifdef test_scopedenum - enum ClassicEnum { Yee, Haw, Howdy, Partner }; - - enum class ScopedEnum : unsigned char { - This = 0x01, - That = 0x02, - All = This | That, - OmittedValue = 99, - UselessValue, - VeryLastValue - }; -#endif - typedef struct { - int data; - } SomeType; - int someFunction(int, int v = 0); - void someFunctionDefaultArg(int i, bool b); - void obsoleteMember(); - void anotherObsoleteMember(); - void deprecatedMember(); - void func(bool) {}; - //! [funcPtr] - void (*funcPtr(bool b, const char *s))(bool) { - return func; - } - //! [op-inc] - Test &operator++() { return *this; } - //! [op-dec] - Test &operator--() { return *this; } - - void anotherFunc() {}; - inline void inlineFunction() {}; - virtual void virtualFun(); - - friend bool operator==(const Test &lhs, const Test &rhs) { return false; } - -protected: - void overload() {} - void overload(bool b) { if (!b) return; } -#ifdef test_template - template <typename T1, typename T2> void funcTemplate(T1 a, T2 b) { - a = b; - } -#endif -}; - -class TestDerived : public Test { -#ifdef test_properties - Q_OBJECT - - Q_PROPERTY(QString bindableProp READ bindableProp WRITE setBindableProp NOTIFY bindablePropChanged BINDABLE bindableProp) - Q_PROPERTY(QString someProp READ someProp BINDABLE somBindableProp) - Q_PROPERTY(int *intProp READ getInt STORED false CONSTANT FINAL) - Q_PROPERTY(const QString *name READ name) - QDOC_PROPERTY(bool boolProp READ boolProp WRITE setBoolProp NOTIFY boolPropChanged RESET resetBoolProp REVISION 1) -#endif - -public: - using DerivedType = Test::SomeType; - using NotTypedef = int; - void virtualFun() override; - static void staticObsoleteMember(); -#ifdef test_properties - QBindable<QString> bindableProp(); - QBindable<QString> someBindableProp(); - const QString &someProp(); - int *getInt(); - bool boolProp(); - const QString *name() const; - - Q_INVOKABLE void invokeMe() const {} - -Q_SIGNALS: - void emitSomething(QPrivateSignal); - void bindablePropChanged(); - Q_REVISION(1) void boolPropChanged(); - -public Q_SLOTS: - void setBindableProp(const QString &s); - void setBoolProp(bool b); - void resetBoolProp(); -#endif -}; - -#ifdef test_template -template <typename T> -struct BaseVec {}; -template <typename T> -using Vec = BaseVec<T>; -#endif - -} // namespace TestQDoc - -namespace CrossModuleRef { - void documentMe(); -} - -class DontLinkToMe {}; diff --git a/tests/auto/qdoc/generatedoutput/testdata/testtemplate/testtemplate.cpp b/tests/auto/qdoc/generatedoutput/testdata/testtemplate/testtemplate.cpp deleted file mode 100644 index 3214f4061..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/testtemplate/testtemplate.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2020 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the tools applications of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#include "testtemplate.h" - -/*! - \class Foo - \inmodule TestCPP - \brief Class template. -*/ - -/*! - \class Bar - \inmodule TestCPP - \brief Another class template. -*/ - -/*! - //! Baz is a struct, QDoc auto-converts this to the correct type - \class Baz - \inmodule TestCPP - \brief Class template template. -*/ diff --git a/tests/auto/qdoc/generatedoutput/testdata/testtemplate/testtemplate.h b/tests/auto/qdoc/generatedoutput/testdata/testtemplate/testtemplate.h deleted file mode 100644 index d60ab0da4..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/testtemplate/testtemplate.h +++ /dev/null @@ -1,53 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2020 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the tools applications of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#pragma once - -template <typename T> -class Foo { -public: - Foo() {} -private: - T t; -}; - -template <typename T, typename D> -class Bar { -public: - Bar() {} -private: - T t; - D d; -}; - -template<template<typename> class X, typename Y> -struct Baz -{ - X<Y> z; - Baz() : z() {} -}; diff --git a/tests/auto/qdoc/generatedoutput/testdata/usingdirective/UsingDirective b/tests/auto/qdoc/generatedoutput/testdata/usingdirective/UsingDirective deleted file mode 100644 index 422d01e91..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/usingdirective/UsingDirective +++ /dev/null @@ -1,2 +0,0 @@ -#include "alias.h" -#include "space.h" diff --git a/tests/auto/qdoc/generatedoutput/testdata/usingdirective/alias.h b/tests/auto/qdoc/generatedoutput/testdata/usingdirective/alias.h deleted file mode 100644 index 1fb9ee471..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/usingdirective/alias.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#include "space.h" - -namespace Alias { - using spacename = Space::spacename; -} diff --git a/tests/auto/qdoc/generatedoutput/testdata/usingdirective/space.cpp b/tests/auto/qdoc/generatedoutput/testdata/usingdirective/space.cpp deleted file mode 100644 index 4a4962550..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/usingdirective/space.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "space.h" - -/*! - \namespace Space - \inmodule UsingDirective - \brief A namespace...in space. -*/ - -using namespace Alias; -using namespace Space; - -/*! - \relates Space - A \a space function. -*/ -void spaceFun(spacename space) -{ -} diff --git a/tests/auto/qdoc/generatedoutput/testdata/usingdirective/space.h b/tests/auto/qdoc/generatedoutput/testdata/usingdirective/space.h deleted file mode 100644 index 9ac01fba6..000000000 --- a/tests/auto/qdoc/generatedoutput/testdata/usingdirective/space.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -namespace Space { - typedef int spacename; -} - -void spaceFun(Space::spacename space); |