summaryrefslogtreecommitdiffstats
path: root/mkspecs/macx-clang-32
Commit message (Expand)AuthorAgeFilesLines
* Mac: Set minimum version to 10.7 for clang-libc++Morten Johan Sorvig2012-10-241-0/+1
* Enable HiDPI mode for retina displays.Morten Sorvig2012-10-231-0/+2
* Change copyrights from Nokia to DigiaIikka Eklund2012-09-221-25/+25
* centralize initialization of CONFIG in mkspecsOswald Buddenhagen2012-09-081-1/+1
* centralize initialization of QT in specsOswald Buddenhagen2012-09-081-1/+0
* remove useless TEMPLATE assignments from specsOswald Buddenhagen2012-09-081-1/+0
* adjust specs to the new target mode handlingOswald Buddenhagen2012-09-081-1/+0
* Fix indentation.Morten Sorvig2012-09-041-1/+1
* Add mkspecs for 32-bit Mac OS X builds.Morten Johan Sorvig2012-05-044-0/+103
en agreement between you and Digia. For licensing terms and ** conditions see http://qt.digia.com/licensing. For further information ** use the contact form at http://qt.digia.com/contact-us. ** ** GNU Lesser General Public License Usage ** Alternatively, this file may be used under the terms of the GNU Lesser ** General Public License version 2.1 as published by the Free Software ** Foundation and appearing in the file LICENSE.LGPL included in the ** packaging of this file. Please review the following information to ** ensure the GNU Lesser General Public License version 2.1 requirements ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. ** ** In addition, as a special exception, Digia gives you certain additional ** rights. These rights are described in the Digia Qt LGPL Exception ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. ** ** GNU General Public License Usage ** Alternatively, this file may be used under the terms of the GNU ** General Public License version 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the ** packaging of this file. Please review the following information to ** ensure the GNU General Public License version 3.0 requirements will be ** met: http://www.gnu.org/copyleft/gpl.html. ** ** ** $QT_END_LICENSE$ ** ****************************************************************************/ #ifndef QRUNNABLE_H #define QRUNNABLE_H #include <QtCore/qglobal.h> QT_BEGIN_NAMESPACE class QRunnable { int ref; friend class QThreadPool; friend class QThreadPoolPrivate; friend class QThreadPoolThread; public: virtual void run() = 0; QRunnable() : ref(0) { } virtual ~QRunnable() { } bool autoDelete() const { return ref != -1; } void setAutoDelete(bool _autoDelete) { ref = _autoDelete ? 0 : -1; } }; QT_END_NAMESPACE #endif