/*************************************************************************** networkdlg ------------------- begin : March 2000 copyright : (C) 1995-2000 by Martin Heni email : martin@heni-online.de ***************************************************************************/ /*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/ #ifndef __NETWORKDLG_H_ #define __NETWORKDLG_H_ #include //#include //#include //#include //#include #include #include //#include #include //#include //#include //#include //#include //#include #include class NetworkDlg : public QDialog { Q_OBJECT public: NetworkDlg (QWidget* parent = NULL,const char* name = NULL,const char *sufi=NULL); void SetHost(QString s); void SetPort(unsigned short port); unsigned short QueryPort(); QString QueryHost(); protected slots: void accept(); protected: KConfig *config; KApplication *app; QLineEdit *PortEdit; // QLineEdit *SPortEdit; QLineEdit *IPEdit; }; #endif