]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/QWorkArea.h
rename LFUN enum values according to their command (as used in th minibuffer/bind...
[lyx.git] / src / frontends / qt4 / QWorkArea.h
index 74f20c3ff2f1035524b52c4dbfc639c493a73ce1..92bd7f57c5d818ec32e82152eade9869aa008fe1 100644 (file)
@@ -145,6 +145,10 @@ public:
        */
        void drawScreen(int x, int y, QPixmap pixmap);
 
+        LyXView & view()
+        {
+                return view_;
+        }
 protected:
 
        /// repaint part of the widget
@@ -185,7 +189,9 @@ public slots:
        void adjustViewWithScrollBar(int action = 0);
 
 private:
-
+        ///
+        LyXView & view_;
+        
        /// Buffer view width.
        int workWidth_;