20 #ifndef KMWSOCKETUTIL_H
21 #define KMWSOCKETUTIL_H
24 #include <tqptrlist.h>
25 #include <kdialogbase.h>
39 class SocketConfig :
public KDialogBase
41 friend class KMWSocketUtil;
44 SocketConfig(KMWSocketUtil *util, TQWidget *parent = 0,
const char *name = 0);
51 TQLineEdit *mask_, *tout_;
57 friend class SocketConfig;
62 bool checkPrinter(
const TQString& host,
int port, TQString* hostname = 0);
64 const TQPtrList<SocketInfo>* printerList() {
return &printerlist_; }
65 bool scanNetwork(TQProgressBar *bar = 0);
66 void configureScan(TQWidget *parent = 0);
67 void setDefaultPort(
int p) { port_ = p; }
70 TQPtrList<SocketInfo> printerlist_;