Add Q_DECL_DEPRECATED to all methods that are pending removal once
http://codereview.qt-project.org/#change,6243 is merged.
This is necessary to give people time to react to the source
incompatible change.
Change-Id: Ia72f184d630d593f96dd1d95ad6cd0d3bd5d811c
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
inline QAtomicInt &operator=(int value)
{
this->store(value);
return *this;
}
inline QAtomicInt &operator=(int value)
{
this->store(value);
return *this;
}
inline QAtomicInt &operator=(const QAtomicInt &other)
{
this->store(other.load());
return *this;
}
inline QAtomicInt &operator=(const QAtomicInt &other)
{
this->store(other.load());
return *this;
}
inline bool operator==(int value) const
{
return this->load() == value;
}
inline bool operator==(int value) const
{
return this->load() == value;
}
inline bool operator!=(int value) const
{
return this->load() != value;
}
inline bool operator!=(int value) const
{
return this->load() != value;
}
inline operator int() const
{
return this->load();
}
inline operator int() const
{
return this->load();
}
inline bool operator!() const
{
return !this->load();
inline bool operator!() const
{
return !this->load();
this->store(other.load());
}
this->store(other.load());
}
inline QAtomicPointer<T> &operator=(T *value)
{
this->store(value);
return *this;
}
inline QAtomicPointer<T> &operator=(T *value)
{
this->store(value);
return *this;
}
inline QAtomicPointer<T> &operator=(const QAtomicPointer<T> &other)
{
this->store(other.load());
return *this;
}
inline QAtomicPointer<T> &operator=(const QAtomicPointer<T> &other)
{
this->store(other.load());
return *this;
}
inline bool operator==(T *value) const
{
return this->load() == value;
}
inline bool operator==(T *value) const
{
return this->load() == value;
}
inline bool operator!=(T *value) const
{
return this->load() != value;
}
inline bool operator!=(T *value) const
{
return this->load() != value;
}
inline bool operator!() const
{
return !this->load();
}
inline bool operator!() const
{
return !this->load();
}
inline operator T *() const
{
return this->load();
}
inline operator T *() const
{
return this->load();
}
inline T *operator->() const
{
return this->load();
inline T *operator->() const
{
return this->load();