KUtils
AdiumEmoticons Class Reference
#include <adium_emoticons.h>

Public Member Functions | |
bool | addEmoticon (const QString &emo, const QString &text, AddEmoticonOption option=DoNotCopy) |
AdiumEmoticons (QObject *parent, const QVariantList &args) | |
void | createNew () |
bool | loadTheme (const QString &path) |
bool | removeEmoticon (const QString &emo) |
void | save () |
Detailed Description
Definition at line 26 of file adium_emoticons.h.
Constructor & Destructor Documentation
AdiumEmoticons::AdiumEmoticons | ( | QObject * | parent, | |
const QVariantList & | args | |||
) |
Definition at line 32 of file adium_emoticons.cpp.
Member Function Documentation
bool AdiumEmoticons::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 emo
into the theme directory
- Returns:
true
if it can add the emoticon
Reimplemented from KEmoticonsProvider.
Definition at line 65 of file adium_emoticons.cpp.
void AdiumEmoticons::createNew | ( | ) | [virtual] |
Create a new theme.
Reimplemented from KEmoticonsProvider.
Definition at line 198 of file adium_emoticons.cpp.
Load the theme inside the directory path
.
- Parameters:
-
path path to the directory
Reimplemented from KEmoticonsProvider.
Definition at line 132 of file adium_emoticons.cpp.
Remove the emoticon emo
, this will not delete the image file too.
- Parameters:
-
emo the emoticon text to remove
- Returns:
true
if it can delete the emoticon
Reimplemented from KEmoticonsProvider.
Definition at line 38 of file adium_emoticons.cpp.
void AdiumEmoticons::save | ( | ) | [virtual] |
Save the emoticon theme.
Reimplemented from KEmoticonsProvider.
Definition at line 112 of file adium_emoticons.cpp.
The documentation for this class was generated from the following files: