/* * Copyright (C) 2007-2012 Xagasoft, All rights reserved. * * This file is part of the libgats library and is released under the * terms of the license contained in the file LICENSE. */ #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(); }