remove focus/unfocus events - unused

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4435 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2002-06-19 22:11:20 +00:00
parent a267304b73
commit ace550953a
7 changed files with 13 additions and 28 deletions

View 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> 2002-06-19 John Levon <moz@compsoc.man.ac.uk>
* WorkArea.h: remove unused methods * WorkArea.h: remove unused methods

View File

@ -74,10 +74,6 @@ public:
/// ///
boost::signal3<void, int, int, mouse_button::state> workAreaMotionNotify; 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> workAreaDoubleClick;
/// ///
boost::signal3<void, int, int, mouse_button::state> workAreaTripleClick; boost::signal3<void, int, int, mouse_button::state> workAreaTripleClick;

View 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> 2002-06-19 John Levon <moz@compsoc.man.ac.uk>
* QWorkArea.h: remove unused methods * QWorkArea.h: remove unused methods

View 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) void QContentPane::mouseDoubleClickEvent(QMouseEvent * e)
{ {
wa_->workAreaDoubleClick(e->x(), e->y(), q_button_state(e->state())); wa_->workAreaDoubleClick(e->x(), e->y(), q_button_state(e->state()));

View File

@ -42,10 +42,6 @@ protected:
void paintEvent(QPaintEvent * e); void paintEvent(QPaintEvent * e);
/// widget has been resized /// widget has been resized
void resizeEvent(QResizeEvent * e); void resizeEvent(QResizeEvent * e);
/// keyboard focus in this widget
void focusInEvent(QFocusEvent * e);
/// keyboard focus lost
void focusOutEvent(QFocusEvent * e);
/// mouse button press /// mouse button press
void mousePressEvent(QMouseEvent * e); void mousePressEvent(QMouseEvent * e);

View 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> 2002-06-19 John Levon <moz@compsoc.man.ac.uk>
* XWorkArea.h: remove unused methods * XWorkArea.h: remove unused methods

View File

@ -578,14 +578,6 @@ int XWorkArea::work_area_handler(FL_OBJECT * ob, int event,
break; break;
#endif #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: case FL_ENTER:
lyxerr[Debug::WORKAREA] << "Workarea event: ENTER" << endl; lyxerr[Debug::WORKAREA] << "Workarea event: ENTER" << endl;
break; break;