diff options
Diffstat (limited to 'lanbrowsing/kcmlisa/findnic.h')
-rw-r--r-- | lanbrowsing/kcmlisa/findnic.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/lanbrowsing/kcmlisa/findnic.h b/lanbrowsing/kcmlisa/findnic.h index 01140bcc..bff0aabb 100644 --- a/lanbrowsing/kcmlisa/findnic.h +++ b/lanbrowsing/kcmlisa/findnic.h @@ -21,8 +21,8 @@ #ifndef FINDNIC_H #define FINDNIC_H -#include <qptrlist.h> -#include <qstring.h> +#include <tqptrlist.h> +#include <tqstring.h> #include <sys/types.h> #include <netinet/in.h> @@ -30,20 +30,20 @@ struct MyNIC { - QString name; - QString addr; - QString netmask; - QString state; - QString type; + TQString name; + TQString addr; + TQString netmask; + TQString state; + TQString type; }; struct LisaConfigInfo { LisaConfigInfo(); void clear(); - QString pingAddresses; - QString broadcastNetwork; - QString allowedAddresses; + TQString pingAddresses; + TQString broadcastNetwork; + TQString allowedAddresses; int secondWait; bool secondScan; int firstWait; @@ -54,7 +54,7 @@ struct LisaConfigInfo }; -typedef QPtrList<MyNIC> NICList; +typedef TQPtrList<MyNIC> NICList; //some plain C-like helper functions @@ -63,7 +63,7 @@ NICList* findNICs(); ///Enter some settings into lci which might be appropriate for nic void suggestSettingsForNic(MyNIC* nic, LisaConfigInfo& lci); -void suggestSettingsForAddress(const QString& addrMask, LisaConfigInfo& lci); +void suggestSettingsForAddress(const TQString& addrMask, LisaConfigInfo& lci); #endif |