From 7fcf24fa4e39937864ac36683a0bffeaa05c9628 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 13 Jun 2019 11:26:25 +0900 Subject: Extended kcharset API with new utility function. Signed-off-by: Michele Calgaro --- tdecore/kcharsets.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tdecore/kcharsets.h') 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; }; -- cgit v1.2.1