Fix navigation in twoPagesSpread mode
[qcomicbook-oblomov] / src / thumbnailitem.cpp
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 #include "thumbnailitem.h"
14 #include "thumbnail.h"
15
16 using namespace QComicBook;
17
18 ThumbnailItem::ThumbnailItem(int page): pnum(page), loaded(false)
19 {
20 }
21
22 ThumbnailItem::~ThumbnailItem()
23 {
24 }
25
26 int ThumbnailItem::page() const
27 {
28         return pnum;
29 }
30
31 void ThumbnailItem::setLoaded(bool f)
32 {
33         loaded = f;
34 }
35
36 bool ThumbnailItem::isLoaded() const
37 {
38         return loaded;
39 }
40
41 void ThumbnailItem::setThumbnail(const Thumbnail *t)
42 {
43 }
44