diff options
author | Michele Calgaro <[email protected]> | 2024-06-06 13:44:12 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-06-06 13:52:29 +0900 |
commit | e6077c30d14e9d662e8843c554db86c0d366d0b6 (patch) | |
tree | 672319afee32f0316bad258c0e9a1e0dd737bd61 /src/tools/qglobal.cpp | |
parent | 8c029298d9d3f1f84b65ac4a3a16cd1fa28d9cde (diff) | |
download | tqt3-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.cpp | 4 |
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); |