KUtils
kemoticons.cpp
Go to the documentation of this file.
218 } else if (archiveName.endsWith(QLatin1String("jisp")) || archiveName.endsWith(QLatin1String("zip"))) {
294 return (KEmoticonsTheme::ParseMode) config.readEntry("parseMode", int(KEmoticonsTheme::RelaxedParse));
virtual bool isDirectory() const
static KServiceTypeTrader * self()
KEmoticonsTheme newTheme(const QString &name, const KService::Ptr &service)
Create a new emoticons theme.
Definition: kemoticons.cpp:178
QStringList findDirs(const char *type, const QString &reldir) const
QStringList installTheme(const QString &archiveName)
Install all themes inside the archive archiveName.
Definition: kemoticons.cpp:189
KStandardDirs * dirs()
const char * name(StandardAction id)
This is the base class for the emoticons provider plugins.
Definition: kemoticonsprovider.h:35
static QDebug kError(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
void writeEntry(const QString &key, const QVariant &value, WriteConfigFlags pFlags=Normal)
static void setParseMode(KEmoticonsTheme::ParseMode mode)
Set the parse mode to mode.
Definition: kemoticons.cpp:284
This class can be used to retrieve, install, create emoticons theme.
Definition: kemoticons.h:44
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
static void setTheme(const KEmoticonsTheme &theme)
Set theme as the current theme.
Definition: kemoticons.cpp:166
static KEmoticonsTheme::ParseMode parseMode()
Returns the current parse mode.
Definition: kemoticons.cpp:291
Parse mode where all possible emoticon matches are allowed.
Definition: kemoticonstheme.h:44
KSharedConfigPtr config()
bool priorityLessThan(const KService::Ptr &s1, const KService::Ptr &s2)
Definition: kemoticons.cpp:63
void copyTo(const QString &dest, bool recursive=true) const
const KArchiveEntry * entry(const QString &name) const
KService::List query(const QString &servicetype, const QString &constraint=QString()) const
static QString locateLocal(const char *type, const QString &filename, const KComponentData &cData=KGlobal::mainComponent())
QString findResource(const char *type, const QString &filename) const
static QString currentThemeName()
Retrieve the current emoticon theme name.
Definition: kemoticons.cpp:145
static QDebug kWarning(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
QString name() const
void sync()
T readEntry(const QString &key, const T &aDefault) const
QStringList entries() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:34 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:34 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.