summaryrefslogtreecommitdiffstats
path: root/src/kernel
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-06-30 12:33:25 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-06-30 12:33:25 +0900
commitaeefd3fe454bfaed093355278b1e2caa84bfd77a (patch)
tree2d2b7ae985b004b3114ad2b25a879797be18d427 /src/kernel
parent2cbcca0db1343e1c40e52af729a5eb34ca8a7e37 (diff)
downloadtqt3-aeefd3fe454bfaed093355278b1e2caa84bfd77a.tar.gz
tqt3-aeefd3fe454bfaed093355278b1e2caa84bfd77a.zip
Rename threading nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/kernel')
-rw-r--r--src/kernel/ntqt.h8
-rw-r--r--src/kernel/qapplication.cpp6
-rw-r--r--src/kernel/qapplication_x11.cpp2
-rw-r--r--src/kernel/qeventloop.cpp4
-rw-r--r--src/kernel/qeventloop_unix.cpp2
-rw-r--r--src/kernel/qeventloop_unix_glib.cpp4
-rw-r--r--src/kernel/qeventloop_x11.cpp2
-rw-r--r--src/kernel/qeventloop_x11_glib.cpp4
-rw-r--r--src/kernel/qmetaobject.cpp2
-rw-r--r--src/kernel/qt_kernel.pri8
-rw-r--r--src/kernel/tqobject.cpp6
-rw-r--r--src/kernel/tqobject.h2
-rw-r--r--src/kernel/tqthread.cpp (renamed from src/kernel/qthread.cpp)6
-rw-r--r--src/kernel/tqthread.h (renamed from src/kernel/ntqthread.h)0
-rw-r--r--src/kernel/tqthread_unix.cpp (renamed from src/kernel/qthread_unix.cpp)10
-rw-r--r--src/kernel/tqwidget.cpp2
16 files changed, 34 insertions, 34 deletions
diff --git a/src/kernel/ntqt.h b/src/kernel/ntqt.h
index 4dee1266..41b65486 100644
--- a/src/kernel/ntqt.h
+++ b/src/kernel/ntqt.h
@@ -136,7 +136,7 @@
#include <ntqcdestyle.h>
#include <ntqmovie.h>
#include "tqptrvector.h"
-#include "ntqmutex.h"
+#include "tqmutex.h"
#include <ntqnetwork.h>
#include <ntqftp.h>
#include "ntqguardedptr.h"
@@ -178,7 +178,7 @@
#include <ntqrtlcodec.h>
#include <ntqlistbox.h>
#include <ntqgridview.h>
-#include "ntqsemaphore.h"
+#include "tqsemaphore.h"
#include <ntqprogressdialog.h>
#include "ntqsocketdevice.h"
#include <ntqsessionmanager.h>
@@ -236,7 +236,7 @@
#include <ntqmultilineedit.h>
#include "ntqtoolbar.h"
#include <tqtextview.h>
-#include "ntqwaitcondition.h"
+#include "tqwaitcondition.h"
#include <ntqasyncio.h>
#include <ntqfontdatabase.h>
#include <ntqmainwindow.h>
@@ -257,7 +257,7 @@
#include <ntqvbox.h>
#include <ntqvbuttongroup.h>
#include <ntqvgroupbox.h>
-#include <ntqthread.h>
+#include <tqthread.h>
#include <ntqwhatsthis.h>
#include <ntqapplication.h>
#include <tqwidgetintdict.h>
diff --git a/src/kernel/qapplication.cpp b/src/kernel/qapplication.cpp
index c6bde72a..5297837c 100644
--- a/src/kernel/qapplication.cpp
+++ b/src/kernel/qapplication.cpp
@@ -66,9 +66,9 @@
#include "qfontdata_p.h"
#if defined(TQT_THREAD_SUPPORT)
-# include "ntqmutex.h"
-# include "ntqthread.h"
-# include <private/qthreadinstance_p.h>
+# include "tqmutex.h"
+# include "tqthread.h"
+# include <private/tqthreadinstance_p.h>
#endif // TQT_THREAD_SUPPORT
#include <stdlib.h>
diff --git a/src/kernel/qapplication_x11.cpp b/src/kernel/qapplication_x11.cpp
index 33fa0cec..cd65da67 100644
--- a/src/kernel/qapplication_x11.cpp
+++ b/src/kernel/qapplication_x11.cpp
@@ -95,7 +95,7 @@
#include "qinternal_p.h" // shared double buffer cleanup
#if defined(TQT_THREAD_SUPPORT)
-# include "ntqthread.h"
+# include "tqthread.h"
#endif
#if defined(QT_DEBUG) && defined(Q_OS_LINUX)
diff --git a/src/kernel/qeventloop.cpp b/src/kernel/qeventloop.cpp
index e08a1ee1..ce0f2bc8 100644
--- a/src/kernel/qeventloop.cpp
+++ b/src/kernel/qeventloop.cpp
@@ -42,8 +42,8 @@
#include "tqdatetime.h"
#ifdef TQT_THREAD_SUPPORT
-# include "ntqthread.h"
-# include "private/qthreadinstance_p.h"
+# include "tqthread.h"
+# include "private/tqthreadinstance_p.h"
#endif
/*!
diff --git a/src/kernel/qeventloop_unix.cpp b/src/kernel/qeventloop_unix.cpp
index 13227931..89e31da8 100644
--- a/src/kernel/qeventloop_unix.cpp
+++ b/src/kernel/qeventloop_unix.cpp
@@ -40,7 +40,7 @@
#include "ntqeventloop.h"
#include "ntqapplication.h"
#include "ntqbitarray.h"
-#include "ntqmutex.h"
+#include "tqmutex.h"
#include <stdlib.h>
#include <sys/types.h>
diff --git a/src/kernel/qeventloop_unix_glib.cpp b/src/kernel/qeventloop_unix_glib.cpp
index e65d49bb..5d43a6ef 100644
--- a/src/kernel/qeventloop_unix_glib.cpp
+++ b/src/kernel/qeventloop_unix_glib.cpp
@@ -40,10 +40,10 @@
#include "ntqeventloop.h"
#include "ntqapplication.h"
#include "ntqbitarray.h"
-#include "ntqmutex.h"
+#include "tqmutex.h"
#if defined(TQT_THREAD_SUPPORT)
- #include "ntqthread.h"
+ #include "tqthread.h"
#endif
#include <stdlib.h>
diff --git a/src/kernel/qeventloop_x11.cpp b/src/kernel/qeventloop_x11.cpp
index 1ba3b21d..6905bac2 100644
--- a/src/kernel/qeventloop_x11.cpp
+++ b/src/kernel/qeventloop_x11.cpp
@@ -44,7 +44,7 @@
#include "qt_x11_p.h"
#if defined(TQT_THREAD_SUPPORT)
-# include "ntqmutex.h"
+# include "tqmutex.h"
#endif // TQT_THREAD_SUPPORT
#include <errno.h>
diff --git a/src/kernel/qeventloop_x11_glib.cpp b/src/kernel/qeventloop_x11_glib.cpp
index a13dbeeb..b152d6a3 100644
--- a/src/kernel/qeventloop_x11_glib.cpp
+++ b/src/kernel/qeventloop_x11_glib.cpp
@@ -47,8 +47,8 @@
#include "qt_x11_p.h"
#if defined(TQT_THREAD_SUPPORT)
-# include "ntqmutex.h"
-# include "ntqthread.h"
+# include "tqmutex.h"
+# include "tqthread.h"
#endif // TQT_THREAD_SUPPORT
#include <errno.h>
diff --git a/src/kernel/qmetaobject.cpp b/src/kernel/qmetaobject.cpp
index 70ed6b5d..624c025d 100644
--- a/src/kernel/qmetaobject.cpp
+++ b/src/kernel/qmetaobject.cpp
@@ -42,7 +42,7 @@
#include "ntqasciidict.h"
#ifdef TQT_THREAD_SUPPORT
-#include <private/qmutexpool_p.h>
+#include <private/tqmutexpool_p.h>
#endif // TQT_THREAD_SUPPORT
/*!
diff --git a/src/kernel/qt_kernel.pri b/src/kernel/qt_kernel.pri
index 446019b6..c4690a3f 100644
--- a/src/kernel/qt_kernel.pri
+++ b/src/kernel/qt_kernel.pri
@@ -77,7 +77,7 @@ kernel {
$$KERNEL_H/ntqsound.h \
$$KERNEL_H/tqstyle.h \
$$KERNEL_H/tqstylesheet.h \
- $$KERNEL_H/ntqthread.h \
+ $$KERNEL_H/tqthread.h \
$$KERNEL_H/tqtimer.h \
$$KERNEL_H/ntqurl.h \
$$KERNEL_H/ntqlocalfs.h \
@@ -127,7 +127,7 @@ kernel {
$$KERNEL_CPP/qpainter_win.cpp \
$$KERNEL_CPP/qregion_win.cpp \
$$KERNEL_CPP/qsound_win.cpp \
- $$KERNEL_CPP/qthread_win.cpp \
+ $$KERNEL_CPP/tqthread_win.cpp \
$$KERNEL_CPP/tqwidget_win.cpp \
$$KERNEL_CPP/qole_win.c \
$$KERNEL_CPP/qfontengine_win.cpp
@@ -191,7 +191,7 @@ kernel {
}
unix:SOURCES += $$KERNEL_CPP/qprocess_unix.cpp \
- $$KERNEL_CPP/qthread_unix.cpp
+ $$KERNEL_CPP/tqthread_unix.cpp
SOURCES += $$KERNEL_CPP/qabstractlayout.cpp \
$$KERNEL_CPP/qucomextra.cpp \
@@ -248,7 +248,7 @@ kernel {
$$KERNEL_CPP/qsocketnotifier.cpp \
$$KERNEL_CPP/qsound.cpp \
$$KERNEL_CPP/tqstylesheet.cpp \
- $$KERNEL_CPP/qthread.cpp \
+ $$KERNEL_CPP/tqthread.cpp \
$$KERNEL_CPP/tqtimer.cpp \
$$KERNEL_CPP/qurl.cpp \
$$KERNEL_CPP/qlocalfs.cpp \
diff --git a/src/kernel/tqobject.cpp b/src/kernel/tqobject.cpp
index d50b48e8..3923b46d 100644
--- a/src/kernel/tqobject.cpp
+++ b/src/kernel/tqobject.cpp
@@ -53,9 +53,9 @@
#include "tqstyle.h"
#ifdef TQT_THREAD_SUPPORT
-#include "ntqmutex.h"
-#include <private/qmutexpool_p.h>
-#include "ntqthread.h"
+#include "tqmutex.h"
+#include <private/tqmutexpool_p.h>
+#include "tqthread.h"
#endif
#include <ctype.h>
diff --git a/src/kernel/tqobject.h b/src/kernel/tqobject.h
index 2d72bfa2..cc67ba55 100644
--- a/src/kernel/tqobject.h
+++ b/src/kernel/tqobject.h
@@ -46,7 +46,7 @@
#include "ntqwindowdefs.h"
#include "tqstring.h"
#include "ntqevent.h"
-#include "ntqmutex.h"
+#include "tqmutex.h"
#include "ntqnamespace.h"
#endif // QT_H
diff --git a/src/kernel/qthread.cpp b/src/kernel/tqthread.cpp
index bb51e41f..27b2071e 100644
--- a/src/kernel/qthread.cpp
+++ b/src/kernel/tqthread.cpp
@@ -40,9 +40,9 @@
#include "qplatformdefs.h"
-#include "ntqthread.h"
+#include "tqthread.h"
#include "ntqeventloop.h"
-#include <private/qthreadinstance_p.h>
+#include <private/tqthreadinstance_p.h>
#ifndef QT_H
# include "ntqapplication.h"
@@ -50,7 +50,7 @@
/*!
- \class TQThread ntqthread.h
+ \class TQThread tqthread.h
\threadsafe
\brief The TQThread class provides platform-independent threads.
diff --git a/src/kernel/ntqthread.h b/src/kernel/tqthread.h
index 0b38e5a3..0b38e5a3 100644
--- a/src/kernel/ntqthread.h
+++ b/src/kernel/tqthread.h
diff --git a/src/kernel/qthread_unix.cpp b/src/kernel/tqthread_unix.cpp
index be67e002..c6662dbe 100644
--- a/src/kernel/qthread_unix.cpp
+++ b/src/kernel/tqthread_unix.cpp
@@ -42,11 +42,11 @@
typedef pthread_mutex_t Q_MUTEX_T;
-#include "ntqthread.h"
-#include <private/qthreadinstance_p.h>
-#include <private/qmutex_p.h>
-#include <private/qmutexpool_p.h>
-#include <ntqthreadstorage.h>
+#include "tqthread.h"
+#include <private/tqthreadinstance_p.h>
+#include <private/tqmutex_p.h>
+#include <private/tqmutexpool_p.h>
+#include <tqthreadstorage.h>
#include <ntqapplication.h>
#include <errno.h>
diff --git a/src/kernel/tqwidget.cpp b/src/kernel/tqwidget.cpp
index 8dfda823..d5419c8d 100644
--- a/src/kernel/tqwidget.cpp
+++ b/src/kernel/tqwidget.cpp
@@ -57,7 +57,7 @@
#include "ntqmetaobject.h"
#include "ntqguardedptr.h"
#if defined(TQT_THREAD_SUPPORT)
-#include "ntqthread.h"
+#include "tqthread.h"
#endif
#if defined(QT_ACCESSIBILITY_SUPPORT)
#include "ntqaccessible.h"