diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-05-04 09:19:16 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-05-04 09:19:16 +0200 |
commit | 7ea1b6add7ebef4d475801e15e89992e734617c1 (patch) | |
tree | a083886be1493a1616ef380e8ccad40e09e49e1f /src/urlbar/rsswidget.h | |
parent | Fix conflicts (diff) | |
download | rekonq-7ea1b6add7ebef4d475801e15e89992e734617c1.tar.xz |
Memory leaks fixes
first bunch
Diffstat (limited to 'src/urlbar/rsswidget.h')
-rw-r--r-- | src/urlbar/rsswidget.h | 18 |
1 files changed, 10 insertions, 8 deletions
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<KUrl, QString> map, QWidget *parent); - - void showAt(QPoint pos); - -public slots: - void accepted(); + RSSWidget(const QMap<KUrl, QString> &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<KUrl, QString> m_map; |