Scribus
Open source desktop publishing at your fingertips
pageitempreview.h
1 //
2 // C++ Interface: pageitempreview
3 //
4 // Description:
5 //
6 //
7 // Author: Pierre Marchand <pierremarc@oep-h.com>, (C) 2008
8 //
9 // Copyright: See COPYING file that comes with this distribution
10 //
11 //
12 
13 #ifndef PAGEITEMPREVIEW_H
14 #define PAGEITEMPREVIEW_H
15 
16 #include <QThread>
17 #include <QMutex>
18 #include <QImage>
19 
20 class PageItem;
21 class PageItemPreview : public QThread
22 {
23  public:
25  ~PageItemPreview();
26 
27  bool isReady() const;
28  QImage * getImage();
29 
30  private:
31  PageItem * m_pageitem;
32  bool m_completed;
33  QImage m_image;
34 
35  QMutex m_mutex;
36 
37  void run();
38 };
39 
40 #endif // PAGEITEMPREVIEW_H
41 
Definition: pageitem.h:92
Definition: pageitempreview.h:21