Added timeline parser for yourself and your friends.
[squawker.git] / w_timeline.h
blob545e521aacdc212504dade9723845ff5fa6ebe9c
1 #ifndef W_TIMELINE_H
2 #define W_TIMELINE_H
4 #include "ui_w_timeline.h"
5 #include "twittersocket.h"
6 #include "timelinehandler.h"
9 class w_Timeline : public QWidget, private Ui::w_timeline
11 Q_OBJECT
13 public:
14 w_Timeline(QString user, QString password, QWidget *parent = 0);
16 private slots:
17 void sendUpdate();
18 void refresh();
19 void refreshResult(bool error, QString errorstring, QString contents);
20 void updateResult(bool error, QString errorstring);
21 void updateTimeline(QList<Status *> statuses);
23 private:
24 QString user;
25 QString password;
26 QTimer *timer;
27 TimelineHandler *handler;
31 #endif