summaryrefslogtreecommitdiffstats
path: root/lib/plugin.cc
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
commit539a35866f0bac8f00e493654d4a8ec6863726e2 (patch)
tree8991e5472fe88379787cafa85542d94706bd6fa4 /lib/plugin.cc
parent45598e35650c5806ecf2d684afeeb0da41c3ff6b (diff)
downloadkpilot-539a35866f0bac8f00e493654d4a8ec6863726e2.tar.gz
kpilot-539a35866f0bac8f00e493654d4a8ec6863726e2.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kpilot@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/plugin.cc')
-rw-r--r--lib/plugin.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/plugin.cc b/lib/plugin.cc
index 98c110d..0149a85 100644
--- a/lib/plugin.cc
+++ b/lib/plugin.cc
@@ -138,7 +138,7 @@ TQWidget *ConduitConfigBase::aboutPage(TQWidget *tqparent, KAboutData *ad)
}
text = new TQLabel(w);
- // Experiment with a long non-<qt> string. Use that to tqfind
+ // Experiment with a long non-<qt> string. Use that to find
// sensible widths for the columns.
//
text->setText(i18n("Send questions and comments to kdepim-users@kde.org"));
@@ -294,7 +294,7 @@ ConduitAction::ConduitAction(KPilotLink *p,
if (cResolution.isEmpty())
{
fConflictResolution=(SyncAction::ConflictResolution)
- cResolution.tqreplace(TQRegExp(CSL1("--conflictResolution (\\d*)")), CSL1("\\1")).toInt();
+ cResolution.replace(TQRegExp(CSL1("--conflictResolution (\\d*)")), CSL1("\\1")).toInt();
}
for (TQStringList::ConstIterator it = args.begin();
@@ -340,7 +340,7 @@ bool ConduitAction::openDatabases(const TQString &name, bool *retrieved)
// we always want to use the conduits/ directory for our local
// databases. this keeps our backups and data that our conduits use
// for record keeping separate
- localPathName.tqreplace(CSL1("DBBackup/"), CSL1("conduits/"));
+ localPathName.replace(CSL1("DBBackup/"), CSL1("conduits/"));
DEBUGKPILOT << fname << ": localPathName: [" << localPathName
<< "]" << endl;
@@ -683,7 +683,7 @@ TQString findArgument(const TQStringList &a, const TQString &arg)
{
DCOPClient *dcop = KApplication::kApplication()->dcopClient();
QCStringList apps = dcop->registeredApplications();
- return apps.tqcontains(n);
+ return apps.contains(n);
}