QFutureWatcher: Make constructors explicit
Change-Id: I363665725869993b10985004c1c6441ded435dbc Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>bb10
parent
bf66eebbc2
commit
6ee0135e9d
|
|
@ -63,7 +63,7 @@ class Q_CONCURRENT_EXPORT QFutureWatcherBase : public QObject
|
|||
Q_DECLARE_PRIVATE(QFutureWatcherBase)
|
||||
|
||||
public:
|
||||
QFutureWatcherBase(QObject *parent = 0);
|
||||
explicit QFutureWatcherBase(QObject *parent = 0);
|
||||
|
||||
int progressValue() const;
|
||||
int progressMinimum() const;
|
||||
|
|
@ -119,7 +119,7 @@ template <typename T>
|
|||
class QFutureWatcher : public QFutureWatcherBase
|
||||
{
|
||||
public:
|
||||
QFutureWatcher(QObject *_parent = 0)
|
||||
explicit QFutureWatcher(QObject *_parent = 0)
|
||||
: QFutureWatcherBase(_parent)
|
||||
{ }
|
||||
~QFutureWatcher()
|
||||
|
|
@ -189,7 +189,7 @@ template <>
|
|||
class QFutureWatcher<void> : public QFutureWatcherBase
|
||||
{
|
||||
public:
|
||||
QFutureWatcher(QObject *_parent = 0)
|
||||
explicit QFutureWatcher(QObject *_parent = 0)
|
||||
: QFutureWatcherBase(_parent)
|
||||
{ }
|
||||
~QFutureWatcher()
|
||||
|
|
|
|||
Loading…
Reference in New Issue