From 02c60c6720f41bcfc367d02ae4c655b651642991 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 16 May 2011 20:51:20 +0000 Subject: 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. --- src/gatscon/connectdlg.cpp | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/gatscon/connectdlg.cpp (limited to 'src/gatscon/connectdlg.cpp') 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 @@ +#include "connectdlg.h" + +ConnectDlg::ConnectDlg( QWidget *pParent ) : + QDialog( pParent ) +{ + setupUi( this ); +} + +ConnectDlg::~ConnectDlg() +{ +} + +QByteArray ConnectDlg::getHostname() const +{ + return leHost->text().toAscii(); +} + +int ConnectDlg::getPort() const +{ + return sbPort->value(); +} + -- cgit v1.2.3