Minor cleanups in model and connect
[squawker.git] / twittersocket.h
bloba37d6cda5daf451537cfcfdf8ac835235b439f1b
1 #ifndef W_TWITTERSOCKET_H
2 #define W_TWITTERSOCKET_H
4 #include <QHttp>
6 class TwitterSocket : public QHttp
8 Q_OBJECT
10 public:
11 TwitterSocket(QString user, QString pass, QObject *parent=0);
13 void timeline();
14 void accountValid();
15 void update(QString message);
17 signals:
18 void result( bool error, QString errorString, QString contents);
20 private:
21 QHttp *http;
23 private slots:
24 void done(bool error);
28 #endif