tst_qurlinternal: use qurl_p.h instead of declaring the functions

Just in case someone (like me) changes the function signatures or adds
new functions.

Change-Id: I1025fea012d95ffe89acaf799aa58fd2b0babc80
Reviewed-by: David Faure <faure@kde.org>
This commit is contained in:
Thiago Macieira 2012-08-20 13:19:46 +02:00 committed by Qt by Nokia
parent 373845dfd8
commit 60818231d8
2 changed files with 2 additions and 10 deletions

View File

@ -173,7 +173,7 @@ public:
// in qurlrecode.cpp
extern Q_AUTOTEST_EXPORT int qt_urlRecode(QString &appendTo, const QChar *begin, const QChar *end,
QUrl::ComponentFormattingOptions encoding, const ushort *tableModifications);
QUrl::ComponentFormattingOptions encoding, const ushort *tableModifications = 0);
// in qurlidna.cpp
enum AceOperation { ToAceOnly, NormalizeAce };

View File

@ -44,15 +44,7 @@
#include <QtTest/QtTest>
#include "private/qtldurl_p.h"
QT_BEGIN_NAMESPACE
Q_CORE_EXPORT extern void qt_nameprep(QString *source, int from);
Q_CORE_EXPORT extern bool qt_check_std3rules(const QChar *, int);
Q_CORE_EXPORT void qt_punycodeEncoder(const QChar *s, int ucLength, QString *output);
Q_CORE_EXPORT QString qt_punycodeDecoder(const QString &pc);
Q_CORE_EXPORT int qt_urlRecode(QString &appendTo, const QChar *input, const QChar *end,
QUrl::ComponentFormattingOptions encoding, const ushort *tableModifications = 0);
QT_END_NAMESPACE
#include "private/qurl_p.h"
// For testsuites
#define IDNA_ACE_PREFIX "xn--"