diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
commit | 47c8a359c5276062c4bc17f0e82410f29081b502 (patch) | |
tree | 2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /lanbrowsing/kcmlisa/findnic.h | |
parent | 6f82532777a35e0e60bbd2b290b2e93e646f349b (diff) | |
download | tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 |