diff options
author | Furkan Uzumcu <furkanuzumcu@gmail.com> | 2011-10-21 17:34:20 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2011-10-21 17:34:20 +0200 |
commit | 2668d6425b3573368150c95c253c653d3362136f (patch) | |
tree | e10f0d74c690ffaaf5ddc0e82646f25e23aaefe6 /src/tabbar.h | |
parent | Merge branch 'master' of git://anongit.kde.org/rekonq (diff) | |
download | rekonq-2668d6425b3573368150c95c253c653d3362136f.tar.xz |
Enable url or text drops in the tabbar
Dropping urls in the tabbar loads them in new tabs, while dropping text
searches it on your default search engine.
REVIEW: 102811
REVIEWED-BY: adjam
Diffstat (limited to 'src/tabbar.h')
-rw-r--r-- | src/tabbar.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tabbar.h b/src/tabbar.h index b4c816b7..1cb66592 100644 --- a/src/tabbar.h +++ b/src/tabbar.h @@ -88,6 +88,8 @@ protected: virtual void mousePressEvent(QMouseEvent *event); virtual void tabRemoved(int index); + void dropEvent(QDropEvent *event); + void dragEnterEvent(QDragEnterEvent *event); private slots: void cloneTab(); @@ -102,6 +104,7 @@ private slots: void showTabPreview(); void removeAnimation(int index); + bool isURLValid(const QString &url); private: void setupHistoryActions(); |