]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt4/QLPainter.h
This is the merging of the GUI API cleanup branch that was developed in svn+ssh:...
[features.git] / src / frontends / qt4 / QLPainter.h
index 93e048f64425d87b408bb39fbbaac31c4835733e..88e8c4096f17afe5b4e53bfbf43ba8f751345875 100644 (file)
@@ -23,14 +23,18 @@ class QPainter;
 class QString;
 class QPixmap;
 class QImage;
-class QWorkArea;
+
+namespace lyx {
+namespace frontend {
+
+class GuiWorkArea;
 
 /**
  * QLPainter - a painter implementation for Qt4
  */
 class QLPainter : public Painter {
 public:
-       QLPainter(QWorkArea *);
+       QLPainter(GuiWorkArea *);
 
        ~QLPainter();
 
@@ -146,11 +150,14 @@ private:
        boost::scoped_ptr<QPainter> qp_;
 
        /// the working area
-       QWorkArea * qwa_;
+       GuiWorkArea * qwa_;
 
        LColor::color current_color_;
        Painter::line_style current_ls_;
        Painter::line_width current_lw_;
 };
 
+} // namespace frontend
+} // namespace lyx
+
 #endif // QLPAINTER_H