From 539a35866f0bac8f00e493654d4a8ec6863726e2 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/applications/kpilot@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- lib/plugin.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/plugin.cc') 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- string. Use that to tqfind + // Experiment with a long non- 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); } -- cgit v1.2.1