summaryrefslogtreecommitdiff
path: root/tests/auto/patternistexamples
diff options
context:
space:
mode:
authorJerome Pasion <jerome.pasion@digia.com>2012-11-22 16:35:24 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-11-23 13:16:20 +0100
commit051aeb291646745559c47da160193bdcbd34ef2b (patch)
tree50040152b4dfe22238ef0446c9e57ff1b345bdd4 /tests/auto/patternistexamples
parentb34af22fcc7e9321e5a7943763cd68a1d51a36d5 (diff)
downloadqtxmlpatterns-051aeb291646745559c47da160193bdcbd34ef2b.tar.gz
Doc: Modularized Qt XML Patterns documentation.
-moved snippets, images, documentation to src/xmlpatterns -fixed \snippet tag -ported module information from qtdoc repository -enabled "make docs" for the module -set up qdocconf file and .index file -updated tests/auto/patternistexamples to point to the new snippet locations Change-Id: Ifd10733c277c6dbacac42898c8e7bacd00d23f27 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'tests/auto/patternistexamples')
-rw-r--r--tests/auto/patternistexamples/tst_patternistexamples.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/tests/auto/patternistexamples/tst_patternistexamples.cpp b/tests/auto/patternistexamples/tst_patternistexamples.cpp
index f3ef905..b34622a 100644
--- a/tests/auto/patternistexamples/tst_patternistexamples.cpp
+++ b/tests/auto/patternistexamples/tst_patternistexamples.cpp
@@ -82,7 +82,7 @@ private:
void tst_PatternistExamples::initTestCase()
{
#ifndef Q_OS_WINCE
- m_dirs.append(QDir(QLatin1String(SOURCETREE "doc/src/snippets/patternist/")));
+ m_dirs.append(QDir(QLatin1String(SOURCETREE "src/xmlpatterns/doc/snippets/patternist/")));
m_dirs.append(QDir(QLatin1String(SOURCETREE "examples/xmlpatterns/xquery/globalVariables/")));
m_dirs.append(QDir(QLatin1String(SOURCETREE "examples/xmlpatterns/filetree/")));
m_dirs.append(QDir(QLatin1String(SOURCETREE "examples/xmlpatterns/recipes/")));
@@ -219,7 +219,7 @@ static QUrl abstractURI()
{
QUrl baseURI;
QUrl relative;
-#include "../../../doc/src/snippets/code/src_xmlpatterns_api_qabstracturiresolver.cpp"
+#include "../../../src/xmlpatterns/doc/snippets/code/src_xmlpatterns_api_qabstracturiresolver.cpp"
}
class MyValue
@@ -296,7 +296,7 @@ MyTreeModel::MyTreeModel(const QXmlNamePool &np, const QFile &) : QSimpleXmlNode
{
}
-#include "../../../doc/src/snippets/code/src_xmlpatterns_api_qsimplexmlnodemodel.cpp"
+#include "../../../src/xmlpatterns/doc/snippets/code/src_xmlpatterns_api_qsimplexmlnodemodel.cpp"
class MyMapper
{
@@ -305,10 +305,10 @@ public:
enum OutputType
{
};
-#include "../../../doc/src/snippets/code/src_xmlpatterns_api_qabstractxmlforwarditerator.cpp"
+#include "../../../src/xmlpatterns/doc/snippets/code/src_xmlpatterns_api_qabstractxmlforwarditerator.cpp"
};
-#include "../../../doc/src/snippets/code/src_xmlpatterns_api_qxmlname.cpp"
+#include "../../../src/xmlpatterns/doc/snippets/code/src_xmlpatterns_api_qxmlname.cpp"
void tst_PatternistExamples::buildSnippets() const
{
@@ -322,7 +322,7 @@ void tst_PatternistExamples::buildSnippets() const
}
{
-#include "../../../doc/src/snippets/code/src_xmlpatterns_api_qxmlresultitems.cpp"
+#include "../../../src/xmlpatterns/doc/snippets/code/src_xmlpatterns_api_qxmlresultitems.cpp"
}
{
@@ -330,19 +330,19 @@ void tst_PatternistExamples::buildSnippets() const
{
QIODevice *myOutputDevice = 0;
-#include "../../../doc/src/snippets/code/src_xmlpatterns_api_qxmlformatter.cpp"
+#include "../../../src/xmlpatterns/doc/snippets/code/src_xmlpatterns_api_qxmlformatter.cpp"
}
{
QIODevice *myOutputDevice = 0;
-#include "../../../doc/src/snippets/code/src_xmlpatterns_api_qxmlserializer.cpp"
+#include "../../../src/xmlpatterns/doc/snippets/code/src_xmlpatterns_api_qxmlserializer.cpp"
}
{
QXmlNodeModelIndex myInstance;
const char **argv = 0;
typedef MyTreeModel ChemistryNodeModel;
-#include "../../../doc/src/snippets/code/src_xmlpatterns_api_qabstractxmlnodemodel.cpp"
+#include "../../../src/xmlpatterns/doc/snippets/code/src_xmlpatterns_api_qabstractxmlnodemodel.cpp"
}
{
@@ -350,14 +350,14 @@ void tst_PatternistExamples::buildSnippets() const
{
QIODevice *myOutputDevice = 0;
-#include "../../../doc/src/snippets/code/src_xmlpatterns_api_qabstractxmlreceiver.cpp"
+#include "../../../src/xmlpatterns/doc/snippets/code/src_xmlpatterns_api_qabstractxmlreceiver.cpp"
}
{
QXmlQuery query;
QString localName;
QVariant value;
-#include "../../../doc/src/snippets/code/src_xmlpatterns_api_qxmlquery.cpp"
+#include "../../../src/xmlpatterns/doc/snippets/code/src_xmlpatterns_api_qxmlquery.cpp"
}
}