src/hbcore/utils/hbsmileytheme.h
changeset 34 ed14f46c0e55
parent 0 16d8024aca5e
equal deleted inserted replaced
31:7516d6d86cf5 34:ed14f46c0e55
    29 #include <hbglobal.h>
    29 #include <hbglobal.h>
    30 #include <QExplicitlySharedDataPointer>
    30 #include <QExplicitlySharedDataPointer>
    31 #include <QMetaType>
    31 #include <QMetaType>
    32 #include <QString>
    32 #include <QString>
    33 #include <QStringList>
    33 #include <QStringList>
       
    34 #include <QRegExp>
    34 
    35 
    35 class HbSmileyThemePrivate;
    36 class HbSmileyThemePrivate;
    36 
    37 
    37 class HB_CORE_EXPORT HbSmileyTheme
    38 class HB_CORE_EXPORT HbSmileyTheme
    38 {
    39 {
    60     QString smiley(const QString &pattern) const;
    61     QString smiley(const QString &pattern) const;
    61     QStringList smileys() const;
    62     QStringList smileys() const;
    62 
    63 
    63     QStringList patterns(const QString &smiley) const;
    64     QStringList patterns(const QString &smiley) const;
    64     QStringList patterns() const;
    65     QStringList patterns() const;
       
    66     const QRegExp& regExp() const;
    65 
    67 
    66     operator QVariant() const;
    68     operator QVariant() const;
    67 
    69 
    68 private:
    70 private:
    69     QExplicitlySharedDataPointer<HbSmileyThemePrivate> d;
    71     QExplicitlySharedDataPointer<HbSmileyThemePrivate> d;