2
kopeteemoticons.cpp - Kopete Preferences Container-Class
4
Copyright (c) 2002-2003 by Stefan Gehn <metz@gehn.net>
5
Kopete (c) 2002-2004 by the Kopete developers <kopete-devel@kde.org>
6
Copyright (c) 2005 by Engin AYDOGAN <engin@bzzzt.biz>
8
Kopete (c) 2002-2007 by the Kopete developers <kopete-devel@kde.org>
10
*************************************************************************
12
* This library is free software; you can redistribute it and/or *
13
* modify it under the terms of the GNU Lesser General Public *
14
* License as published by the Free Software Foundation; either *
15
* version 2 of the License, or (at your option) any later version. *
17
*************************************************************************
20
#ifndef kopeteemoticons_h__
21
#define kopeteemoticons_h__
23
#include "kopete_export.h"
24
#include <kemoticons.h>
29
class KOPETE_EXPORT Emoticons
33
* The emoticons container-class by default is a singleton object.
34
* Use this method to retrieve the instance.
36
static KEmoticons *self();
38
static QString parseEmoticons(const QString &text, KEmoticonsTheme::ParseMode mode = KEmoticonsTheme::DefaultParse, const QStringList &exclude = QStringList());
39
static QList<KEmoticonsTheme::Token> tokenize(const QString &message, KEmoticonsTheme::ParseMode mode = KEmoticonsTheme::DefaultParse);
43
} //END namespace Kopete
46
// vim: set noet ts=4 sts=4 sw=4: