KUtils
XmppEmoticons Class Reference
#include <xmpp_emoticons.h>
Public Member Functions | |
| bool | addEmoticon (const QString &emo, const QString &text, AddEmoticonOption option=DoNotCopy) |
| void | createNew () |
| bool | loadTheme (const QString &path) |
| bool | removeEmoticon (const QString &emo) |
| void | save () |
| XmppEmoticons (QObject *parent, const QVariantList &args) | |
Detailed Description
Definition at line 26 of file xmpp_emoticons.h.
Constructor & Destructor Documentation
| XmppEmoticons::XmppEmoticons | ( | QObject * | parent, | |
| const QVariantList & | args | |||
| ) |
Definition at line 33 of file xmpp_emoticons.cpp.
Member Function Documentation
| bool XmppEmoticons::addEmoticon | ( | const QString & | emo, | |
| const QString & | text, | |||
| AddEmoticonOption | option = DoNotCopy | |||
| ) | [virtual] |
Add the emoticon emo with text text.
- Parameters:
-
emo path to the emoticon image text the text of the emoticon separated by space for multiple text copy whether or not copy emointo the theme directory
- Returns:
trueif it can add the emoticon
Reimplemented from KEmoticonsProvider.
Definition at line 70 of file xmpp_emoticons.cpp.
| void XmppEmoticons::createNew | ( | ) | [virtual] |
Create a new theme.
Reimplemented from KEmoticonsProvider.
Definition at line 196 of file xmpp_emoticons.cpp.
Load the theme inside the directory path.
- Parameters:
-
path path to the directory
Reimplemented from KEmoticonsProvider.
Definition at line 125 of file xmpp_emoticons.cpp.
Remove the emoticon emo, this will not delete the image file too.
- Parameters:
-
emo the emoticon text to remove
- Returns:
trueif it can delete the emoticon
Reimplemented from KEmoticonsProvider.
Definition at line 39 of file xmpp_emoticons.cpp.
| void XmppEmoticons::save | ( | ) | [virtual] |
Save the emoticon theme.
Reimplemented from KEmoticonsProvider.
Definition at line 105 of file xmpp_emoticons.cpp.
The documentation for this class was generated from the following files:
KDE 4.3 API Reference