]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt3/qscreen.C
This is the merging of the GUI API cleanup branch that was developed in svn+ssh:...
[features.git] / src / frontends / qt3 / qscreen.C
index 5b5ab545dceae84869dc4fa0df948bb2a2c52b2b..ba4cf89deaaf22cb9632e0a28ae1c6e5a1f7b9d9 100644 (file)
@@ -30,9 +30,11 @@ void copyInPixmap(QPixmap * p, int dest_y, int src_y, int src_w, int src_h)
 
 } // namespace anon
 
+namespace lyx {
+namespace frontend {
 
 QScreen::QScreen(QWorkArea & o)
-       : LyXScreen(), owner_(o)
+       : owner_(o)
 {
 }
 
@@ -42,12 +44,6 @@ QScreen::~QScreen()
 }
 
 
-WorkArea & QScreen::workarea()
-{
-       return owner_;
-}
-
-
 void QScreen::repaint()
 {
        QWidget * content = owner_.getContent();
@@ -162,3 +158,7 @@ void QScreen::removeCursor()
        owner_.getContent()
                ->update(cursor_x_, cursor_y_, cursor_w_, cursor_h_);
 }
+
+
+} // namespace frontend
+} // namespace lyx