mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2024-12-29 17:23:36 +00:00
kconfig: qconf: remove mouse{Press,Move}Event() functions
These functions simply passes the event to the parent. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
This commit is contained in:
parent
8b36d3f2e6
commit
4a798a1e10
@ -781,13 +781,6 @@ void ConfigList::keyPressEvent(QKeyEvent* ev)
|
||||
ev->accept();
|
||||
}
|
||||
|
||||
void ConfigList::mousePressEvent(QMouseEvent* e)
|
||||
{
|
||||
//QPoint p(contentsToViewport(e->pos()));
|
||||
//printf("contentsMousePressEvent: %d,%d\n", p.x(), p.y());
|
||||
Parent::mousePressEvent(e);
|
||||
}
|
||||
|
||||
void ConfigList::mouseReleaseEvent(QMouseEvent* e)
|
||||
{
|
||||
QPoint p = e->pos();
|
||||
@ -834,13 +827,6 @@ skip:
|
||||
Parent::mouseReleaseEvent(e);
|
||||
}
|
||||
|
||||
void ConfigList::mouseMoveEvent(QMouseEvent* e)
|
||||
{
|
||||
//QPoint p(contentsToViewport(e->pos()));
|
||||
//printf("contentsMouseMoveEvent: %d,%d\n", p.x(), p.y());
|
||||
Parent::mouseMoveEvent(e);
|
||||
}
|
||||
|
||||
void ConfigList::mouseDoubleClickEvent(QMouseEvent* e)
|
||||
{
|
||||
QPoint p = e->pos();
|
||||
|
@ -55,9 +55,7 @@ class ConfigList : public QTreeWidget {
|
||||
|
||||
protected:
|
||||
void keyPressEvent(QKeyEvent *e);
|
||||
void mousePressEvent(QMouseEvent *e);
|
||||
void mouseReleaseEvent(QMouseEvent *e);
|
||||
void mouseMoveEvent(QMouseEvent *e);
|
||||
void mouseDoubleClickEvent(QMouseEvent *e);
|
||||
void focusInEvent(QFocusEvent *e);
|
||||
void contextMenuEvent(QContextMenuEvent *e);
|
||||
|
Loading…
Reference in New Issue
Block a user