KUtils
KdeEmoticons Class Reference
#include <kde_emoticons.h>
Inheritance diagram for KdeEmoticons:
Public Member Functions | |
| bool | addEmoticon (const QString &emo, const QString &text, AddEmoticonOption option=DoNotCopy) |
| void | createNew () |
| KdeEmoticons (QObject *parent, const QVariantList &args) | |
| bool | loadTheme (const QString &path) |
| bool | removeEmoticon (const QString &emo) |
| void | save () |
Detailed Description
Definition at line 26 of file kde_emoticons.h.
Constructor & Destructor Documentation
| KdeEmoticons::KdeEmoticons | ( | QObject * | parent, | |
| const QVariantList & | args | |||
| ) |
Definition at line 33 of file kde_emoticons.cpp.
Member Function Documentation
| bool KdeEmoticons::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 60 of file kde_emoticons.cpp.
| void KdeEmoticons::createNew | ( | ) | [virtual] |
Create a new theme.
Reimplemented from KEmoticonsProvider.
Definition at line 182 of file kde_emoticons.cpp.
Load the theme inside the directory path.
- Parameters:
-
path path to the directory
Reimplemented from KEmoticonsProvider.
Definition at line 106 of file kde_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 kde_emoticons.cpp.
| void KdeEmoticons::save | ( | ) | [virtual] |
Save the emoticon theme.
Reimplemented from KEmoticonsProvider.
Definition at line 86 of file kde_emoticons.cpp.
The documentation for this class was generated from the following files:
KDE 4.3 API Reference