]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/QtView.h
remove QT3_SUPPORT macro dependency by Peter Kummel (syntheticpp@gmx.net)
[lyx.git] / src / frontends / qt4 / QtView.h
index 99d45044dacd1883639918051994da29b675f359..937629dd7e77122031b73dbc0ea28c81af13486a 100644 (file)
@@ -36,6 +36,7 @@ namespace frontend {
 
 class QCommandBuffer;
 
+QWidget* mainWindow();
 
 /**
  * QtView - Qt implementation of LyXView
@@ -71,6 +72,8 @@ public:
        // returns true if this view has the focus.
        virtual bool hasFocus() const;
 
+       static QMainWindow* mainWidget();
+
 public slots:
        /// idle timeout
        void update_view_state_qt();
@@ -99,6 +102,9 @@ private:
 
        /// command buffer
        QCommandBuffer * commandbuffer_;
+
+       ///
+       static QMainWindow* mainWidget_;
 };
 
 } // namespace frontend