From 58cb19e55e92f5386458adbf54ff64adbcb85ed3 Mon Sep 17 00:00:00 2001 From: hjk Date: Fri, 16 Sep 2011 15:00:41 +0200 Subject: all: less QScopedPointer Change-Id: I536bdb4d4f0c10fa858560f3c160fc0fff8da9b2 Reviewed-on: http://codereview.qt-project.org/5116 Reviewed-by: hjk --- src/plugins/vcsbase/vcsjobrunner.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/plugins/vcsbase/vcsjobrunner.h') diff --git a/src/plugins/vcsbase/vcsjobrunner.h b/src/plugins/vcsbase/vcsjobrunner.h index 8186a0fbad7..ece94fa7dd0 100644 --- a/src/plugins/vcsbase/vcsjobrunner.h +++ b/src/plugins/vcsbase/vcsjobrunner.h @@ -40,7 +40,6 @@ #include #include #include -#include #include QT_BEGIN_NAMESPACE @@ -54,6 +53,7 @@ class VCSJobRunnerPrivate; class VCSBASE_EXPORT VCSJob : public QObject { Q_OBJECT + public: enum DataEmitMode { NoDataEmitMode, @@ -61,11 +61,9 @@ public: EditorDataEmitMode }; - VCSJob(const QString &workingDir, - const QStringList &args, + VCSJob(const QString &workingDir, const QStringList &args, DataEmitMode emitMode = NoDataEmitMode); - VCSJob(const QString &workingDir, - const QStringList &args, + VCSJob(const QString &workingDir, const QStringList &args, VCSBase::VCSBaseEditorWidget *editor); DataEmitMode dataEmitMode() const; @@ -97,6 +95,7 @@ private: class VCSBASE_EXPORT VCSJobRunner : public QThread { Q_OBJECT + public: VCSJobRunner(); ~VCSJobRunner(); @@ -127,7 +126,7 @@ private: void task(const QSharedPointer &job); void stop(); - QScopedPointer d; + VCSJobRunnerPrivate *d; }; } //namespace VCSBase -- cgit v1.2.3