aboutsummaryrefslogtreecommitdiff
path: root/c++-libbu++/src/gatscon/setupproxydlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c++-libbu++/src/gatscon/setupproxydlg.cpp')
-rw-r--r--c++-libbu++/src/gatscon/setupproxydlg.cpp17
1 files changed, 12 insertions, 5 deletions
diff --git a/c++-libbu++/src/gatscon/setupproxydlg.cpp b/c++-libbu++/src/gatscon/setupproxydlg.cpp
index 7c7a873..6d80683 100644
--- a/c++-libbu++/src/gatscon/setupproxydlg.cpp
+++ b/c++-libbu++/src/gatscon/setupproxydlg.cpp
@@ -1,9 +1,16 @@
1/*
2 * Copyright (C) 2007-2012 Xagasoft, All rights reserved.
3 *
4 * This file is part of the libgats library and is released under the
5 * terms of the license contained in the file LICENSE.
6 */
7
1#include "setupproxydlg.h" 8#include "setupproxydlg.h"
2 9
3SetupProxyDlg::SetupProxyDlg( QWidget *pParent ) : 10SetupProxyDlg::SetupProxyDlg( QWidget *pParent ) :
4 QDialog( pParent ) 11 QDialog( pParent )
5{ 12{
6 setupUi( this ); 13 setupUi( this );
7} 14}
8 15
9SetupProxyDlg::~SetupProxyDlg() 16SetupProxyDlg::~SetupProxyDlg()
@@ -12,16 +19,16 @@ SetupProxyDlg::~SetupProxyDlg()
12 19
13int SetupProxyDlg::getPortIn() const 20int SetupProxyDlg::getPortIn() const
14{ 21{
15 return sbPortIn->value(); 22 return sbPortIn->value();
16} 23}
17 24
18QByteArray SetupProxyDlg::getHostOut() const 25QByteArray SetupProxyDlg::getHostOut() const
19{ 26{
20 return leHostOut->text().toAscii(); 27 return leHostOut->text().toAscii();
21} 28}
22 29
23int SetupProxyDlg::getPortOut() const 30int SetupProxyDlg::getPortOut() const
24{ 31{
25 return sbPortOut->value(); 32 return sbPortOut->value();
26} 33}
27 34