Actually connects, and can now post messages
[squawker.git] / twittersocket.h
blobe3af803f03d1bcbd7962a3b967b8233f64e044da
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);
20 private:
21 QHttp *http;
23 private slots:
24 void done(bool error);
28 #endif