KCoreAddons

ktexttohtmlemoticonsinterface.h
1 /*
2  SPDX-FileCopyrightText: 2014 Daniel Vr├ítil <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #ifndef KTEXTTOHTMLEMOTICONSINTERFACE_H
8 #define KTEXTTOHTMLEMOTICONSINTERFACE_H
9 
10 #include <QMetaType>
11 #include <QStringList>
12 
13 /**
14  * @internal
15  * Used internally by KTextToHTML, implemented by plugin, for dynamic dependency on KEmoticons
16  */
18 {
19 public:
21  {
22  }
24  {
25  } // KF6 TODO: de-inline (-Wweak-vtables)
26 
27  virtual QString parseEmoticons(const QString &text, bool strictParse = false, const QStringList &exclude = QStringList()) = 0;
28 };
29 
30 Q_DECLARE_METATYPE(KTextToHTMLEmoticonsInterface *)
31 
32 #define KTEXTTOHTMLEMOTICONS_PROPERTY "KTextToHTMLEmoticons"
33 
34 #endif
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sun Apr 18 2021 23:02:02 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.