summaryrefslogtreecommitdiffstats
path: root/src/corelib/io
diff options
context:
space:
mode:
authorRitt Konstantin <ritt.ks@gmail.com>2010-01-26 16:26:49 (GMT)
committerJoão Abecasis <joao@trolltech.com>2010-01-26 16:26:49 (GMT)
commitfbd0b8c0f6dce834b241f6beb755d2c2cb013305 (patch)
tree399b8ef551aea45c0f43c2b1d0802c0d0ba46b61 /src/corelib/io
parentd48fdf76f721b97e427073c665102e1b42398883 (diff)
downloadQt-fbd0b8c0f6dce834b241f6beb755d2c2cb013305.zip
Qt-fbd0b8c0f6dce834b241f6beb755d2c2cb013305.tar.gz
Qt-fbd0b8c0f6dce834b241f6beb755d2c2cb013305.tar.bz2
qfileinfo_p.h: removed unnecessary dependency on QFSFileEngine
Moved includes into proper place. Merge-request: 446 Reviewed-by: João Abecasis <joao@trolltech.com>
Diffstat (limited to 'src/corelib/io')
-rw-r--r--src/corelib/io/qfileinfo.cpp3
-rw-r--r--src/corelib/io/qfileinfo_p.h5
2 files changed, 4 insertions, 4 deletions
diff --git a/src/corelib/io/qfileinfo.cpp b/src/corelib/io/qfileinfo.cpp
index 6616066..f4e92a5 100644
--- a/src/corelib/io/qfileinfo.cpp
+++ b/src/corelib/io/qfileinfo.cpp
@@ -41,11 +41,8 @@
#include "qplatformdefs.h"
#include "qfileinfo.h"
-#include "qdatetime.h"
-#include "qabstractfileengine.h"
#include "qfsfileengine_p.h"
#include "qglobal.h"
-#include "qatomic.h"
#include "qhash.h"
#include "qdir.h"
#include "qfileinfo_p.h"
diff --git a/src/corelib/io/qfileinfo_p.h b/src/corelib/io/qfileinfo_p.h
index 8e00909..bf02aaa 100644
--- a/src/corelib/io/qfileinfo_p.h
+++ b/src/corelib/io/qfileinfo_p.h
@@ -54,6 +54,9 @@
//
#include "qfileinfo.h"
+#include "qabstractfileengine.h"
+#include "qdatetime.h"
+#include "qatomic.h"
QT_BEGIN_NAMESPACE
@@ -94,7 +97,7 @@ public:
fileFlags = 0;
cachedFlags = 0;
if (fileEngine)
- (void)fileEngine->fileFlags(QFSFileEngine::Refresh);
+ (void)fileEngine->fileFlags(QAbstractFileEngine::Refresh);
}
inline void clear() {
clearFlags();