summaryrefslogtreecommitdiffstats
path: root/kppp/modemdb.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit937b2991d8e78166eea904c80ad04d34607017a4 (patch)
tree2accb8161eab09df5d7a5484ea9ea080ad123168 /kppp/modemdb.cpp
parentdba26cb985af370c33d1767037851705cc561726 (diff)
downloadtdenetwork-937b2991d8e78166eea904c80ad04d34607017a4.tar.gz
tdenetwork-937b2991d8e78166eea904c80ad04d34607017a4.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kppp/modemdb.cpp')
-rw-r--r--kppp/modemdb.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kppp/modemdb.cpp b/kppp/modemdb.cpp
index 74488dca..4da23213 100644
--- a/kppp/modemdb.cpp
+++ b/kppp/modemdb.cpp
@@ -152,7 +152,7 @@ TQStringList *ModemDatabase::models(TQString vendor) {
for(uint i = 0; i < modems.count(); i++) {
CharDict *dict = modems.at(i);
- if(dict->tqfind("Vendor") != 0) {
+ if(dict->find("Vendor") != 0) {
if(vendor == *(*dict)["Vendor"] && (*(*dict)["Name"]).at(0) != '!')
sl->append(*(*dict)["Name"]);
}
@@ -179,7 +179,7 @@ void ModemDatabase::loadModem(const TQString &key, CharDict &dict) {
// e = it->current();
while(!it.key().isNull()) {
- if(dict.tqfind(it.key()) == 0) {
+ if(dict.find(it.key()) == 0) {
dict.insert(it.key(), new TQString(it.data()));
}
it++;
@@ -187,7 +187,7 @@ void ModemDatabase::loadModem(const TQString &key, CharDict &dict) {
// check name attribute
if(dict["Name"] == 0 || key[0]=='!') {
- dict.tqreplace("Name", new TQString(key));
+ dict.replace("Name", new TQString(key));
}
// check tqparent attribute
@@ -217,16 +217,16 @@ void ModemDatabase::load() {
// if(strcmp(it->latin1(), "Common") == 0) {
if(*it == "Common") {
TQString s = i18n("Hayes(tm) compatible modem");
- c->tqreplace("Name", new TQString (s));
+ c->replace("Name", new TQString (s));
s = i18n("<Generic>");
- c->tqreplace("Vendor", new TQString(s));
+ c->replace("Vendor", new TQString(s));
}
modems.append(c);
if(modemDB->hasKey("Vendor")) {
TQString vendor = modemDB->readEntry("Vendor");
- if(lvendors->tqfindIndex(vendor) == -1)
+ if(lvendors->findIndex(vendor) == -1)
lvendors->append(vendor);
}
++it;