| 1 | /* |
| 2 | SPDX-FileCopyrightText: 2002-2008 The Kopete developers <kopete-devel@kde.org> |
| 3 | SPDX-FileCopyrightText: 2008 Carlo Segato <brandon.ml@gmail.com> |
| 4 | SPDX-FileCopyrightText: 2002-2003 Stefan Gehn <metz@gehn.net> |
| 5 | SPDX-FileCopyrightText: 2005 Engin AYDOGAN <engin@bzzzt.biz> |
| 6 | |
| 7 | SPDX-License-Identifier: LGPL-2.1-or-later |
| 8 | */ |
| 9 | |
| 10 | #ifndef KEMOTICONSPARSER_P_H |
| 11 | #define KEMOTICONSPARSER_P_H |
| 12 | |
| 13 | class QString; |
| 14 | |
| 15 | /* ASCII art smily replacement with Unicode emojis. |
| 16 | * Taken from former KEmoticons, which has been deprecated for KF6. |
| 17 | */ |
| 18 | namespace KEmoticonsParser |
| 19 | { |
| 20 | /* |
| 21 | * Parses emoticons in text @p text. |
| 22 | * \a text the text to parse |
| 23 | * Returns the text with emoticons replaced by Unicode emojis |
| 24 | */ |
| 25 | QString parseEmoticons(const QString &text); |
| 26 | } |
| 27 | |
| 28 | #endif |
| 29 | |