summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2018-09-17 02:19:15 +0200
committerSlávek Banko <slavek.banko@axis.cz>2018-09-17 02:19:15 +0200
commitcbe888f1c4ace25d81ecc352c393c9b314c51abd (patch)
treee7f1fc3ea4027c7a186e017c603deda8944c3dc9
parent1f693264be0180fed2931544bb5ac7b43f41aa03 (diff)
downloadtdelibs-cbe888f1c4ace25d81ecc352c393c9b314c51abd.tar.gz
tdelibs-cbe888f1c4ace25d81ecc352c393c9b314c51abd.zip
Conversion QT_THREAD_SUPPORT -> TQT_THREAD_SUPPORT
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--dcop/dcopidlng/kalyptus2
-rw-r--r--tderesources/resource.cpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/dcop/dcopidlng/kalyptus b/dcop/dcopidlng/kalyptus
index ec16d8fa8..f03c42b09 100644
--- a/dcop/dcopidlng/kalyptus
+++ b/dcop/dcopidlng/kalyptus
@@ -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
diff --git a/tderesources/resource.cpp b/tderesources/resource.cpp
index e6fc4ebbd..4333aa365 100644
--- a/tderesources/resource.cpp
+++ b/tderesources/resource.cpp
@@ -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 ) {