Created
February 9, 2015 01:26
-
-
Save suciptoid/3668a1611bcb1c99e894 to your computer and use it in GitHub Desktop.
Header
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef HTTPTHREAD_H | |
#define HTTPTHREAD_H | |
#include <QThread> | |
#include <QTcpSocket> | |
class FortuneThread : public QThread | |
{_ | |
Q_OBJECT | |
public: | |
HttpThread(int socketDescriptor, const QString &httpthread, QObject *parent); | |
void run(); | |
signals: | |
void error(QTcpSocket::SocketError socketError); | |
private: | |
int socketDescriptor; | |
QString text; | |
}; | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment