]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiWorkArea.h
On Linux show in crash message box the backtrace
[lyx.git] / src / frontends / qt4 / GuiWorkArea.h
index 16720b1db7432ad1f0d881bd84a28be8d0a39961..e5c488f6a8ae1fa473e36a7135da8b37e40b8ad5 100644 (file)
@@ -15,8 +15,6 @@
 
 #include "frontends/WorkArea.h"
 
-#include "support/docstring.h"
-
 #include <QAbstractScrollArea>
 #include <QTabBar>
 #include <QTabWidget>
@@ -69,10 +67,7 @@ public:
        BufferView const & bufferView() const;
        ///
        void redraw(bool update_metrics);
-       ///
-       void stopBlinkingCursor();
-       ///
-       void startBlinkingCursor();
+
        /// Process Key pressed event.
        /// This needs to be public because it is accessed externally by GuiView.
        void processKeySym(KeySymbol const & key, KeyModifier mod);
@@ -89,9 +84,17 @@ public:
        GuiView const & view() const;
        GuiView & view();
 
+public Q_SLOTS:
+       ///
+       void stopBlinkingCursor();
+       ///
+       void startBlinkingCursor();
+
 Q_SIGNALS:
        ///
        void titleChanged(GuiWorkArea *);
+       ///
+       void busy(bool);
 
 private Q_SLOTS:
        /// Scroll the BufferView.
@@ -196,6 +199,7 @@ public:
        GuiWorkArea * currentWorkArea();
        GuiWorkArea * workArea(Buffer & buffer);
        GuiWorkArea * workArea(int index);
+       void paintEvent(QPaintEvent *);
 
 Q_SIGNALS:
        ///
@@ -238,11 +242,6 @@ public:
        ///
        DragTabBar(QWidget * parent = 0);
 
-#if QT_VERSION < 0x040300
-       ///
-       int tabAt(QPoint const & position) const;
-#endif
-
 protected:
        ///
        void mousePressEvent(QMouseEvent * event);
@@ -256,8 +255,6 @@ protected:
 private:
        ///
        QPoint dragStartPos_;
-       ///
-       int dragCurrentIndex_;
 
 Q_SIGNALS:
        ///