Fix navigation in twoPagesSpread mode
[qcomicbook-oblomov] / src / icons.h
1 /*
2  * This file is a part of QComicBook.
3  *
4  * Copyright (C) 2005-2006 Pawel Stolowski <yogin@linux.bydg.org>
5  *
6  * QComicBook is free software; you can redestribute it and/or modify it
7  * under terms of GNU General Public License by Free Software Foundation.
8  *
9  * This program is distributed in the hope that it will be useful, but
10  * WITHOUT ANY WARRANTY. See GPL for more details.
11  */
12
13 #ifndef __COMICBOOKICONS_H
14 #define __COMICBOOKICONS_H
15
16 #include <qiconset.h>
17 #include <qdict.h>
18
19 namespace QComicBook
20 {
21         class Icons
22         {
23                 private:
24                         static QDict<QIconSet> set;
25                         static QString iconpath;
26
27                 public:
28                         static bool init(const QString &path);
29                         static const QIconSet& get(const QString &name);
30         };
31 }
32
33 #endif
34