summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-09-16 22:30:57 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-09-16 22:30:57 +0900
commit02964eb384e1b5a73a198d04262497607d81e38f (patch)
tree56b694b9d973c7906f9960a2029068dc44791c2b /doc
parent1fb89fa15488ff396623fc275242b8ed149f4c1e (diff)
downloadtqt3-02964eb384e1b5a73a198d04262497607d81e38f.tar.gz
tqt3-02964eb384e1b5a73a198d04262497607d81e38f.zip
Conversion QT_THREAD_SUPPORT -> TQT_THREAD_SUPPORT. This is part of the
qt->tqt conversion and is required to align to corresponding patch for common/admin module. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc')
-rw-r--r--doc/html/qapplication-h.html10
-rw-r--r--doc/html/qeventloop-h.html4
-rw-r--r--doc/html/qmake-manual-6.html10
-rw-r--r--doc/html/qmutex-h.html2
-rw-r--r--doc/html/qsemaphore-h.html2
-rw-r--r--doc/html/qthread-h.html4
-rw-r--r--doc/html/qthreadstorage-h.html4
-rw-r--r--doc/html/qwaitcondition-h.html2
-rw-r--r--doc/html/threads.html4
-rw-r--r--doc/threads.doc4
10 files changed, 23 insertions, 23 deletions
diff --git a/doc/html/qapplication-h.html b/doc/html/qapplication-h.html
index 157ba7f0..25bb4c0f 100644
--- a/doc/html/qapplication-h.html
+++ b/doc/html/qapplication-h.html
@@ -94,9 +94,9 @@ class TQEventLoop;
class TQWSDecoration;
#endif
-#ifdef QT_THREAD_SUPPORT
+#ifdef TQT_THREAD_SUPPORT
class TQMutex;
-#endif // QT_THREAD_SUPPORT
+#endif // TQT_THREAD_SUPPORT
class TQApplication;
@@ -316,7 +316,7 @@ public:
static bool x11_apply_settings();
#endif
void wakeUpGuiThread();
-#if defined(QT_THREAD_SUPPORT)
+#if defined(TQT_THREAD_SUPPORT)
void lock();
void unlock(bool wakeUpGui = TRUE);
bool locked();
@@ -367,9 +367,9 @@ private:
friend void tqt_init(int *, char **, TQApplication::Type);
#endif
-#ifdef QT_THREAD_SUPPORT
+#ifdef TQT_THREAD_SUPPORT
static TQMutex *tqt_mutex;
-#endif // QT_THREAD_SUPPORT
+#endif // TQT_THREAD_SUPPORT
int app_argc;
char **app_argv;
diff --git a/doc/html/qeventloop-h.html b/doc/html/qeventloop-h.html
index 2e69ef0f..2221f85b 100644
--- a/doc/html/qeventloop-h.html
+++ b/doc/html/qeventloop-h.html
@@ -88,9 +88,9 @@ struct timeval; //stdc struct
struct TimerInfo; //internal structure (qeventloop_mac.cpp)
#endif
-#if defined(QT_THREAD_SUPPORT)
+#if defined(TQT_THREAD_SUPPORT)
class TQMutex;
-#endif // QT_THREAD_SUPPORT
+#endif // TQT_THREAD_SUPPORT
class Q_EXPORT TQEventLoop : public TQObject
diff --git a/doc/html/qmake-manual-6.html b/doc/html/qmake-manual-6.html
index 8e4fdfee..cea91e19 100644
--- a/doc/html/qmake-manual-6.html
+++ b/doc/html/qmake-manual-6.html
@@ -101,20 +101,20 @@ body { background: #ffffff; color: black; }
<pre>
win32 {
thread {
- DEFINES += QT_THREAD_SUPPORT
+ DEFINES += TQT_THREAD_SUPPORT
}
}
</pre>
<p>To save writing many nested scopes, you can nest scopes using a colon like this:</p>
<pre>
win32:thread {
- DEFINES += QT_THREAD_SUPPORT
+ DEFINES += TQT_THREAD_SUPPORT
}
</pre>
<p>Once a test has been performed you may also do else/elseif operations. With this you may easily write complicated tests. This can be done with the special 'else' scope, it can be combined with other scopes (separated by colons as above) for example:</p>
<pre>
win32:thread {
- DEFINES += QT_THREAD_SUPPORT
+ DEFINES += TQT_THREAD_SUPPORT
} else:debug {
DEFINES += QT_NOTHREAD_DEBUG
} else {
@@ -166,10 +166,10 @@ body { background: #ffffff; color: black; }
<p>If <em>value</em> is in the list of values stored in the variable called <em>variablename</em>, then the settings inside the scope will be processed. For example:</p>
<pre>
contains( CONFIG, thread ) {
- DEFINES += QT_THREAD_SUPPORT
+ DEFINES += TQT_THREAD_SUPPORT
}
</pre>
-<p>If <em>thread</em> is in the list of values for the <em>CONFIG</em> variable, then QT_THREAD_SUPPORT will be added to the list of values in the <em>DEFINES</em> variable.</p>
+<p>If <em>thread</em> is in the list of values for the <em>CONFIG</em> variable, then TQT_THREAD_SUPPORT will be added to the list of values in the <em>DEFINES</em> variable.</p>
<h4><a name="5-2"></a>count( variablename, number )</h4>
<p>If <em>number</em> matches the number of values stored in the variable called <em>variablename</em>, then the settings inside the scope will be processed. For example:</p>
<pre>
diff --git a/doc/html/qmutex-h.html b/doc/html/qmutex-h.html
index 724fe6e7..c811e5a3 100644
--- a/doc/html/qmutex-h.html
+++ b/doc/html/qmutex-h.html
@@ -81,7 +81,7 @@ body { background: #ffffff; color: black; }
#include "ntqglobal.h"
#endif // QT_H
-#if defined(QT_THREAD_SUPPORT)
+#if defined(TQT_THREAD_SUPPORT)
class TQMutexPrivate;
diff --git a/doc/html/qsemaphore-h.html b/doc/html/qsemaphore-h.html
index b92e7cd3..25bb2dd9 100644
--- a/doc/html/qsemaphore-h.html
+++ b/doc/html/qsemaphore-h.html
@@ -81,7 +81,7 @@ body { background: #ffffff; color: black; }
#include "ntqglobal.h"
#endif // QT_H
-#if defined(QT_THREAD_SUPPORT)
+#if defined(TQT_THREAD_SUPPORT)
class TQSemaphorePrivate;
diff --git a/doc/html/qthread-h.html b/doc/html/qthread-h.html
index 0dc79aab..26d6d7b7 100644
--- a/doc/html/qthread-h.html
+++ b/doc/html/qthread-h.html
@@ -77,7 +77,7 @@ body { background: #ffffff; color: black; }
#ifndef TQTHREAD_H
#define TQTHREAD_H
-#if defined(QT_THREAD_SUPPORT)
+#if defined(TQT_THREAD_SUPPORT)
#ifndef QT_H
#include "ntqwindowdefs.h"
@@ -161,7 +161,7 @@ private:
#endif // TQ_DISABLE_COPY
};
-#endif // QT_THREAD_SUPPORT
+#endif // TQT_THREAD_SUPPORT
#endif // TQTHREAD_H
</pre>
diff --git a/doc/html/qthreadstorage-h.html b/doc/html/qthreadstorage-h.html
index f8054c68..7c60605b 100644
--- a/doc/html/qthreadstorage-h.html
+++ b/doc/html/qthreadstorage-h.html
@@ -75,7 +75,7 @@ body { background: #ffffff; color: black; }
#ifndef TQTHREADSTORAGE_H
#define TQTHREADSTORAGE_H
-#ifdef QT_THREAD_SUPPORT
+#ifdef TQT_THREAD_SUPPORT
#ifndef QT_H
#include "ntqglobal.h"
@@ -126,7 +126,7 @@ public:
{ (void) d.set( t ); }
};
-#endif // QT_THREAD_SUPPORT
+#endif // TQT_THREAD_SUPPORT
#endif // TQTHREADSTORAGE_H
</pre>
diff --git a/doc/html/qwaitcondition-h.html b/doc/html/qwaitcondition-h.html
index e28021a8..bc5a7336 100644
--- a/doc/html/qwaitcondition-h.html
+++ b/doc/html/qwaitcondition-h.html
@@ -81,7 +81,7 @@ body { background: #ffffff; color: black; }
#include "ntqglobal.h"
#endif // QT_H
-#if defined(QT_THREAD_SUPPORT)
+#if defined(TQT_THREAD_SUPPORT)
#include &lt;limits.h&gt;
diff --git a/doc/html/threads.html b/doc/html/threads.html
index 16027c1c..6e13f248 100644
--- a/doc/html/threads.html
+++ b/doc/html/threads.html
@@ -81,8 +81,8 @@ such as with a special libc, installation will create a separate
library, <tt>libtqt-mt</tt> and hence threaded programs must be linked
against this library (with <tt>-ltqt-mt</tt>) rather than the standard TQt
library.
-<p> On both platforms, you should compile with the macro <tt>QT_THREAD_SUPPORT</tt> defined (e.g. compile with
-<tt>-DQT_THREAD_SUPPORT</tt>). On Windows, this is usually done by an
+<p> On both platforms, you should compile with the macro <tt>TQT_THREAD_SUPPORT</tt> defined (e.g. compile with
+<tt>-DTQT_THREAD_SUPPORT</tt>). On Windows, this is usually done by an
entry in <tt>ntqconfig.h</tt>.
<p> <h2> The Thread Classes
</h2>
diff --git a/doc/threads.doc b/doc/threads.doc
index ee91ba30..f6226c03 100644
--- a/doc/threads.doc
+++ b/doc/threads.doc
@@ -69,8 +69,8 @@ against this library (with \c{-ltqt-mt}) rather than the standard Qt
library.
On both platforms, you should compile with the macro \c
-QT_THREAD_SUPPORT defined (e.g. compile with
-\c{-DQT_THREAD_SUPPORT}). On Windows, this is usually done by an
+TQT_THREAD_SUPPORT defined (e.g. compile with
+\c{-DTQT_THREAD_SUPPORT}). On Windows, this is usually done by an
entry in \c{ntqconfig.h}.
\section1 The Thread Classes