4 * Copyright (c) 2000, 2001, 2007 Frerich Raabe <raabe@kde.org>
6 * This program is distributed in the hope that it will be useful, but WITHOUT
7 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
8 * FOR A PARTICULAR PURPOSE. For licensing and distribution details, check the
9 * accompanying file 'COPYING'.
14 #include <plasma/applet.h>
23 class KNewsTicker
: public Plasma::Applet
27 KNewsTicker( QObject
*parent
, const QVariantList
&args
);
28 virtual ~KNewsTicker();
30 virtual QSizeF
contentSizeHint() const;
32 virtual QList
<QAction
*> contextActions();
34 bool hideArticle( const QUrl
&url
);
37 virtual void showConfigurationInterface();
41 void feedLoaded( const QUrl
&url
);
42 void feedUpdateFinished();
43 void openFeedItem( const QString
&url
);
44 void settingsChanged( const QString
&dialogName
);
45 void settingsAccepted();
49 void reloadSettings();
51 QList
<NewsItem
> m_items
;
52 QTimer
*m_updateTimer
;
53 QSignalMapper
*m_signalMapper
;
54 QSet
<QUrl
> m_readArticles
;
55 NewsItemView
*m_itemView
;
56 SettingsDialog
*m_settingsDialog
;
59 #endif // KNEWSTICKER_H