diff options
Diffstat (limited to 'c++-libbu++/src/gatscon/connectdlg.cpp')
-rw-r--r-- | c++-libbu++/src/gatscon/connectdlg.cpp | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/c++-libbu++/src/gatscon/connectdlg.cpp b/c++-libbu++/src/gatscon/connectdlg.cpp index 589ae97..0bb159b 100644 --- a/c++-libbu++/src/gatscon/connectdlg.cpp +++ b/c++-libbu++/src/gatscon/connectdlg.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 "connectdlg.h" | 8 | #include "connectdlg.h" |
2 | 9 | ||
3 | ConnectDlg::ConnectDlg( QWidget *pParent ) : | 10 | ConnectDlg::ConnectDlg( QWidget *pParent ) : |
4 | QDialog( pParent ) | 11 | QDialog( pParent ) |
5 | { | 12 | { |
6 | setupUi( this ); | 13 | setupUi( this ); |
7 | } | 14 | } |
8 | 15 | ||
9 | ConnectDlg::~ConnectDlg() | 16 | ConnectDlg::~ConnectDlg() |
@@ -12,11 +19,11 @@ ConnectDlg::~ConnectDlg() | |||
12 | 19 | ||
13 | QByteArray ConnectDlg::getHostname() const | 20 | QByteArray ConnectDlg::getHostname() const |
14 | { | 21 | { |
15 | return leHost->text().toAscii(); | 22 | return leHost->text().toAscii(); |
16 | } | 23 | } |
17 | 24 | ||
18 | int ConnectDlg::getPort() const | 25 | int ConnectDlg::getPort() const |
19 | { | 26 | { |
20 | return sbPort->value(); | 27 | return sbPort->value(); |
21 | } | 28 | } |
22 | 29 | ||