diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2011-05-16 20:51:20 +0000 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2011-05-16 20:51:20 +0000 |
| commit | 02c60c6720f41bcfc367d02ae4c655b651642991 (patch) | |
| tree | bbda9db56f71c846e5712bcbf44a52f475795f0a /src/gatscon/connectdlg.cpp | |
| parent | 09e3102ffba4b9ee11d988f95c04d344790127db (diff) | |
| download | libgats-02c60c6720f41bcfc367d02ae4c655b651642991.tar.gz libgats-02c60c6720f41bcfc367d02ae4c655b651642991.tar.bz2 libgats-02c60c6720f41bcfc367d02ae4c655b651642991.tar.xz libgats-02c60c6720f41bcfc367d02ae4c655b651642991.zip | |
Almost there! I'm adding a qtbenc-like program for gats, only cooler. It'll
really help us debug gats based protocols and look at gats files, and the like.
Diffstat (limited to 'src/gatscon/connectdlg.cpp')
| -rw-r--r-- | src/gatscon/connectdlg.cpp | 22 |
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 | |||
| 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 | |||
