]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt3/QtView.h
This is the merging of the GUI API cleanup branch that was developed in svn+ssh:...
[features.git] / src / frontends / qt3 / QtView.h
index 35737fa4752ea9807272d7c05769d44d32418328..29cf568f5d796c51400d30e9e28598240b318290 100644 (file)
@@ -18,6 +18,8 @@
 
 #include "frontends/LyXView.h"
 
+#include "GuiImplementation.h"
+
 #include <qmainwindow.h>
 #include <qtimer.h>
 
@@ -62,6 +64,9 @@ public:
        // returns true if this view has the focus.
        virtual bool hasFocus() const;
 
+       //
+       lyx::frontend::Gui & gui() { return frontend_; }
+
 public slots:
        /// idle timeout
        void update_view_state_qt();
@@ -86,6 +91,9 @@ private:
 
        /// command buffer
        QCommandBuffer * commandbuffer_;
+       
+       ///
+       GuiImplementation frontend_;
 };
 
 } // namespace frontend