forked from AlloyTeam/Rythem
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcomposer.h
More file actions
44 lines (31 loc) · 795 Bytes
/
Copy pathcomposer.h
File metadata and controls
44 lines (31 loc) · 795 Bytes
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#ifndef COMPOSER_H
#define COMPOSER_H
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#endif
#include <QWidget>
#include <QtGui>
#include <QtNetwork>
#include "proxy/rypipedata.h"
namespace Ui {
class Composer;
}
class Composer : public QWidget
{
Q_OBJECT
public:
explicit Composer(QWidget *parent = 0);
~Composer();
void setupProxy(QString host,qint16 port);
protected:
void dragEnterEvent(QDragEnterEvent *event);
void dropEvent(QDropEvent *event);
private:
Ui::Composer *ui;
QNetworkAccessManager *manager;
RyPipeData_ptr pipeData;
private slots:
void onFinished(QNetworkReply *);
void onSendClicked();
};
#endif // COMPOSER_H