summaryrefslogtreecommitdiffstats
path: root/src/tools/qglobal.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-06-06 13:44:12 +0900
committerMichele Calgaro <[email protected]>2024-06-06 13:52:29 +0900
commite6077c30d14e9d662e8843c554db86c0d366d0b6 (patch)
tree672319afee32f0316bad258c0e9a1e0dd737bd61 /src/tools/qglobal.cpp
parent8c029298d9d3f1f84b65ac4a3a16cd1fa28d9cde (diff)
downloadtqt3-e6077c30d14e9d662e8843c554db86c0d366d0b6.tar.gz
tqt3-e6077c30d14e9d662e8843c554db86c0d366d0b6.zip
Rename str nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/tools/qglobal.cpp')
-rw-r--r--src/tools/qglobal.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/qglobal.cpp b/src/tools/qglobal.cpp
index 3a3317915..84b26a6bc 100644
--- a/src/tools/qglobal.cpp
+++ b/src/tools/qglobal.cpp
@@ -181,7 +181,7 @@ OSErr qt_mac_create_fsspec(const TQString &file, FSSpec *spec)
return ret;
}
-CFStringRef qstring2cfstring(const TQString &str)
+CFStringRef tqstring2cfstring(const TQString &str)
{
return CFStringCreateWithCharacters(0, (UniChar *)str.unicode(), str.length());
}
@@ -203,7 +203,7 @@ TQString cfstring2qstring(CFStringRef str)
unsigned char *p_str(const TQString &s)
{
- CFStringRef cfstr = qstring2cfstring(s);
+ CFStringRef cfstr = tqstring2cfstring(s);
uchar *p = (uchar*)malloc(256);
CFStringGetPascalString(cfstr, p, 256, CFStringGetSystemEncoding());
CFRelease(cfstr);