Commit caeac1ab authored by Laurent Montel's avatar Laurent Montel 😁

Clean up

parent 353515ef
......@@ -338,7 +338,7 @@ void ComposerWebEngine::setActionsEnabled(bool enabled)
}
}
void ComposerWebEngine::mousePressEvent(QMouseEvent *event)
void ComposerWebEngine::forwardMousePressEvent(QMouseEvent *event)
{
#if 0
if (event->button() == Qt::LeftButton) {
......@@ -354,16 +354,14 @@ void ComposerWebEngine::mousePressEvent(QMouseEvent *event)
#endif
}
void ComposerWebEngine::keyPressEvent(QKeyEvent *event)
void ComposerWebEngine::forwardKeyReleaseEvent(QKeyEvent *event)
{
d->hideImageResizeWidget();
//KWebView::keyPressEvent(event);
}
void ComposerWebEngine::wheelEvent(QWheelEvent *event)
void ComposerWebEngine::forwardWheelEvent(QWheelEvent *event)
{
d->hideImageResizeWidget();
//KWebView::wheelEvent(event);
}
void ComposerWebEngine::mouseDoubleClickEvent(QMouseEvent *event)
......
......@@ -118,9 +118,9 @@ public:
protected:
void contextMenuEvent(QContextMenuEvent *event) Q_DECL_OVERRIDE;
void mousePressEvent(QMouseEvent *event) Q_DECL_OVERRIDE;
void keyPressEvent(QKeyEvent *event) Q_DECL_OVERRIDE;
void wheelEvent(QWheelEvent *event) Q_DECL_OVERRIDE;
void forwardMousePressEvent(QMouseEvent *event) Q_DECL_OVERRIDE;
void forwardKeyReleaseEvent(QKeyEvent *event) Q_DECL_OVERRIDE;
void forwardWheelEvent(QWheelEvent *event) Q_DECL_OVERRIDE;
void mouseDoubleClickEvent(QMouseEvent *) Q_DECL_OVERRIDE;
Q_SIGNALS:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment