Added very basic sharing functionality.
[grr] / src / contentwindow.h
1 #ifndef _CONTENT_WINDOW_H
2 #define _CONTENT_WINDOW_H
3
4 #include <QMainWindow>
5 #include <QWebView>
6 #include <QtGui>
7 #include <QtWebKit>
8 #include "googlereader.h"
9
10 class ContentWindow : public QMainWindow {
11         Q_OBJECT
12
13         public:
14                 ContentWindow(QWidget *parent = 0, Entry *e = 0);
15                 virtual ~ContentWindow();
16                 void closeEvent(QCloseEvent *event);
17
18         public slots:
19                 void loadFinished(bool);
20                 void loadStarted();
21                 void seeOriginal();
22
23         private:
24                 Entry *entry;
25                 QGraphicsWebView *webview;
26                 QAction *starred;
27                 QAction *shared;
28                 QAction *keepUnread;
29
30                 void grabZoomKeys(bool grab);
31 };
32
33 #endif
34