summaryrefslogtreecommitdiff
path: root/src/urlbar/webshortcutwidget.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-04-23 00:34:19 +0200
committerAndrea Diamantini <adjam7@gmail.com>2012-04-27 01:19:17 +0200
commitbbf33903b15e003c249d578fe2aa4e6e0050b0fd (patch)
treee00b58059f4d0d0a4c331b795f47ae80a028508f /src/urlbar/webshortcutwidget.h
parentRevert "Clean up headers && fix compilation with (the upcoming) qt 4.8.2" (diff)
downloadrekonq-bbf33903b15e003c249d578fe2aa4e6e0050b0fd.tar.xz
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
Diffstat (limited to 'src/urlbar/webshortcutwidget.h')
-rw-r--r--src/urlbar/webshortcutwidget.h14
1 files changed, 12 insertions, 2 deletions
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 <fyanardi@gmail.com>
* Copyright (C) 2010-2011 by Lionel Chauvin <megabigbug@yahoo.fr>
+* Copyright (C) 2012 by Andrea Diamantini <adjam7 at gmail dot com>
*
*
* This program is free software; you can redistribute it and/or
@@ -28,15 +29,24 @@
#ifndef WEBSHORTCUTWIDGET_H
#define WEBSHORTCUTWIDGET_H
-#include <QMenu>
+
+// Rekonq Includes
+#include "rekonq_defines.h"
+
+// KDE Includes
#include <KUrl>
#include <KService>
+// Qt Includes
+#include <QMenu>
+
+// Forward Declarations
class QLabel;
class QLineEdit;
class QPushButton;
-class WebShortcutWidget : public QMenu
+
+class REKONQ_TESTS_EXPORT WebShortcutWidget : public QMenu
{
Q_OBJECT
public: