summaryrefslogtreecommitdiffstats
path: root/tdecore/kcharsets.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2019-06-13 11:26:25 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2019-06-13 11:26:25 +0900
commit7fcf24fa4e39937864ac36683a0bffeaa05c9628 (patch)
treeb72c063ba3a6507c1a1a2c48de6a2ba42175d763 /tdecore/kcharsets.h
parenteb7df4e162398f9996079d7f8f22f9ef40062a43 (diff)
downloadtdelibs-7fcf24fa4e39937864ac36683a0bffeaa05c9628.tar.gz
tdelibs-7fcf24fa4e39937864ac36683a0bffeaa05c9628.zip
Extended kcharset API with new utility function.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdecore/kcharsets.h')
-rw-r--r--tdecore/kcharsets.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/tdecore/kcharsets.h b/tdecore/kcharsets.h
index da96643ff..eeaf4913e 100644
--- a/tdecore/kcharsets.h
+++ b/tdecore/kcharsets.h
@@ -135,6 +135,13 @@ public:
*/
TQString encodingForName( const TQString &descriptiveName );
+ /**
+ * Returns the descriptive encoding name for an encoding name.
+ * @param encodingName the name of the encoding
+ * @return the descriptive name for the encoding
+ */
+ TQString descriptiveNameForEncoding( const TQString &encodingName );
+
private:
KCharsetsPrivate *d;
};