rename the following methods:

tqfind find
tqreplace replace
tqcontains contains


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/knetload@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 13 years ago
parent e72017be3c
commit 696a3ab6ed

@ -54,13 +54,13 @@ KNetLoad::KNetLoad(TQWidget *tqparent, const char *name) :
if ( *it == "lo" ) {
stockDeviceIconOn.push_back("devloon");
stockDeviceIconOff.push_back("devlo");
} else if ( (*it).tqfind("eth") == 0 ) {
} else if ( (*it).find("eth") == 0 ) {
stockDeviceIconOn.push_back("deveth0on");
stockDeviceIconOff.push_back("deveth0");
} else if ( (*it).tqfind("ppp") == 0 ) {
} else if ( (*it).find("ppp") == 0 ) {
stockDeviceIconOn.push_back("devppp0on");
stockDeviceIconOff.push_back("devppp0");
} else if ( (*it).tqfind("ippp") == 0 ) {
} else if ( (*it).find("ippp") == 0 ) {
stockDeviceIconOn.push_back("devippp0on");
stockDeviceIconOff.push_back("devippp0");
} else {

Loading…
Cancel
Save