]> git.lyx.org Git - features.git/commitdiff
remove focus/unfocus events - unused
authorJohn Levon <levon@movementarian.org>
Wed, 19 Jun 2002 22:11:20 +0000 (22:11 +0000)
committerJohn Levon <levon@movementarian.org>
Wed, 19 Jun 2002 22:11:20 +0000 (22:11 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4435 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/ChangeLog
src/frontends/WorkArea.h
src/frontends/qt2/ChangeLog
src/frontends/qt2/QContentPane.C
src/frontends/qt2/QContentPane.h
src/frontends/xforms/ChangeLog
src/frontends/xforms/XWorkArea.C

index 12820e3a26c4db1fa5d2c80b68fc326bce16056f..18e5c0507316fe3b9cb564be965d7e24ca5a9652 100644 (file)
@@ -1,3 +1,7 @@
+2002-06-19  John Levon  <moz@compsoc.man.ac.uk>
+
+       * WorkArea.h: remove focus/unfocus events
 2002-06-19  John Levon  <moz@compsoc.man.ac.uk>
 
        * WorkArea.h: remove unused methods
index 56ed3181c0e82cde39b4e5d7063d81e4054e359f..21b8e8425284b9fd8385e50bde54262e4c9232a0 100644 (file)
@@ -74,10 +74,6 @@ public:
        ///
        boost::signal3<void, int, int, mouse_button::state> workAreaMotionNotify;
        ///
-       boost::signal0<void> workAreaFocus;
-       ///
-       boost::signal0<void> workAreaUnfocus;
-       ///
        boost::signal3<void, int, int, mouse_button::state> workAreaDoubleClick;
        ///
        boost::signal3<void, int, int, mouse_button::state> workAreaTripleClick;
index 8a2e771a5145ac489ee91ba1e9e46613b3f84aa4..66fcda032f9774989b327ac824bb205fcc568dc9 100644 (file)
@@ -1,3 +1,8 @@
+2002-06-19  John Levon  <moz@compsoc.man.ac.uk>
+
+       * QContentPane.h:
+       * QContentPane.C: remove focus/unfocus events
 2002-06-19  John Levon  <moz@compsoc.man.ac.uk>
 
        * QWorkArea.h: remove unused methods
index b204275dd2223c5d7621fa1de39ca7556030be1a..4274b91f8d27a7440829bd6dd1e2265b8fd0d4c7 100644 (file)
@@ -122,18 +122,6 @@ void QContentPane::keyPressEvent(QKeyEvent * e)
 }
 
  
-void QContentPane::focusInEvent(QFocusEvent *)
-{
-       wa_->workAreaFocus();
-}
-
-void QContentPane::focusOutEvent(QFocusEvent *)
-{
-       wa_->workAreaUnfocus();
-}
-
-
 void QContentPane::mouseDoubleClickEvent(QMouseEvent * e)
 {
        wa_->workAreaDoubleClick(e->x(), e->y(), q_button_state(e->state()));
index b1278cfbe4cbb799d390ae80b5cf0505aeddba36..a6ebc4f1a843d5aa499f43c6dd3ed7873fa06915 100644 (file)
@@ -42,10 +42,6 @@ protected:
        void paintEvent(QPaintEvent * e);
        /// widget has been resized
        void resizeEvent(QResizeEvent * e);
-       /// keyboard focus in this widget
-       void focusInEvent(QFocusEvent * e);
-       /// keyboard focus lost
-       void focusOutEvent(QFocusEvent * e);
  
        /// mouse button press
        void mousePressEvent(QMouseEvent * e);
index 8d35b6209afb773be88c261c7dad6e1115d6bed3..763f9cc4d41ca7353f3417d025df065af63f71b6 100644 (file)
@@ -1,3 +1,7 @@
+2002-06-19  John Levon  <moz@compsoc.man.ac.uk>
+
+       * XWorkArea.C: remove focus/unfocus events
 2002-06-19  John Levon  <moz@compsoc.man.ac.uk>
 
        * XWorkArea.h: remove unused methods
index 6348e476e14f26518de8c81bec6a62ec24b58b37..20aa352afe31081a48ed07ccb38c0bffb9088992 100644 (file)
@@ -578,14 +578,6 @@ int XWorkArea::work_area_handler(FL_OBJECT * ob, int event,
                break;
 #endif
 
-       case FL_FOCUS:
-               lyxerr[Debug::WORKAREA] << "Workarea event: FOCUS" << endl;
-               area->workAreaFocus();
-               break;
-       case FL_UNFOCUS:
-               lyxerr[Debug::WORKAREA] << "Workarea event: UNFOCUS" << endl;
-               area->workAreaUnfocus();
-               break;
        case FL_ENTER:
                lyxerr[Debug::WORKAREA] << "Workarea event: ENTER" << endl;
                break;