~ubuntu-branches/ubuntu/saucy/kopete/saucy-proposed

« back to all changes in this revision

Viewing changes to libkopete/private/kopeteemoticons.h

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2013-06-21 02:22:39 UTC
  • Revision ID: package-import@ubuntu.com-20130621022239-63l3zc8p0nf26pt6
Tags: upstream-4.10.80
ImportĀ upstreamĀ versionĀ 4.10.80

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
    kopeteemoticons.cpp - Kopete Preferences Container-Class
 
3
 
 
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>
 
7
 
 
8
        Kopete    (c) 2002-2007 by the Kopete developers  <kopete-devel@kde.org>
 
9
 
 
10
    *************************************************************************
 
11
    *                                                                       *
 
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.      *
 
16
    *                                                                       *
 
17
    *************************************************************************
 
18
*/
 
19
 
 
20
#ifndef kopeteemoticons_h__
 
21
#define kopeteemoticons_h__
 
22
 
 
23
#include "kopete_export.h"
 
24
#include <kemoticons.h>
 
25
 
 
26
class KEmoticons;
 
27
namespace Kopete {
 
28
 
 
29
class KOPETE_EXPORT Emoticons
 
30
{
 
31
public:
 
32
        /**
 
33
         * The emoticons container-class by default is a singleton object.
 
34
         * Use this method to retrieve the instance.
 
35
         */
 
36
        static KEmoticons *self();
 
37
 
 
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);
 
40
 
 
41
};
 
42
 
 
43
} //END namespace Kopete
 
44
 
 
45
#endif
 
46
// vim: set noet ts=4 sts=4 sw=4: