summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-08-20 17:09:23 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-08-20 17:09:23 (GMT)
commit6272731f996ce48ed405bb5eb1b53ebfdbeea08a (patch)
treee0e5aca636736fa830073780e2ba566fa2ab8aff /Swift/QtUI/QtWebView.h
parent84835e9ed81d215511a0393d371ff9bf3ddf4953 (diff)
downloadswift-6272731f996ce48ed405bb5eb1b53ebfdbeea08a.zip
swift-6272731f996ce48ed405bb5eb1b53ebfdbeea08a.tar.bz2
Disable dropping of images & URL context menus in the chat view.
Diffstat (limited to 'Swift/QtUI/QtWebView.h')
-rw-r--r--Swift/QtUI/QtWebView.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Swift/QtUI/QtWebView.h b/Swift/QtUI/QtWebView.h
index 3ab5c64..171330d 100644
--- a/Swift/QtUI/QtWebView.h
+++ b/Swift/QtUI/QtWebView.h
@@ -15,6 +15,9 @@ namespace Swift {
public:
QtWebView(QWidget* parent);
void keyPressEvent(QKeyEvent* event);
+ void dragEnterEvent(QDragEnterEvent *event);
+ void contextMenuEvent(QContextMenuEvent* ev);
+
signals:
void gotFocus();