diff options
Diffstat (limited to 'kppp/pppdata.cpp')
-rw-r--r-- | kppp/pppdata.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kppp/pppdata.cpp b/kppp/pppdata.cpp index 2c43d7f7..e856dd2c 100644 --- a/kppp/pppdata.cpp +++ b/kppp/pppdata.cpp @@ -300,12 +300,12 @@ void PPPData::set_redial_on_nocarrier(bool set) { bool PPPData::quit_on_disconnect() { - return (bool) readNumConfig(GENERAL_GRP, QUITONDISCONNECT_KEY, false); + return (bool) readNumConfig(GENERAL_GRP, TQUITONDISCONNECT_KEY, false); } void PPPData::set_quit_on_disconnect(bool set) { - writeConfig(GENERAL_GRP, QUITONDISCONNECT_KEY, (int) set); + writeConfig(GENERAL_GRP, TQUITONDISCONNECT_KEY, (int) set); } @@ -350,7 +350,7 @@ void PPPData::set_dock_into_panel(bool set) { TQString PPPData::pppdVersion() { - return TQString("%1.%2.%3").arg(pppdVer).arg(pppdMod).arg(pppdPatch); + return TQString("%1.%2.%3").tqarg(pppdVer).tqarg(pppdMod).tqarg(pppdPatch); } bool PPPData::pppdVersionMin(int ver, int mod, int patch) { @@ -498,7 +498,7 @@ int PPPData::copymodem(int i) { TQMap <TQString, TQString> map = config->entryMap(cmodemgroup); TQMap <TQString, TQString>::ConstIterator it = map.begin(); - TQString newname = i18n("%1_copy").arg(modname()); + TQString newname = i18n("%1_copy").tqarg(modname()); newmodem(); @@ -929,7 +929,7 @@ bool PPPData::setAccountByIndex(int i) { bool PPPData::isUniqueAccname(const TQString &n) { - if(n.contains(':')) + if(n.tqcontains(':')) return false; int current = caccount; for(int i=0; i <= accounthighcount; i++) { @@ -1026,7 +1026,7 @@ int PPPData::copyaccount(int i) { TQMap <TQString, TQString> map = config->entryMap(caccountgroup); TQMap <TQString, TQString>::ConstIterator it = map.begin(); - TQString newname = i18n("%1_copy").arg(accname()); + TQString newname = i18n("%1_copy").tqarg(accname()); newaccount(); @@ -1199,12 +1199,12 @@ void PPPData::setIpaddr(const TQString &n) { } -const TQString PPPData::subnetmask() { +const TQString PPPData::subnettqmask() { return readConfig(caccountgroup, SUBNETMASK_KEY); } -void PPPData::setSubnetmask(const TQString &n) { +void PPPData::setSubnettqmask(const TQString &n) { writeConfig(caccountgroup, SUBNETMASK_KEY, n); } @@ -1418,13 +1418,13 @@ void PPPData::graphingOptions(bool &enable, if(config) { config->setGroup(GRAPH_GRP); enable = config->readBoolEntry(GENABLED, true); - c = Qt::white; + c = TQt::white; bg = config->readColorEntry(GCOLOR_BG, &c); - c = Qt::black; + c = TQt::black; text = config->readColorEntry(GCOLOR_TEXT, &c); - c = Qt::blue; + c = TQt::blue; in = config->readColorEntry(GCOLOR_IN, &c); - c = Qt::red; + c = TQt::red; out = config->readColorEntry(GCOLOR_OUT, &c); } } |