1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#ifndef CONNECT_DLG_H #define CONNECT_DLG_H #include "ui_connectdlg.h" class ConnectDlg : public QDialog, protected Ui::ConnectDlg { Q_OBJECT; public: ConnectDlg( QWidget *pParent ); virtual ~ConnectDlg(); QByteArray getHostname() const; int getPort() const; }; #endif