File indexing completed on 2024-04-28 03:53:48

0001 /*
0002     SPDX-FileCopyrightText: 2002-2008 The Kopete developers <kopete-devel@kde.org>
0003     SPDX-FileCopyrightText: 2008 Carlo Segato <brandon.ml@gmail.com>
0004     SPDX-FileCopyrightText: 2002-2003 Stefan Gehn <metz@gehn.net>
0005     SPDX-FileCopyrightText: 2005 Engin AYDOGAN <engin@bzzzt.biz>
0006 
0007     SPDX-License-Identifier: LGPL-2.1-or-later
0008 */
0009 
0010 #ifndef KEMOTICONSPARSER_P_H
0011 #define KEMOTICONSPARSER_P_H
0012 
0013 class QString;
0014 
0015 /** ASCII art smily replacement with Unicode emojis.
0016  *  Taken from former KEmoticons, which has been deprecated for KF6.
0017  */
0018 namespace KEmoticonsParser
0019 {
0020 /**
0021  * Parses emoticons in text @p text.
0022  * @param text the text to parse
0023  * @return the text with emoticons replaced by Unicode emojis
0024  */
0025 QString parseEmoticons(const QString &text);
0026 }
0027 
0028 #endif