summaryrefslogtreecommitdiffstats
path: root/qmake/library/qmakevfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'qmake/library/qmakevfs.h')
-rw-r--r--qmake/library/qmakevfs.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/qmake/library/qmakevfs.h b/qmake/library/qmakevfs.h
index 3b69b60bee..1217225471 100644
--- a/qmake/library/qmakevfs.h
+++ b/qmake/library/qmakevfs.h
@@ -38,6 +38,10 @@
# include <qmutex.h>
#endif
+#ifndef QT_NO_TEXTCODEC
+QT_FORWARD_DECLARE_CLASS(QTextCodec)
+#endif
+
#ifdef PROEVALUATOR_DUAL_VFS
# ifndef PROEVALUATOR_CUMULATIVE
# error PROEVALUATOR_DUAL_VFS requires PROEVALUATOR_CUMULATIVE
@@ -85,6 +89,10 @@ public:
void invalidateContents();
#endif
+#ifndef QT_NO_TEXTCODEC
+ void setTextCodec(const QTextCodec *textCodec);
+#endif
+
private:
#ifdef PROEVALUATOR_THREAD_SAFE
static QMutex s_mutex;
@@ -117,6 +125,9 @@ private:
QString m_magicMissing;
QString m_magicExisting;
#endif
+#ifndef QT_NO_TEXTCODEC
+ const QTextCodec *m_textCodec;
+#endif
};
Q_DECLARE_OPERATORS_FOR_FLAGS(QMakeVfs::VfsFlags)