Minor cleanups in model and connect
[squawker.git] / w_timeline.h
blobb6e6ab8e3d26014bc7ab7b424c72ba7afe0eb146
1 #ifndef W_TIMELINE_H
2 #define W_TIMELINE_H
4 #include "ui_w_timeline.h"
5 #include "twittersocket.h"
6 #include "timelinehandler.h"
7 #include "timeline.h"
9 class w_Timeline : public QDialog, 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(QStandardItem *item);
23 private:
24 QString user;
25 QString password;
26 QTimer *timer;
27 TimelineHandler *handler;
28 Timeline *timeline;
32 #endif