Pass ImlibImageLists over to the view
[qcomicbook-oblomov] / src / thumbnailevent.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 "thumbnailevent.h"
14 #include "thumbnail.h"
15
16 using namespace QComicBook;
17
18 ThumbnailEvent::ThumbnailEvent(Thumbnail *t): QCustomEvent(ThumbnailReady), thumbnail(t)
19 {
20 }
21
22 ThumbnailEvent::~ThumbnailEvent()
23 {
24         delete thumbnail;
25 }
26
27 const Thumbnail *ThumbnailEvent::getThumbnail() const
28 {
29         return thumbnail;
30 }
31