summaryrefslogtreecommitdiffstats
path: root/kdeprint/rlpr
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
commit6e21bc798ba1066147d69dcc2d5c222ffafb9a90 (patch)
tree36613dfe2f86f8ccb96a30f3880507341228eeb0 /kdeprint/rlpr
parent1e9fe867b0def399c63c42f35e83c3575e91ff83 (diff)
downloadtdelibs-6e21bc798ba1066147d69dcc2d5c222ffafb9a90.tar.gz
tdelibs-6e21bc798ba1066147d69dcc2d5c222ffafb9a90.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeprint/rlpr')
-rw-r--r--kdeprint/rlpr/kmrlprmanager.cpp2
-rw-r--r--kdeprint/rlpr/kmwrlpr.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/kdeprint/rlpr/kmrlprmanager.cpp b/kdeprint/rlpr/kmrlprmanager.cpp
index 3a5460dda..467f6c58e 100644
--- a/kdeprint/rlpr/kmrlprmanager.cpp
+++ b/kdeprint/rlpr/kmrlprmanager.cpp
@@ -59,7 +59,7 @@ bool KMRlprManager::createPrinter(KMPrinter *p)
bool KMRlprManager::removePrinter(KMPrinter *p)
{
- if (m_printers.tqfindRef(p) == -1)
+ if (m_printers.findRef(p) == -1)
setErrorMsg(i18n("Printer not found."));
else
{
diff --git a/kdeprint/rlpr/kmwrlpr.cpp b/kdeprint/rlpr/kmwrlpr.cpp
index 5e87be982..2f1d8b076 100644
--- a/kdeprint/rlpr/kmwrlpr.cpp
+++ b/kdeprint/rlpr/kmwrlpr.cpp
@@ -140,7 +140,7 @@ void KMWRlpr::initialize()
line = t.readLine().stripWhiteSpace();
if (line.isEmpty())
continue;
- if ((p=line.tqfind(':')) != -1)
+ if ((p=line.find(':')) != -1)
{
host = line.left(p).stripWhiteSpace();
TQListViewItem *hitem = new TQListViewItem(m_view,host);
@@ -180,7 +180,7 @@ void KMWRlpr::initialize()
}
if (buffer.isEmpty())
continue;
- int p = buffer.tqfind(':');
+ int p = buffer.find(':');
if (p != -1)
{
TQString name = buffer.left(p);