diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 6335dc55802871b5a43492f217b6edbb420204c4 (patch) | |
tree | 50c6c8672a52687568edea475614dfe3d98e62e5 /kgpg/keyinfowidget.cpp | |
parent | 9b8c9f1f9e974ff0176108cfbd8852cd99ea68c8 (diff) | |
download | tdeutils-6335dc55802871b5a43492f217b6edbb420204c4.tar.gz tdeutils-6335dc55802871b5a43492f217b6edbb420204c4.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kgpg/keyinfowidget.cpp')
-rw-r--r-- | kgpg/keyinfowidget.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kgpg/keyinfowidget.cpp b/kgpg/keyinfowidget.cpp index 1264673..50584b7 100644 --- a/kgpg/keyinfowidget.cpp +++ b/kgpg/keyinfowidget.cpp @@ -188,7 +188,7 @@ TQString gpgcmd="gpg --no-tty --no-secmem-warning --with-colon --with-fingerprin break; } - if (gpgOutput.section(':',11,11).tqfind("D",0,true)!=-1) // disabled key + if (gpgOutput.section(':',11,11).find("D",0,true)!=-1) // disabled key { tr=i18n("Disabled"); trustColor=KGpgSettings::colorBad(); @@ -241,15 +241,15 @@ TQString gpgcmd="gpg --no-tty --no-secmem-warning --with-colon --with-fingerprin } prop->kCOwnerTrust->setCurrentItem(ownerTrust); - if (fullname.tqfind("<")!=-1) { + if (fullname.find("<")!=-1) { TQString kmail=fullname; - if (fullname.tqfind(")")!=-1) + if (fullname.find(")")!=-1) kmail=kmail.section(')',1); kmail=kmail.section('<',1); kmail.truncate(kmail.length()-1); - if (kmail.tqfind("<")!=-1) //////// several email addresses in the same key + if (kmail.find("<")!=-1) //////// several email addresses in the same key { - kmail=kmail.tqreplace(">",";"); + kmail=kmail.replace(">",";"); kmail.remove("<"); } prop->tLMail->setText("<qt><a href=mailto:"+kmail+">"+kmail+"</a></qt>"); @@ -257,7 +257,7 @@ TQString gpgcmd="gpg --no-tty --no-secmem-warning --with-colon --with-fingerprin prop->tLMail->setText(i18n("none")); TQString kname=fullname.section('<',0,0); - if (fullname.tqfind("(")!=-1) { + if (fullname.find("(")!=-1) { kname=kname.section('(',0,0); TQString comment=fullname.section('(',1,1); comment=comment.section(')',0,0); @@ -265,7 +265,7 @@ TQString gpgcmd="gpg --no-tty --no-secmem-warning --with-colon --with-fingerprin } else prop->tLComment->setText(i18n("none")); - prop->tLName->setText("<qt><b>"+KgpgInterface::checkForUtf8(kname).tqreplace(TQRegExp("<"),"<")+"</b></qt>"); + prop->tLName->setText("<qt><b>"+KgpgInterface::checkForUtf8(kname).replace(TQRegExp("<"),"<")+"</b></qt>"); } if (gpgOutput.startsWith("fpr") && (fingervalue.isNull())) { @@ -332,7 +332,7 @@ void KgpgKeyInfo::finishphotoreadprocess(KProcIO *p) { TQString required=TQString(); while (p->readln(required,true)!=-1) - if (required.tqfind("keyedit.prompt")!=-1) { + if (required.find("keyedit.prompt")!=-1) { p->writeStdin(TQString("quit")); p->closeWhenDone(); |