From 86e4fa339c2e8e4d3f55811ce151318f241abd4f Mon Sep 17 00:00:00 2001 From: Toby Tomkins Date: Wed, 28 Dec 2011 17:32:01 +1000 Subject: Fixed QtJsonDb namespace compilation. Change-Id: I6bb93e635aac72f89efe6a91209595e0dd432709 Sanity-Review: Qt Sanity Bot Reviewed-by: Rohan McGovern --- tools/aodbread/main.cpp | 2 +- tools/jsondb-client/client.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/aodbread/main.cpp b/tools/aodbread/main.cpp index 9ccd7279..64ee8309 100644 --- a/tools/aodbread/main.cpp +++ b/tools/aodbread/main.cpp @@ -49,7 +49,7 @@ #include "json.h" -using namespace QtAddOn::JsonDb; +QT_ADDON_JSONDB_USE_NAMESPACE QString printable(const QByteArray &ba) { diff --git a/tools/jsondb-client/client.cpp b/tools/jsondb-client/client.cpp index 795b86aa..70197e02 100644 --- a/tools/jsondb-client/client.cpp +++ b/tools/jsondb-client/client.cpp @@ -54,7 +54,7 @@ #include "client.h" -Q_USE_JSONDB_NAMESPACE +QT_ADDON_JSONDB_USE_NAMESPACE extern bool gDebug; -- cgit v1.2.3