summaryrefslogtreecommitdiff
path: root/lsglobals.h
blob: 280ec366a5b313b03db5a1399900d6f1feebb3f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef LSGLOBALS_H
#define LSGLOBALS_H

#include <QtGui/QIcon>
#include <QtCore/QHash>

class LSGlobals {
public:
	static bool setup();

	static QIcon getIcon(QString name);
	static QIcon getIconForPaneType(QString type);

private:
	static bool m_loaded;

	static QHash<QString, QIcon> m_icons;
	static QHash<QString, QString> m_pane_icon_names;

	static bool loadIcon(QString name);
};

#endif // LSGLOBALS_H