File: http.h

package info (click to toggle)
kascade 1.0-beta10-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 964 kB
  • ctags: 815
  • sloc: cpp: 7,780; makefile: 39
file content (30 lines) | stat: -rw-r--r-- 383 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#include <string>
#include <vector>
using namespace std;

#include <qsocket.h>

class Http : public QObject
{
	Q_OBJECT

public:
	Http();
	int getFile( string );

public slots:
	void connected();
	void closed();
	void readyRead();
	void error();
	void abort();

private:
	QSocket socket;

	string host, filename;
	
	int socketClosed;
	int success;
};