diff options
author | Mike Buland <eichlan@xagasoft.com> | 2012-11-09 16:25:22 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2012-11-09 16:25:22 +0000 |
commit | 74dd68ad611d15abf16a65c36a7cfd3f4492930a (patch) | |
tree | 843fed9ba6bb03253a01314afc3b1dfbb2dfd26c /c++-libbu++/src/gatscon/connectdlg.cpp | |
parent | d9b407475ae3ebe434b29d9eabdd7d4416e17881 (diff) | |
download | libgats-74dd68ad611d15abf16a65c36a7cfd3f4492930a.tar.gz libgats-74dd68ad611d15abf16a65c36a7cfd3f4492930a.tar.bz2 libgats-74dd68ad611d15abf16a65c36a7cfd3f4492930a.tar.xz libgats-74dd68ad611d15abf16a65c36a7cfd3f4492930a.zip |
Made the repo less libbu++-centric.
Diffstat (limited to 'c++-libbu++/src/gatscon/connectdlg.cpp')
-rw-r--r-- | c++-libbu++/src/gatscon/connectdlg.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/c++-libbu++/src/gatscon/connectdlg.cpp b/c++-libbu++/src/gatscon/connectdlg.cpp new file mode 100644 index 0000000..589ae97 --- /dev/null +++ b/c++-libbu++/src/gatscon/connectdlg.cpp | |||
@@ -0,0 +1,22 @@ | |||
1 | #include "connectdlg.h" | ||
2 | |||
3 | ConnectDlg::ConnectDlg( QWidget *pParent ) : | ||
4 | QDialog( pParent ) | ||
5 | { | ||
6 | setupUi( this ); | ||
7 | } | ||
8 | |||
9 | ConnectDlg::~ConnectDlg() | ||
10 | { | ||
11 | } | ||
12 | |||
13 | QByteArray ConnectDlg::getHostname() const | ||
14 | { | ||
15 | return leHost->text().toAscii(); | ||
16 | } | ||
17 | |||
18 | int ConnectDlg::getPort() const | ||
19 | { | ||
20 | return sbPort->value(); | ||
21 | } | ||
22 | |||