From bbf33903b15e003c249d578fe2aa4e6e0050b0fd Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Mon, 23 Apr 2012 00:34:19 +0200 Subject: Fix opensearch add shortcut handling (at least on every site tested, but opensearch.org itself. Broken?) CCBUG: 296707 Backported from master with the needed compile fixes --- src/urlbar/webshortcutwidget.h | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'src/urlbar/webshortcutwidget.h') diff --git a/src/urlbar/webshortcutwidget.h b/src/urlbar/webshortcutwidget.h index bc072f47..d1291714 100644 --- a/src/urlbar/webshortcutwidget.h +++ b/src/urlbar/webshortcutwidget.h @@ -4,6 +4,7 @@ * * Copyright (C) 2009 by Fredy Yanardi * Copyright (C) 2010-2011 by Lionel Chauvin +* Copyright (C) 2012 by Andrea Diamantini * * * This program is free software; you can redistribute it and/or @@ -28,15 +29,24 @@ #ifndef WEBSHORTCUTWIDGET_H #define WEBSHORTCUTWIDGET_H -#include + +// Rekonq Includes +#include "rekonq_defines.h" + +// KDE Includes #include #include +// Qt Includes +#include + +// Forward Declarations class QLabel; class QLineEdit; class QPushButton; -class WebShortcutWidget : public QMenu + +class REKONQ_TESTS_EXPORT WebShortcutWidget : public QMenu { Q_OBJECT public: -- cgit v1.2.1