From 7ea1b6add7ebef4d475801e15e89992e734617c1 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Tue, 4 May 2010 09:19:16 +0200 Subject: Memory leaks fixes first bunch --- src/urlbar/rsswidget.h | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'src/urlbar/rsswidget.h') diff --git a/src/urlbar/rsswidget.h b/src/urlbar/rsswidget.h index 258107eb..0272805e 100644 --- a/src/urlbar/rsswidget.h +++ b/src/urlbar/rsswidget.h @@ -46,16 +46,18 @@ class RSSWidget : public QFrame public: // QMap< feedUrl, feedTitle> - RSSWidget(QMap map, QWidget *parent); - - void showAt(QPoint pos); - -public slots: - void accepted(); + RSSWidget(const QMap &map, QWidget *parent = 0); + ~RSSWidget(); + + void showAt(const QPoint &pos); +private slots: + void accept(); + void reject(); + private: - void addWithAkregator(QString url); - void addWithGoogleReader(QString url); + void addWithAkregator(const QString &url); + void addWithGoogleReader(const QString &url); QMap m_map; -- cgit v1.2.1