summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qdir.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/io/qdir.cpp')
-rw-r--r--src/corelib/io/qdir.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/corelib/io/qdir.cpp b/src/corelib/io/qdir.cpp
index e7fdc4ad55..32fd81981b 100644
--- a/src/corelib/io/qdir.cpp
+++ b/src/corelib/io/qdir.cpp
@@ -508,6 +508,13 @@ inline void QDirPrivate::initFileEngine()
*/
/*!
+ \internal
+*/
+QDir::QDir(QDirPrivate &p) : d_ptr(&p)
+{
+}
+
+/*!
Constructs a QDir pointing to the given directory \a path. If path
is empty the program's working directory, ("."), is used.
@@ -2097,6 +2104,13 @@ void QDir::refresh() const
d->clearFileLists();
}
+/*! \internal
+*/
+QDirPrivate* QDir::d_func()
+{
+ return d_ptr.data();
+}
+
/*!
\internal