Conversion QT_THREAD_SUPPORT -> TQT_THREAD_SUPPORT

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/4/head
Slávek Banko 6 years ago
parent 1f693264be
commit cbe888f1c4
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -461,7 +461,7 @@ LOOP:
$p =~ m/^#\s*if\s+defined\(Q_WS_/ or
$p =~ m/^#\s*if\s+defined\(Q_OS_/ or
$p =~ m/^#\s*if\s+defined\(Q_CC_/ or
$p =~ m/^#\s*if\s+defined\(QT_THREAD_SUPPORT/ or
$p =~ m/^#\s*if\s+defined\(TQT_THREAD_SUPPORT/ or
$p =~ m/^#\s*else/ or
$p =~ m/^#\s*if\s+defined\(Q_FULL_TEMPLATE_INSTANTIATION/ or
$p =~ m/^#\s*ifdef\s+CONTAINER_CUSTOM_WIDGETS/ or

@ -32,7 +32,7 @@ using namespace KRES;
class Resource::ResourcePrivate
{
public:
#ifdef QT_THREAD_SUPPORT
#ifdef TQT_THREAD_SUPPORT
TQMutex mMutex;
#endif
int mOpenCount;
@ -85,7 +85,7 @@ void Resource::writeConfig( TDEConfig* config )
bool Resource::open()
{
d->mIsOpen = true;
#ifdef QT_THREAD_SUPPORT
#ifdef TQT_THREAD_SUPPORT
TQMutexLocker guard( &(d->mMutex) );
#endif
if ( !d->mOpenCount ) {
@ -98,7 +98,7 @@ bool Resource::open()
void Resource::close()
{
#ifdef QT_THREAD_SUPPORT
#ifdef TQT_THREAD_SUPPORT
TQMutexLocker guard( &(d->mMutex) );
#endif
if ( !d->mOpenCount ) {

Loading…
Cancel
Save