#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(); }