KUtils
xmpp_emoticons.cpp
Go to the documentation of this file.
70bool XmppEmoticons::addEmoticon(const QString &emo, const QString &text, AddEmoticonOption option)
void addEmoticonsMap(QString key, QStringList value)
Insert a new item in the emoticons map.
Definition kemoticonsprovider.cpp:109
void addEmoticonIndex(const QString &path, const QStringList &emoList)
Add an emoticon to the index.
Definition kemoticonsprovider.cpp:135
void removeEmoticonIndex(const QString &path, const QStringList &emoList)
Remove an emoticon from the index.
Definition kemoticonsprovider.cpp:158
virtual bool addEmoticon(const QString &emo, const QString &text, AddEmoticonOption option=DoNotCopy)
Add the emoticon emo with text text.
Definition kemoticonsprovider.cpp:70
void removeEmoticonsMap(QString key)
Remove an item from the emoticons map.
Definition kemoticonsprovider.cpp:116
QHash< QString, QStringList > emoticonsMap() const
Returns a QHash that contains the emoticons path as keys and the text as values.
Definition kemoticonsprovider.cpp:121
virtual bool loadTheme(const QString &path)
Load the theme inside the directory path.
Definition kemoticonsprovider.cpp:55
KSharedPtr< KMimeType > Ptr
static Ptr findByPath(const QString &path, mode_t mode=0, bool fast_mode=false, int *accuracy=0)
#define K_EXPORT_PLUGIN(factory)
QString saveLocation(const char *type, const QString &suffix=QString(), bool create=true) const
QString findResource(const char *type, const QString &filename) const
bool loadTheme(const QString &path)
Load the theme inside the directory path.
Definition xmpp_emoticons.cpp:125
bool addEmoticon(const QString &emo, const QString &text, AddEmoticonOption option=DoNotCopy)
Add the emoticon emo with text text.
Definition xmpp_emoticons.cpp:70
bool removeEmoticon(const QString &emo)
Remove the emoticon emo, this will not delete the image file too.
Definition xmpp_emoticons.cpp:39
XmppEmoticons(QObject *parent, const QVariantList &args)
Definition xmpp_emoticons.cpp:33
static const char fp[]
static QDebug kWarning(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
KStandardDirs * dirs()
K_PLUGIN_FACTORY(ProxyScoutFactory, registerPlugin< KPAC::ProxyScout >();) namespace KPAC
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.