akregator
notificationmanager.cpp
Go to the documentation of this file.
78 KNotification::event(QLatin1String("FeedAdded"), i18n("Feed added:\n %1", feeds[0]), QPixmap() ,m_widget, KNotification::CloseOnTimeout, m_instance);
86 KNotification::event(QLatin1String("FeedAdded"), i18n("Feeds added:\n %1", message), QPixmap() ,m_widget, KNotification::CloseOnTimeout, m_instance);
105 KNotification::event(QLatin1String("NewArticles"), message, QPixmap() ,m_widget, KNotification::CloseOnTimeout, m_instance);
118 if (!m_addedInLastInterval || m_articles.count() >= m_maxArticles || m_intervalsLapsed >= m_maxIntervals)
void slotNotifyFeeds(const QStringList &feeds)
notifies the addition of feeds (used when added via DCOP or command line)
Definition: notificationmanager.cpp:73
void slotNotifyArticle(const Akregator::Article &article)
notifies an article.
Definition: notificationmanager.cpp:60
this class collects notification requests (new articles etc.) and processes them using KNotify...
Definition: notificationmanager.h:39
void setWidget(QWidget *widget, const KComponentData &inst=KComponentData())
the widget used for notification, normally either the mainwindow or the tray icon ...
Definition: notificationmanager.cpp:54
void slotIntervalCheck()
Definition: notificationmanager.cpp:113
int count(const T &value) const
static NotificationManager * self()
singleton instance of notification manager
Definition: notificationmanager.cpp:130
~NotificationManager()
Definition: notificationmanager.cpp:49
typedef ConstIterator
A proxy class for Syndication::ItemPtr with some additional methods to assist sorting.
Definition: article.h:63
QString fromLatin1(const char *str, int size)
const_iterator constEnd() const
const_iterator constBegin() const
QString arg(qlonglong a, int fieldWidth, int base, const QChar &fillChar) const
singleShot
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.