print functionality
[pykit.git] / Viewer.hh
1 // $Id$
2 //
3 // Copyright (C) 2010
4 //     Stefan Bund <info@j32.de>
5
6 /** \file
7     \brief Viewer public header */
8
9 #ifndef HH_PyKit_Viewer_
10 #define HH_PyKit_Viewer_ 1
11
12 // Custom includes
13 #include <QWebView>
14 #include <QUrl>
15
16 //#include "Viewer.mpp"
17 ///////////////////////////////hh.p////////////////////////////////////////
18
19 namespace pykit {
20
21     class Publisher;
22
23     class Viewer
24         : public QWebView
25     {
26         Q_OBJECT;
27     public:
28         Viewer(QUrl const & url, Publisher * publisher, QWidget * parent = 0);
29
30     private slots:
31         void printRequested();
32     };
33
34 }
35
36 ///////////////////////////////hh.e////////////////////////////////////////
37 //#include "Viewer.cci"
38 //#include "Viewer.ct"
39 //#include "Viewer.cti"
40 #endif
41
42 \f
43 // Local Variables:
44 // mode: c++
45 // fill-column: 100
46 // comment-column: 40
47 // c-file-style: "j32"
48 // indent-tabs-mode: nil
49 // ispell-local-dictionary: "american"
50 // compile-command: "scons -U"
51 // End: