rssguard/src/gui/feedmessageviewer.h

42 lines
825 B
C
Raw Normal View History

2013-10-05 07:43:10 +02:00
#ifndef FEEDMESSAGEVIEWER_H
#define FEEDMESSAGEVIEWER_H
#include "gui/tabcontent.h"
class WebBrowser;
2013-10-13 16:12:15 +02:00
class FeedsView;
class MessagesView;
2013-10-20 14:45:14 +02:00
class QToolBar;
2013-10-05 07:43:10 +02:00
class FeedMessageViewer : public TabContent {
Q_OBJECT
public:
2013-10-20 18:09:15 +02:00
// Constructors and destructors.
2013-10-05 07:43:10 +02:00
explicit FeedMessageViewer(QWidget *parent = 0);
virtual ~FeedMessageViewer();
2013-10-20 18:09:15 +02:00
// WebBrowser getter from TabContent interface.
2013-10-13 16:12:15 +02:00
WebBrowser *webBrowser();
2013-10-05 07:43:10 +02:00
2013-10-13 16:12:15 +02:00
protected:
2013-10-20 18:09:15 +02:00
// Initializes some properties of the widget.
void initialize();
// Initializes both messages/feeds views.
2013-10-13 16:12:15 +02:00
void initializeViews();
2013-10-05 07:43:10 +02:00
2013-12-04 21:03:09 +01:00
// Sets up connections.
void setupConnections();
2013-10-13 16:12:15 +02:00
private:
2013-10-20 14:45:14 +02:00
QToolBar *m_toolBar;
2013-11-24 14:44:17 +01:00
2013-10-13 16:12:15 +02:00
MessagesView *m_messagesView;
FeedsView *m_feedsView;
WebBrowser *m_messagesBrowser;
2013-10-05 07:43:10 +02:00
};
#endif // FEEDMESSAGEVIEWER_H