summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoão Abecasis <joao.abecasis@nokia.com>2010-08-30 08:36:30 (GMT)
committerJoão Abecasis <joao.abecasis@nokia.com>2010-08-30 12:00:06 (GMT)
commitb56fad9c12615ac135a36a468c020906f383a0d1 (patch)
treea62930f230faf156da672f262c4af5c84e838fc5
parente2eeb1b2410d32b629c675b63dd84c9dcb976546 (diff)
downloadQt-b56fad9c12615ac135a36a468c020906f383a0d1.zip
Qt-b56fad9c12615ac135a36a468c020906f383a0d1.tar.gz
Qt-b56fad9c12615ac135a36a468c020906f383a0d1.tar.bz2
Added missing QT_BEGIN/END_NAMESPACE
to implementation files in new QFileSystem* API.
-rw-r--r--src/corelib/io/qfilesystemengine_mac.cpp4
-rw-r--r--src/corelib/io/qfilesystemengine_unix.cpp4
-rw-r--r--src/corelib/io/qfilesystemengine_win.cpp4
-rw-r--r--src/corelib/io/qfilesystementry.cpp7
4 files changed, 18 insertions, 1 deletions
diff --git a/src/corelib/io/qfilesystemengine_mac.cpp b/src/corelib/io/qfilesystemengine_mac.cpp
index ac71f0e..942415c 100644
--- a/src/corelib/io/qfilesystemengine_mac.cpp
+++ b/src/corelib/io/qfilesystemengine_mac.cpp
@@ -41,6 +41,8 @@
#include "qfilesystemengine_p.h"
+QT_BEGIN_NAMESPACE
+
bool QFileSystemEngine::isCaseSensitive()
{
return true;
@@ -117,3 +119,5 @@ bool QFileSystemEngine::setPermissions(const QFileSystemEntry &entry, QFile::Per
{
return false; // TODO implement;
}
+
+QT_END_NAMESPACE
diff --git a/src/corelib/io/qfilesystemengine_unix.cpp b/src/corelib/io/qfilesystemengine_unix.cpp
index bcd75fc..2274e69 100644
--- a/src/corelib/io/qfilesystemengine_unix.cpp
+++ b/src/corelib/io/qfilesystemengine_unix.cpp
@@ -42,6 +42,8 @@
#include "qfilesystemengine_p.h"
#include "qfsfileengine.h"
+QT_BEGIN_NAMESPACE
+
bool QFileSystemEngine::isCaseSensitive()
{
return true;
@@ -145,3 +147,5 @@ bool QFileSystemEngine::setPermissions(const QFileSystemEntry &entry, QFile::Per
{
return false; // TODO implement;
}
+
+QT_END_NAMESPACE
diff --git a/src/corelib/io/qfilesystemengine_win.cpp b/src/corelib/io/qfilesystemengine_win.cpp
index ac71f0e..942415c 100644
--- a/src/corelib/io/qfilesystemengine_win.cpp
+++ b/src/corelib/io/qfilesystemengine_win.cpp
@@ -41,6 +41,8 @@
#include "qfilesystemengine_p.h"
+QT_BEGIN_NAMESPACE
+
bool QFileSystemEngine::isCaseSensitive()
{
return true;
@@ -117,3 +119,5 @@ bool QFileSystemEngine::setPermissions(const QFileSystemEntry &entry, QFile::Per
{
return false; // TODO implement;
}
+
+QT_END_NAMESPACE
diff --git a/src/corelib/io/qfilesystementry.cpp b/src/corelib/io/qfilesystementry.cpp
index bed5435..5858ab3 100644
--- a/src/corelib/io/qfilesystementry.cpp
+++ b/src/corelib/io/qfilesystementry.cpp
@@ -40,7 +40,10 @@
****************************************************************************/
#include "qfilesystementry_p.h"
-#include "qdir.h"
+
+#include <QtCore/qdir.h>
+
+QT_BEGIN_NAMESPACE
QFileSystemEntry::QFileSystemEntry(const QString &filePath)
: m_filePath(filePath),
@@ -195,3 +198,5 @@ void QFileSystemEntry::findFileNameSeparators() const
m_lastDotInFileName = firstDotInFileName - lastSeparator;
}
}
+
+QT_END_NAMESPACE