From da4be7880ff1de6415ab6256afd2514e64f5fa2e Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: rename the following methods: tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdvi/infodialog.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kdvi/infodialog.cpp') diff --git a/kdvi/infodialog.cpp b/kdvi/infodialog.cpp index b287a390..3e2bbf16 100644 --- a/kdvi/infodialog.cpp +++ b/kdvi/infodialog.cpp @@ -89,7 +89,7 @@ void infoDialog::setFontInfo(fontPool *fp) void infoDialog::outputReceiver(const TQString& _op) { TQString op = _op; - op = op.tqreplace( TQRegExp("<"), "<" ); + op = op.replace( TQRegExp("<"), "<" ); if (MFOutputReceived == false) { TextLabel3->setText(""+headline+"
"); @@ -99,7 +99,7 @@ void infoDialog::outputReceiver(const TQString& _op) // It seems that the TQTextView wants that we append only full lines. // We see to that. pool = pool+op; - int idx = pool.tqfindRev("\n"); + int idx = pool.findRev("\n"); while(idx != -1) { TQString line = pool.left(idx); @@ -108,9 +108,9 @@ void infoDialog::outputReceiver(const TQString& _op) // If the Output of the kpsewhich program contains a line starting // with "kpathsea:", this means that a new MetaFont-run has been // started. We filter these lines out and print them in boldface. - int startlineindex = line.tqfind("kpathsea:"); + int startlineindex = line.find("kpathsea:"); if (startlineindex != -1) { - int endstartline = line.tqfind("\n",startlineindex); + int endstartline = line.find("\n",startlineindex); TQString startLine = line.mid(startlineindex,endstartline-startlineindex); if (MFOutputReceived) TextLabel3->append("
\n"+startLine+""); @@ -119,7 +119,7 @@ void infoDialog::outputReceiver(const TQString& _op) TextLabel3->append(line.mid(endstartline)); } else TextLabel3->append(line); - idx = pool.tqfindRev("\n"); + idx = pool.findRev("\n"); } MFOutputReceived = true; -- cgit v1.2.3