aboutsummaryrefslogtreecommitdiff
path: root/c++-libbu++/src/gatscon/connectdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c++-libbu++/src/gatscon/connectdlg.cpp')
-rw-r--r--c++-libbu++/src/gatscon/connectdlg.cpp15
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
3ConnectDlg::ConnectDlg( QWidget *pParent ) : 10ConnectDlg::ConnectDlg( QWidget *pParent ) :
4 QDialog( pParent ) 11 QDialog( pParent )
5{ 12{
6 setupUi( this ); 13 setupUi( this );
7} 14}
8 15
9ConnectDlg::~ConnectDlg() 16ConnectDlg::~ConnectDlg()
@@ -12,11 +19,11 @@ ConnectDlg::~ConnectDlg()
12 19
13QByteArray ConnectDlg::getHostname() const 20QByteArray ConnectDlg::getHostname() const
14{ 21{
15 return leHost->text().toAscii(); 22 return leHost->text().toAscii();
16} 23}
17 24
18int ConnectDlg::getPort() const 25int ConnectDlg::getPort() const
19{ 26{
20 return sbPort->value(); 27 return sbPort->value();
21} 28}
22 29