]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiWorkArea.h
Use <cstdint> instead of <boost/cstdint.hpp>
[lyx.git] / src / frontends / qt4 / GuiWorkArea.h
index 806aefd1613f6c9917d7b4386157b83a3974ba03..22e8bfdc0a32cc0589ee605230d714520baf8490 100644 (file)
@@ -68,9 +68,6 @@ public:
 
        /// return true if the key is part of a shortcut
        bool queryKeySym(KeySymbol const & key, KeyModifier mod) const;
-       /// Process Key pressed event.
-       /// This needs to be public because it is accessed externally by GuiView.
-       void processKeySym(KeySymbol const & key, KeyModifier mod);
 
        bool inDialogMode() const;
        void setDialogMode(bool mode);
@@ -86,6 +83,9 @@ public:
        double pixelRatio() const;
 
 public Q_SLOTS:
+       /// Process Key pressed event.
+       /// This needs to be public because it is accessed externally by GuiView.
+       void processKeySym(KeySymbol const & key, KeyModifier mod);
        ///
        void stopBlinkingCaret();
        ///
@@ -276,33 +276,6 @@ private:
 }; // TabWorkArea
 
 
-class DragTabBar : public QTabBar
-{
-       Q_OBJECT
-public:
-       ///
-       DragTabBar(QWidget * parent = 0);
-
-protected:
-       ///
-       void mousePressEvent(QMouseEvent * event);
-       ///
-       void mouseMoveEvent(QMouseEvent * event);
-       ///
-       void dragEnterEvent(QDragEnterEvent * event);
-       ///
-       void dropEvent(QDropEvent * event);
-
-private:
-       ///
-       QPoint dragStartPos_;
-
-Q_SIGNALS:
-       ///
-       void tabMoveRequested(int fromIndex, int toIndex);
-};
-
-
 class GuiWorkAreaContainer : public QWidget, public Ui::WorkAreaUi
 {
        Q_OBJECT