MythTV master
mythnewsconfig.h
Go to the documentation of this file.
1#ifndef MYTHNEWSCONFIG_H
2#define MYTHNEWSCONFIG_H
3
4// Qt headers
5#include <QtGlobal>
6#include <QRecursiveMutex>
7
8// MythTV headers
10
14class MythUIText;
15
17{
18 Q_OBJECT
19
20 public:
22 const QString &name);
23 ~MythNewsConfig() override;
24
25 bool Create(void) override; // MythScreenType
26 bool keyPressEvent(QKeyEvent *event) override; // MythScreenType
27
28 private:
29 void loadData(void);
30 void populateSites(void);
31
32 mutable QRecursiveMutex m_lock;
34
37
40 int m_updateFreq {30};
41
42 private slots:
45};
46
47#endif /* MYTHNEWSCONFIG_H */
~MythNewsConfig() override
MythUIText * m_contextText
void slotCategoryChanged(MythUIButtonListItem *item)
void populateSites(void)
bool Create(void) override
void toggleItem(MythUIButtonListItem *item)
MythNewsConfigPriv * m_priv
MythUIText * m_helpText
MythUIButtonList * m_categoriesList
QRecursiveMutex m_lock
MythUIButtonList * m_siteList
void loadData(void)
bool keyPressEvent(QKeyEvent *event) override
Key event handler.
MythNewsConfig(MythScreenStack *parent, const QString &name)
Screen in which all other widgets are contained and rendered.
List widget, displays list items in a variety of themeable arrangements and can trigger signals when ...
All purpose text widget, displays a text string.
Definition: mythuitext.h:29