diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qxmlquery/PushBaseliner.h | 24 | ||||
-rw-r--r-- | tests/auto/xmlpatternssdk/ErrorHandler.h | 3 | ||||
-rw-r--r-- | tests/auto/xmlpatternssdk/TestBaseLine.h | 2 | ||||
-rw-r--r-- | tests/auto/xmlpatternssdk/TreeItem.cpp | 2 | ||||
-rw-r--r-- | tests/auto/xmlpatternssdk/TreeItem.h | 2 | ||||
-rw-r--r-- | tests/auto/xmlpatternsview/view/MainWindow.cpp | 2 |
6 files changed, 18 insertions, 17 deletions
diff --git a/tests/auto/qxmlquery/PushBaseliner.h b/tests/auto/qxmlquery/PushBaseliner.h index 37d89ae..5553b8b 100644 --- a/tests/auto/qxmlquery/PushBaseliner.h +++ b/tests/auto/qxmlquery/PushBaseliner.h @@ -80,62 +80,62 @@ bool PushBaseliner::isValid() const void PushBaseliner::startElement(const QXmlName &name) { - m_out << "startElement(" << name.toClarkName(m_namePool) << ')'<< endl; + m_out << "startElement(" << name.toClarkName(m_namePool) << ')'<< Qt::endl; } void PushBaseliner::endElement() { - m_out << "endElement()" << endl; + m_out << "endElement()" << Qt::endl; } void PushBaseliner::attribute(const QXmlName &name, const QStringRef &value) { - m_out << "attribute(" << name.toClarkName(m_namePool) << ", " << value.toString() << ')'<< endl; + m_out << "attribute(" << name.toClarkName(m_namePool) << ", " << value.toString() << ')'<< Qt::endl; } void PushBaseliner::comment(const QString &value) { - m_out << "comment(" << value << ')' << endl; + m_out << "comment(" << value << ')' << Qt::endl; } void PushBaseliner::characters(const QStringRef &value) { - m_out << "characters(" << value.toString() << ')' << endl; + m_out << "characters(" << value.toString() << ')' << Qt::endl; } void PushBaseliner::startDocument() { - m_out << "startDocument()" << endl; + m_out << "startDocument()" << Qt::endl; } void PushBaseliner::endDocument() { - m_out << "endDocument()" << endl; + m_out << "endDocument()" << Qt::endl; } void PushBaseliner::processingInstruction(const QXmlName &name, const QString &data) { - m_out << "processingInstruction(" << name.toClarkName(m_namePool) << ", " << data << ')' << endl; + m_out << "processingInstruction(" << name.toClarkName(m_namePool) << ", " << data << ')' << Qt::endl; } void PushBaseliner::atomicValue(const QVariant &val) { - m_out << "atomicValue(" << val.toString() << ')' << endl; + m_out << "atomicValue(" << val.toString() << ')' << Qt::endl; } void PushBaseliner::namespaceBinding(const QXmlName &name) { - m_out << "namespaceBinding(" << name.toClarkName(m_namePool) << ')' << endl; + m_out << "namespaceBinding(" << name.toClarkName(m_namePool) << ')' << Qt::endl; } void PushBaseliner::startOfSequence() { - m_out << "startOfSequence()" << endl; + m_out << "startOfSequence()" << Qt::endl; } void PushBaseliner::endOfSequence() { - m_out << "endOfSequence()" << endl; + m_out << "endOfSequence()" << Qt::endl; } #endif diff --git a/tests/auto/xmlpatternssdk/ErrorHandler.h b/tests/auto/xmlpatternssdk/ErrorHandler.h index 0e79cda..448655d 100644 --- a/tests/auto/xmlpatternssdk/ErrorHandler.h +++ b/tests/auto/xmlpatternssdk/ErrorHandler.h @@ -31,12 +31,11 @@ #include "Global.h" #include "qabstractmessagehandler.h" +#include <qcontainerfwd.h> QT_BEGIN_NAMESPACE -template<typename T> class QList; - namespace QPatternistSDK { /** diff --git a/tests/auto/xmlpatternssdk/TestBaseLine.h b/tests/auto/xmlpatternssdk/TestBaseLine.h index 5e757fa..da1e102 100644 --- a/tests/auto/xmlpatternssdk/TestBaseLine.h +++ b/tests/auto/xmlpatternssdk/TestBaseLine.h @@ -30,6 +30,7 @@ #define PatternistSDK_TestBaseLine_H #include <QString> +#include <qcontainerfwd.h> #include "Global.h" #include "TestResult.h" @@ -39,7 +40,6 @@ QT_BEGIN_NAMESPACE class QDomNamedNodeMap; class QDomNode; class QDomNodeList; -template<typename T> class QList; namespace QPatternistSDK { diff --git a/tests/auto/xmlpatternssdk/TreeItem.cpp b/tests/auto/xmlpatternssdk/TreeItem.cpp index 696693c..68803da 100644 --- a/tests/auto/xmlpatternssdk/TreeItem.cpp +++ b/tests/auto/xmlpatternssdk/TreeItem.cpp @@ -30,6 +30,8 @@ #include "TreeItem.h" +#include <limits.h> + using namespace QPatternistSDK; int TreeItem::row() const diff --git a/tests/auto/xmlpatternssdk/TreeItem.h b/tests/auto/xmlpatternssdk/TreeItem.h index dbc203e..09eed5a 100644 --- a/tests/auto/xmlpatternssdk/TreeItem.h +++ b/tests/auto/xmlpatternssdk/TreeItem.h @@ -30,13 +30,13 @@ #define PatternistSDK_TreeItem_H #include <QObject> +#include <qcontainerfwd.h> #include "Global.h" QT_BEGIN_NAMESPACE class QVariant; -template<typename T> class QList; template<typename T> class QPointer; namespace QPatternistSDK diff --git a/tests/auto/xmlpatternsview/view/MainWindow.cpp b/tests/auto/xmlpatternsview/view/MainWindow.cpp index b0066ff..1c28d81 100644 --- a/tests/auto/xmlpatternsview/view/MainWindow.cpp +++ b/tests/auto/xmlpatternsview/view/MainWindow.cpp @@ -487,7 +487,7 @@ void MainWindow::on_actionRestart_triggered() else { QTextStream err(stderr); - err << "Failed to start " << qPrintable(QCoreApplication::applicationFilePath()) << endl; + err << "Failed to start " << qPrintable(QCoreApplication::applicationFilePath()) << Qt::endl; } } |