aboutsummaryrefslogtreecommitdiff
path: root/src/gatscon/connectdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gatscon/connectdlg.cpp')
-rw-r--r--src/gatscon/connectdlg.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/gatscon/connectdlg.cpp b/src/gatscon/connectdlg.cpp
new file mode 100644
index 0000000..589ae97
--- /dev/null
+++ b/src/gatscon/connectdlg.cpp
@@ -0,0 +1,22 @@
1#include "connectdlg.h"
2
3ConnectDlg::ConnectDlg( QWidget *pParent ) :
4 QDialog( pParent )
5{
6 setupUi( this );
7}
8
9ConnectDlg::~ConnectDlg()
10{
11}
12
13QByteArray ConnectDlg::getHostname() const
14{
15 return leHost->text().toAscii();
16}
17
18int ConnectDlg::getPort() const
19{
20 return sbPort->value();
21}
22