You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
622 B
40 lines
622 B
15 years ago
|
#ifndef _WASKINMANAGER_H
|
||
|
#define _WASKINMANAGER_H
|
||
|
|
||
|
#include <dcopobject.h>
|
||
|
#include <qobject.h>
|
||
|
#include <qstringlist.h>
|
||
|
#include <qstring.h>
|
||
|
#include <qmap.h>
|
||
|
|
||
|
class WaSkinManager : public QObject, public DCOPObject {
|
||
|
Q_OBJECT
|
||
|
K_DCOP
|
||
|
|
||
|
public:
|
||
|
WaSkinManager();
|
||
|
~WaSkinManager();
|
||
|
|
||
|
k_dcop:
|
||
|
QStringList availableSkins();
|
||
|
QString currentSkin();
|
||
|
bool loadSkin(QString skinName);
|
||
|
|
||
|
QString defaultSkin();
|
||
|
|
||
|
bool installSkin(QString url);
|
||
|
|
||
|
bool skinRemovable(QString skinName);
|
||
|
bool removeSkin(QString skinName);
|
||
|
|
||
|
QStringList skinMimeTypes();
|
||
|
|
||
|
signals:
|
||
|
void updateSkinList();
|
||
|
|
||
|
private:
|
||
|
QString mCurrentSkin;
|
||
|
};
|
||
|
|
||
|
#endif
|