summaryrefslogtreecommitdiff
path: root/src/urlbar/rsswidget.h
diff options
context:
space:
mode:
authorJon Ander Peñalba <jonan88@gmail.com>2010-09-10 11:50:38 +0200
committerJon Ander Peñalba <jonan88@gmail.com>2010-09-10 11:50:38 +0200
commitf24af9b9aea23cac811e11014b38e435b7c1a818 (patch)
tree65385eee0ca3a8b0c0374a4419e7e09250af1989 /src/urlbar/rsswidget.h
parentBookmarkWidget now inherits from QMenu (much nicer). (diff)
downloadrekonq-f24af9b9aea23cac811e11014b38e435b7c1a818.tar.xz
The RSS widget and the bookmark widget are now more consistent (they have the same look and behavior)
Diffstat (limited to 'src/urlbar/rsswidget.h')
-rw-r--r--src/urlbar/rsswidget.h20
1 files changed, 7 insertions, 13 deletions
diff --git a/src/urlbar/rsswidget.h b/src/urlbar/rsswidget.h
index 0272805e..33c34e76 100644
--- a/src/urlbar/rsswidget.h
+++ b/src/urlbar/rsswidget.h
@@ -27,20 +27,15 @@
#ifndef RSSWIDGET_H
#define RSSWIDGET_H
-// Rekonq Includes
-#include "rekonq_defines.h"
-
-// KDE Includes
-#include <KComboBox>
-#include <KUrl>
-
// Qt Includes
-#include <QtCore/QMap>
+#include <QtGui/QMenu>
-#include <QtGui/QFrame>
+// Forward Declarations
+class KComboBox;
+class KUrl;
-class RSSWidget : public QFrame
+class RSSWidget : public QMenu
{
Q_OBJECT
@@ -48,13 +43,12 @@ public:
// QMap< feedUrl, feedTitle>
RSSWidget(const QMap<KUrl, QString> &map, QWidget *parent = 0);
~RSSWidget();
-
+
void showAt(const QPoint &pos);
private slots:
void accept();
- void reject();
-
+
private:
void addWithAkregator(const QString &url);
void addWithGoogleReader(const QString &url);