summaryrefslogtreecommitdiffstats
path: root/tests/auto/qsharedpointer_and_qwidget
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2009-08-21 15:24:17 +0200
committerhjk <qtc-committer@nokia.com>2009-08-21 18:01:15 +0200
commit2590135cd8542aa780141b67ab8fa4227ee4fde0 (patch)
tree52d38fb17d41b2a7bf5363f20637cef69cb0cae7 /tests/auto/qsharedpointer_and_qwidget
parentd0a1f4de851eb89665b0a3909adcfe150118bc77 (diff)
make moc, qregion and qsharedpointer autotest compile with namespaces
Diffstat (limited to 'tests/auto/qsharedpointer_and_qwidget')
-rw-r--r--tests/auto/qsharedpointer_and_qwidget/tst_qsharedpointer_and_qwidget.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qsharedpointer_and_qwidget/tst_qsharedpointer_and_qwidget.cpp b/tests/auto/qsharedpointer_and_qwidget/tst_qsharedpointer_and_qwidget.cpp
index d03b999a38..744e86a13b 100644
--- a/tests/auto/qsharedpointer_and_qwidget/tst_qsharedpointer_and_qwidget.cpp
+++ b/tests/auto/qsharedpointer_and_qwidget/tst_qsharedpointer_and_qwidget.cpp
@@ -43,9 +43,11 @@
#include <QtGui/QPushButton>
#include <QtTest/QtTest>
+QT_BEGIN_NAMESPACE
namespace QtSharedPointer {
Q_CORE_EXPORT void internalSafetyCheckCleanCheck();
}
+QT_END_NAMESPACE
class tst_QSharedPointer_and_QWidget: public QObject
{