diff options
author | Mike Buland <eichlan@xagasoft.com> | 2011-05-17 04:18:13 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2011-05-17 04:18:13 +0000 |
commit | 6aefa6632023c99c5b91bae0e099df94fa69d890 (patch) | |
tree | 6ac83b347cc70dca827c887f0046924dabec042d /src/gatscon/setupproxydlg.cpp | |
parent | efcbdb7a0347b4399cbabacf3cbea432eeafb17b (diff) | |
download | libgats-6aefa6632023c99c5b91bae0e099df94fa69d890.tar.gz libgats-6aefa6632023c99c5b91bae0e099df94fa69d890.tar.bz2 libgats-6aefa6632023c99c5b91bae0e099df94fa69d890.tar.xz libgats-6aefa6632023c99c5b91bae0e099df94fa69d890.zip |
GatsCon now supports proxying, and way better than qtbenc ever did. Not only
does it proxy, but you can inject your own messages going to the client or host.
Pretty slick, really. Next up, reading and creating files.
Diffstat (limited to 'src/gatscon/setupproxydlg.cpp')
-rw-r--r-- | src/gatscon/setupproxydlg.cpp | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/gatscon/setupproxydlg.cpp b/src/gatscon/setupproxydlg.cpp new file mode 100644 index 0000000..7c7a873 --- /dev/null +++ b/src/gatscon/setupproxydlg.cpp | |||
@@ -0,0 +1,27 @@ | |||
1 | #include "setupproxydlg.h" | ||
2 | |||
3 | SetupProxyDlg::SetupProxyDlg( QWidget *pParent ) : | ||
4 | QDialog( pParent ) | ||
5 | { | ||
6 | setupUi( this ); | ||
7 | } | ||
8 | |||
9 | SetupProxyDlg::~SetupProxyDlg() | ||
10 | { | ||
11 | } | ||
12 | |||
13 | int SetupProxyDlg::getPortIn() const | ||
14 | { | ||
15 | return sbPortIn->value(); | ||
16 | } | ||
17 | |||
18 | QByteArray SetupProxyDlg::getHostOut() const | ||
19 | { | ||
20 | return leHostOut->text().toAscii(); | ||
21 | } | ||
22 | |||
23 | int SetupProxyDlg::getPortOut() const | ||
24 | { | ||
25 | return sbPortOut->value(); | ||
26 | } | ||
27 | |||