summaryrefslogtreecommitdiffstats
path: root/tdecore/tdeglobal.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-09-24 15:01:57 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-09-24 21:03:43 +0900
commit3d22170e60dfbc9aa756c1a4322a7dbdb0354364 (patch)
tree14f03fe8e715595c6c486cc1ebcd64af1584909b /tdecore/tdeglobal.h
parent48dd6d8de2d691c24f56a292aa40454affd73f16 (diff)
downloadtdelibs-3d22170e60dfbc9aa756c1a4322a7dbdb0354364.tar.gz
tdelibs-3d22170e60dfbc9aa756c1a4322a7dbdb0354364.zip
Add kascii* methods previously part of tdepim/libemailfunctions
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdecore/tdeglobal.h')
-rw-r--r--tdecore/tdeglobal.h20
1 files changed, 19 insertions, 1 deletions
diff --git a/tdecore/tdeglobal.h b/tdecore/tdeglobal.h
index 1269c36a9..d604a4244 100644
--- a/tdecore/tdeglobal.h
+++ b/tdecore/tdeglobal.h
@@ -234,7 +234,25 @@ inline const T& kClamp( const T& x, const T& low, const T& high )
* tqstricmp fails with e.g. the Turkish locale where 'I'.lower() != 'i'
* @since 3.4
*/
-int TDECORE_EXPORT kasciistricmp( const char *str1, const char *str2 );
+TDECORE_EXPORT int kasciistricmp( const char *str1, const char *str2 );
+
+/**
+ Locale-independent function to convert ASCII strings to lower case ASCII
+ strings. This means that it affects @em only the ASCII characters A-Z.
+
+ @param str pointer to the string which should be converted to lower case
+ @return pointer to the converted string (same as @a str)
+*/
+TDECORE_EXPORT char* kasciitolower( char *str );
+
+/**
+ Locale-independent function to convert ASCII strings to upper case ASCII
+ strings. This means that it affects @em only the ASCII characters a-z.
+
+ @param str pointer to the string which should be converted to upper case
+ @return pointer to the converted string (same as @a str)
+*/
+TDECORE_EXPORT char* kasciitoupper( char *str );
/**