kopete/kopete
kopetechatwindowstylemanager.cpp
Go to the documentation of this file.
87 // Make sure there exists a directory where chat styles can be installed to and it will be watched for changes
100 connect(d->styleDirLister, SIGNAL(newItems(KFileItemList)), this, SLOT(slotNewStyles(KFileItemList)));
140 else if( currentBundleMimeType == "application/x-compressed-tar" || currentBundleMimeType == "application/x-bzip-compressed-tar" || currentBundleMimeType == "application/x-gzip" || currentBundleMimeType == "application/x-bzip" )
163 // So for a style bundle to be valid, it must have a result greather than 8, because we test for 8 required entry.
300 QStringList styleDirs = KGlobal::dirs()->findDirs("appdata", QString("styles/%1").arg(styleName));
This class represent a single chat window style.
Definition: kopetechatwindowstyle.h:30
static ChatWindowStyleManager * self()
Singleton access to this class.
Definition: kopetechatwindowstylemanager.cpp:66
int installStyle(const QString &styleBundlePath)
Install a new style into user style directory Note that you must pass a path to a archive...
Definition: kopetechatwindowstylemanager.cpp:112
bool removeStyle(const QString &styleName)
Remove a style from user style directory.
Definition: kopetechatwindowstylemanager.cpp:282
const char * name() const
int count(const T &value) const
QString fromUtf8(const char *str, int size)
bool isEmpty() const
bool isEmpty() const
ChatWindowStyle * getStyleFromPool(const QString &styleName)
Get a instance of a ChatWindowStyle from the pool.
Definition: kopetechatwindowstylemanager.cpp:350
iterator end()
void loadStylesFinished()
This signal is emitted when all styles finished to list.
QStringList getAvailableStyles() const
Get all available styles.
Definition: kopetechatwindowstylemanager.cpp:107
typedef ConstIterator
ChatWindowStyle * getValidStyleFromPool(const QString &styleName)
Get a instance of a ChatWindowStyle from the pool.
Definition: kopetechatwindowstylemanager.cpp:324
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
Sigleton class that handle Chat Window styles.
Definition: kopetechatwindowstylemanager.h:46
iterator begin()
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:29:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:29:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.