diff options
Diffstat (limited to 'kppp/modemdb.cpp')
-rw-r--r-- | kppp/modemdb.cpp | 12 |
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; |