]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiWorkArea.h
This commit transfers most of the LyXView use from BufferView to WorkArea, most notably:
[lyx.git] / src / frontends / qt4 / GuiWorkArea.h
index 878f1869a8df31ca4b179a69192bf3cf7a3a066b..a31b0cec82400ded75b043a48a10579c220b8c8d 100644 (file)
@@ -54,7 +54,7 @@ class double_click {
 public:
        int x;
        int y;
-       Qt::ButtonState state;
+       Qt::MouseButton state;
        bool active;
 
        bool operator==(QMouseEvent const & e) {
@@ -101,7 +101,7 @@ class GuiWorkArea: public QAbstractScrollArea, public WorkArea {
 
 public:
 
-       GuiWorkArea(int width, int height, QWidget * parent, BufferView * buffer_view = 0);
+       GuiWorkArea(int width, int height, LyXView & lyx_view);
 
        virtual ~GuiWorkArea();
        /// return the width of the content pane