Scribus
Open source desktop publishing at your fingertips
pp_proxy.h
1 /*
2 For general Scribus (>=1.3.2) copyright and licensing information please refer
3 to the COPYING file provided with the program. Following this notice may exist
4 a copyright and/or license notice that predates the release of Scribus 1.3.2
5 for which a new license (GPL+exception) is in place.
6 */
7 //CB: 2014
8 
9 #ifndef PP_PROXY_H
10 #define PP_PROXY_H
11 
12 #include <QObject>
13 
14 class PageItem;
15 class ScribusDoc;
16 
17 
18 class PP_Proxy : public QObject
19 {
20  Q_OBJECT
21  public:
22  explicit PP_Proxy(QObject *parent = 0);
23 
24  signals:
25 
26  public slots:
27  void setPageItem(PageItem* item);
28  void setDoc(ScribusDoc* doc);
29 
30  protected:
31  PageItem *m_pageItem;
32  ScribusDoc *m_scribusDoc;
33 
34  void connectDoc();
35  void connectItem();
36 
37  void publishDocChange();
38  void publishItemChange();
39 };
40 
41 #endif // PP_PROXY_H
Definition: pp_proxy.h:18
the Document Class
Definition: scribusdoc.h:90
Definition: pageitem.h:92