summaryrefslogtreecommitdiffstats
path: root/noatun/modules/winskin/waSkinManager.h
blob: 17b21dafaf8697fa032a3325f19ac8747ef20e70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#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