summaryrefslogtreecommitdiffstats
path: root/src/corelib/io
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2012-05-04 15:27:56 +0200
committerQt by Nokia <qt-info@nokia.com>2012-07-10 03:24:18 +0200
commit9fb539085eb0cb415fb1b02708eda72c5d372353 (patch)
tree1d2a1b9a0969b2b28ab3ee6e5f207163aa9b8298 /src/corelib/io
parent7e0562c5ff18e2ddd72bccd133a762fd37e50eba (diff)
QtCore: mark some classes as shared
Change-Id: I811d3eebd87c230883cc579c20f9fa4e14ff9521 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/io')
-rw-r--r--src/corelib/io/qdebug.h2
-rw-r--r--src/corelib/io/qdir.h1
-rw-r--r--src/corelib/io/qprocess.h2
3 files changed, 5 insertions, 0 deletions
diff --git a/src/corelib/io/qdebug.h b/src/corelib/io/qdebug.h
index f0e59c8c65..4d546a9ca1 100644
--- a/src/corelib/io/qdebug.h
+++ b/src/corelib/io/qdebug.h
@@ -127,6 +127,8 @@ public:
{ stream->ts << m; return *this; }
};
+Q_DECLARE_SHARED(QDebug)
+
class QNoDebug
{
public:
diff --git a/src/corelib/io/qdir.h b/src/corelib/io/qdir.h
index a6f9b326ad..14810a450e 100644
--- a/src/corelib/io/qdir.h
+++ b/src/corelib/io/qdir.h
@@ -224,6 +224,7 @@ private:
};
+Q_DECLARE_SHARED(QDir)
Q_DECLARE_OPERATORS_FOR_FLAGS(QDir::Filters)
Q_DECLARE_OPERATORS_FOR_FLAGS(QDir::SortFlags)
diff --git a/src/corelib/io/qprocess.h b/src/corelib/io/qprocess.h
index dbc226ef81..3e72a4b815 100644
--- a/src/corelib/io/qprocess.h
+++ b/src/corelib/io/qprocess.h
@@ -100,6 +100,8 @@ private:
QSharedDataPointer<QProcessEnvironmentPrivate> d;
};
+Q_DECLARE_SHARED(QProcessEnvironment)
+
class Q_CORE_EXPORT QProcess : public QIODevice
{
Q_OBJECT