summaryrefslogtreecommitdiffstats
path: root/noatun/modules/winskin/waSkinManager.h
blob: a3b06c450197603454512e1e686d8b95bb146b77 (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
40
#ifndef _WASKINMANAGER_H
#define _WASKINMANAGER_H

#include <dcopobject.h>
#include <tqobject.h>
#include <tqstringlist.h>
#include <tqstring.h>
#include <tqmap.h>

class WaSkinManager : public TQObject, public DCOPObject {
Q_OBJECT
//
K_DCOP

public:
	WaSkinManager();
	~WaSkinManager();

k_dcop:
	TQStringList availableSkins();
	TQString currentSkin();
	bool loadSkin(TQString skinName);

	TQString defaultSkin();

	bool installSkin(TQString url);

	bool skinRemovable(TQString skinName);
	bool removeSkin(TQString skinName);

	TQStringList skinMimeTypes();

signals:
	void updateSkinList();

private:
	TQString mCurrentSkin;
};

#endif